Unable to dialout 8 digit landline(home telephone) numbers

We have an ISDN PRI terminating to our asterisk machine. A SIP phone is also configured to register with asterisk. Local land line numbers in my city are 8 digits and mobile phone numbers are 10 digits.

When we try to make outbound calls from the SIP phone using the PRI, mobile phone numbers connect without any problem. But the 8 digit numbers never connect. Asterisk always gives one of the following two messages:



Executing Dial(“SIP/123-f7f4”, “Zap/g1/24103894|30|T”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called g1/24103894
– Zap/4-1 is proceeding passing it to SIP/123-f7f4
– Channel 0/4, span 1 got hangup request
– Hungup ‘Zap/4-1’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing PlayTones(“SIP/123-f7f4”, “busy”) in new stack
== Auto fallthrough, channel ‘SIP/123-f7f4’ status is ‘CHANUNAVAIL’



Executing Dial(“SIP/123-4d7e”, “Zap/g1/24690050|30|T”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called g1/24690050
– Zap/4-1 is proceeding passing it to SIP/123-4d7e
– Channel 0/4, span 1 got hangup request
Jun 30 00:23:14 WARNING[29224]: app_dial.c:713 wait_for_answer: Unable to forward voice
– Hungup ‘Zap/4-1’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing PlayTones(“SIP/123-4d7e”, “busy”) in new stack
== Auto fallthrough, channel ‘SIP/123-4d7e’ status is ‘CHANUNAVAIL’


Please help.

thanks,
Sumit

In Bulgaria, mobile numbers start with something like 08xxx.
City number will start with 02xxx (Sofia).
Depending of provider I must dial 003598xxxfor mobile, or 08xxx. (359 is country code)
Also depending of provider if I want to dial lendline number I need to dial 003592, or 02 or directly.
In short - try all combinations wich are in your area.

Try to see if you are not missing a digit to get out or that you have in your extension.conf the proper one to get out for a fix phone number.
If you are too strict on your exten rules you can be stuck that way.

The dialplan and zapata.conf is appended. We are sure we are doing the dialing correctly. In fact its working fine this way with another manufacturer’s PPI board and APIs.


Dialplan

[sip-phones]
exten => _0Z.,1,Dial(Zap/g1/${EXTEN},30,T)


ZAPATA.conf

[channels]
language=en
switchtype=euroisdn
context=default
signalling=pri_cpe
faxdetect=no
resetinterval=never
overlapdial=yes
immediate=no

group=1
channel => 1-15,17-31

pls read the dialplan in the last post as

exten => _0Z.,1,Dial(Zap/g1/${EXTEN:1},30,T)

have set pridialplan=unknown in zapata.conf. Works now!!!

Hi, glad I found this post, I had this exact same problem where inbound calls to the PRI card worked fine, but I could not make outbound calls, I always got ‘CHANUNAVAIL’.

Changing the pridialplan to ‘unknown’ worked for me also.

Many Thanks!!!

PS. Don’t forget to restart asterisk fully after making changes to zapata.conf, a reload will not do the job!

Hi, I also had this problem and the solution shown worked for me too! So, for Swedes who can’t dial 118 118, this is the problem!