Long distance code/PIN (early audio?)

Hi,

Using Asterisk 1.8.4 on CentOS with all latest patches.

I just rolled this out today and our telco uses 4 digit PINs to dial long distance, but we are not receiving the prompt to enter them (the prompt is a long tone).

Any idea what I need to do to resolve this?

Let me know what additional information is needed.

Thanks!


chan_dahdi.conf:

[trunkgroups]

[channels]
switchtype = national

context = from-pstn
signalling = pri_cpe
group = 0
channel => 1-23
hidecalleridname = no
usecallerid=yes
callerid=asreceived
callprogress=yes
facilityenable = yes
echocancel=yes
overlapdial=yes
transfer=yes
threewaycalling=yes
cancallforward=yes
useincomingcalleridondahditransfer=yes
immediate=no
pridialplan=unknown
prilocaldialplan=unknown

context = from-internal
signalling = pri_net
group = 1
channel => 25-47
hidecalleridname = no
usecallerid=yes
callerid=asreceived
callprogress=yes
facilityenable = yes
echocancel=yes
overlapdial=yes
transfer=yes
threewaycalling=yes
cancallforward=yes
useincomingcalleridondahditransfer=yes
immediate=no
pridialplan=unknown
prilocaldialplan=unknown

context = from-zaptel
signalling = fxs_ks
group = 2
channel => 49-56
immediate = yes
inbanddisconnect=yes

it seems my issue has to do with early audio sent from the telco, but I cannot figure out how to get it working. Also, I suddenly have to generate ringing on outbound calls, which was not an issue during testing (though, I have updated to 1.8 during testing as well). The ringing may be related as well.

Any help would be greatly appreciated.

Let me know if someone figures this out for you…I have a similar issue where I need to program in adding a LD code after a # send for dialing a long distance number on follow-me…it’s related to your issue but not exactly the same.

I believe that it is related to a bug in sig_pri.c and there is a patch available. I actually downgraded to 1.6 and will be testing this week. It worked before I upgraded to 1.8, so I’m expecting this to resolve my issue.

If you are providing ringing on outbound calls, I don’t believe you will ever hear the tone from the telco. I do not claim to be an expert though.

Patch I am referring to is: https://issues.asterisk.org/view.php?id=19268