Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




64 posts

Master Geek
+1 received by user: 1


Topic # 139004 24-Jan-2014 15:45 Send private message

So I've got asterisk and the spa3102 PSTN working well together. Outoging phone calls from an asterisk extension go out through the SPA3102 PSTN line to telecom, and incoming calls from Telecom through the SPA3102 PSNT go to the asterisk extensions. Hangups and disconnects work fine.

But that voicemail! If the incoming telecom PSTN caller hangs up before voicemail engages, the call gets disconnected fine. But once voicemail kicks in... it hangs on to the line for at least 45 seconds after the caller hanges up. The SPA3102 PSTN line stays "offhook" for the duration. Can anyone shed some light on what may be the problem? I've googled and googled this but can't pinpoint the problem.

SIP settings...
[pstn-spa3102]
type = friend
auth = md5
host = dynamic
port = 5061
username = pstn-spa3102
secret = xxxxx
fromuser = pstn-spa3102
disallow = all
allow = alaw
allow = ulaw
dtmfmode = rfc2833
context = incoming
insecure = invite,port

SPA3102 PSTN line settings...



Filter this topic showing only the reply marked as answer Create new topic
2092 posts

Uber Geek
+1 received by user: 359

Subscriber

  Reply # 973669 24-Jan-2014 16:37 Send private message

You need to have 'Clear forward & Answer Reversal' added to your line.

This is only an option on business lines. Last time I tried to get that added to a residential account they wouldn't do it. I am pretty sure that is the case with any provider and not just Telecom too.

20112 posts

Uber Geek
+1 received by user: 1692

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 973679 24-Jan-2014 16:48 Send private message

Yip it's not available on residential lines, only business.





64 posts

Master Geek
+1 received by user: 1


  Reply # 973686 24-Jan-2014 16:56 Send private message

Yeah... I did also try asking Telecom and they wouldn't do it. I used to use DAHDI and a TDM400 card and that seemed to work pretty well for voicemail disconnect. I'd maybe hear three "beeps" before it would disconnect the line. Can't seem to get to do the SPA3102 to do that.

20112 posts

Uber Geek
+1 received by user: 1692

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 973817 24-Jan-2014 21:12 Send private message

You can try adjusting the PSTN long silence detection (which is what it'll be using now) but will run the risk of call disconnects of legitimate calls.



64 posts

Master Geek
+1 received by user: 1


  Reply # 974894 27-Jan-2014 07:28 Send private message

I tried various PSTN silence detect settings, but they either diddn't disconnect the call or disconnected too aggressively.... but then SUCCESS.

Changing the Disconnect Tone setting on the SPA3102 to 425@-30,425@-30;2(.25/.25/.25/.25) as per the middle of this thread http://forum.voxilla.com/threads/disconnect-tone-tweaking-solution.2780/ works great. I previously had 400@-15;*5(.25/.25/1+2) which didn't work.



64 posts

Master Geek
+1 received by user: 1


  Reply # 975022 27-Jan-2014 12:03 Send private message

Further to my previous reply where I found that having 425@-30,425@-30;2(.25/.25/.25/.25) as the disconnect tone works for proper voicemail disconnect, I also found that 400@-30,400@-30;2(0.25/0.25/1+2) (from http://www.3amsystems.com/World_Tone_Database?q=New_Zealand,Disconnect_tone,Sipura) works. Further reading seems to indicate that the frequency needs to be specified twice, so I then tried 400@-15,400@-15;*5(.25/.25/1+2) (modifying sbiddle's original recommendation) and that one now works as well.

Although all three work (and I'm happy that voicemail disconnect works for me now), I don't really understand what each of these different settings actually mean, and which one I should really use as the Telecom "standard" disconnect tone.



64 posts

Master Geek
+1 received by user: 1


  Reply # 975226 27-Jan-2014 16:49 Send private message

I think that all three work because they basically follow about the same frequency (400 or 425) and on and off durations (0.25 seconds). 425 is close enough to 400 as I read somewhere that the spa3102 will take into consideration a 10% variance in the frequency. Anyone have any different views on how this works?

Filter this topic showing only the reply marked as answer Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

My un-consented UFB install
Created by thurthur, last reply by mdooher on 28-Nov-2014 18:57 (79 replies)
Pages... 4 5 6


This is the end ...
Created by joker97, last reply by davidcole on 28-Nov-2014 21:30 (53 replies)
Pages... 2 3 4


Gigatown winner town and plans
Created by freitasm, last reply by Demeter on 28-Nov-2014 08:59 (76 replies)
Pages... 4 5 6


Seen any good Black Friday / Cyber Monday deals?
Created by Jaxson, last reply by ckc on 28-Nov-2014 15:08 (24 replies)
Pages... 2


Gull Employment Dispute.
Created by networkn, last reply by richms on 28-Nov-2014 17:57 (153 replies)
Pages... 9 10 11


Stuff.co.nz hacked by Syrian electronic army?
Created by surfisup1000, last reply by dclegg on 28-Nov-2014 13:35 (17 replies)
Pages... 2


What the hell MyRepublic!?
Created by gished, last reply by pohutukawa on 28-Nov-2014 17:45 (16 replies)
Pages... 2


The Warehouse pulling R18 games and DVD's
Created by semigeek, last reply by Geektastic on 27-Nov-2014 18:32 (64 replies)
Pages... 3 4 5



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.