<font face="Arial, Helvetica, sans-serif">hi all<br>
<br>
I have a PRI line which i have connected to my asterisk server. I am able to make calls to mobile no through my asterisk server, while i am not able to make calls to land line nos. This is strange. Where do u think the problem is , is it from the service provider or mis configuration of my asterisk. I am from India and using airtel pri lines. Below i am pasting you my configuration file which works to call land line not but doesn't work for land line no.<br>
<br>
<br>
zaptel.conf<br>
<br>
<br>
span=1,1,0,ccs,hdb3<br>
span=2,1,0,ccs,hdb3<br>
bchan = 1-15,17-31<br>
dchan = 16<br>
bchan = 32-46,48-62<br>
dchan = 47<br>
loadzone = in<br>
defaultzone = in<br>
<br>
<br>
zapata.conf<br>
<br>
<br>
[channels]<br>
context=test<br>
group=1<br>
usecallerid=yes<br>
hidecallerid=no<br>
callwaiting=yes<br>
callwaitingcallerid=yes<br>
threewaycalling=yes<br>
transfer=yes<br>
cancallforward=yes<br>
echocancel=yes<br>
echotraining=yes<br>
rxgain=0.0<br>
txgain=0.0<br>
callprogress=no<br>
callerid=asreceived<br>
pickupgroup=1<br>
;pridialplan=unknown<br>
immediate=no<br>
;signalling=pri_cpe_ptmp<br>
;switchtype=ni1<br>
channel => 1-15,17-31<br>
<br>
<br>
I have commented the pridailplan , signalling and switchtype because when i enable this, asterisk give me warning "Ignoring pridialplan" same with other parameter. When i disable those options still i am able to call mobile no.<br>
<br>
<br>
when i make call , asterisk give me following log when debug mode is enabled..<br>
<br>
asterisk*CLI> <br>
-- Executing [947521744@test:1] Goto("SIP/2002-b76144d0", "trunkdial|947521744|1") in new stack<br>
-- Goto (trunkdial,947521744,1)<br>
-- Executing [947521744@trunkdial:1] Dial("SIP/2002-b76144d0", "Zap/r1/47521744") in new stack<br>
-- Making new call for cr 32854<br>
-- Requested transfer capability: 0x00 - SPEECH<br>
> Protocol Discriminator: Q.931 (8) len=45<br>
> Call Ref: len= 2 (reference 86/0x56) (Originator)<br>
> Message type: SETUP (5)<br>
> [04 03 80 90 a3]<br>
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)<br>
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)<br>
> User information layer 1: A-Law (35)<br>
> [18 03 a9 83 8c]<br>
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0<br>
> ChanSel: As indicated in following octets<br>
> Ext: 1 Coding: 0 Number Specified Channel Type: 3<br>
> Ext: 1 Channel: 12 ]<br>
> [1e 02 80 83]<br>
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0)<br>
> Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ]<br>
> [28 05 b1 32 30 30 32]<br>
> Display (len= 5) Charset: 31 [ 2002 ]<br>
> [6c 06 21 81 32 30 30 32]<br>
> Calling Number (len= 8) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<br>
> Presentation: Presentation permitted, user number passed network screening (1) '2002' ]<br>
> [70 09 a1 34 37 35 32 31 37 34 34]<br>
> Called Number (len=11) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '47521744' ]<br>
q931.c:3087 q931_setup: call 32854 on channel 12 enters state 1 (Call Initiated)<br>
-- Called r1/47521744<br>
< Protocol Discriminator: Q.931 (8) len=14<br>
< Call Ref: len= 2 (reference 86/0x56) (Terminator)<br>
< Message type: STATUS (125)<br>
< [08 04 82 e3 98 28]<br>
< Cause (len= 6) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the local user (2)<br>
< Ext: 1 Cause: Info. element nonexist or not implemented (99), class = Protocol Error (e.g. unknown message) (6) ]<br>
< Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)<br>
< Cause data 2: 28 (40, Display IE)<br>
< [14 01 01]<br>
< Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Call Initiated (1)<br>
-- Processing IE 8 (cs0, Cause)<br>
-- Processing IE 20 (cs0, Call State)<br>
< Protocol Discriminator: Q.931 (8) len=10<br>
< Call Ref: len= 2 (reference 86/0x56) (Terminator)<br>
< Message type: SETUP ACKNOWLEDGE (13)<br>
< [18 03 a9 83 8c]<br>
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0<br>
< ChanSel: As indicated in following octets<br>
< Ext: 1 Coding: 0 Number Specified Channel Type: 3<br>
< Ext: 1 Channel: 12 ]<br>
-- Processing IE 24 (cs0, Channel Identification)<br>
q931.c:3844 q931_receive: call 32854 on channel 12 enters state 2 (Overlap sending)<br>
< Protocol Discriminator: Q.931 (8) len=13<br>
< Call Ref: len= 2 (reference 86/0x56) (Terminator)<br>
< Message type: DISCONNECT (69)<br>
< [08 02 82 9c]<br>
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the local user (2)<br>
< Ext: 1 Cause: Invalid number format (28), class = Normal Event (1) ]<br>
< [1e 02 82 88]<br>
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)<br>
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]<br>
-- Processing IE 8 (cs0, Cause)<br>
-- Processing IE 30 (cs0, Progress Indicator)<br>
q931.c:3779 q931_receive: call 32854 on channel 12 enters state 12 (Disconnect Indication)<br>
-- Channel 0/12, span 1 got hangup request, cause 28<br>
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request<br>
q931.c:2920 q931_release: call 32854 on channel 12 enters state 19 (Release Request)<br>
> Protocol Discriminator: Q.931 (8) len=9<br>
> Call Ref: len= 2 (reference 86/0x56) (Originator)<br>
> Message type: RELEASE (77)<br>
> [08 02 81 9c]<br>
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)<br>
> Ext: 1 Cause: Invalid number format (28), class = Normal Event (1) ]<br>
-- Hungup 'Zap/12-1'<br>
== Everyone is busy/congested at this time (1:0/0/1)<br>
-- Executing [947521744@trunkdial:2] Congestion("SIP/2002-b76144d0", "5") in new stack<br>
== Spawn extension (trunkdial, 947521744, 2) exited non-zero on 'SIP/2002-b76144d0'<br>
< Protocol Discriminator: Q.931 (8) len=5<br>
< Call Ref: len= 2 (reference 86/0x56) (Terminator)<br>
< Message type: RELEASE COMPLETE (90)<br>
q931.c:3719 q931_receive: call 32854 on channel 12 enters state 0 (Null)<br>
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null<br>
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null<br>
<br>
<br>
I would appreciate for any kind of help<br>
<br>
Thanks <br>
<br>
Birksih<br>
<br>
<br>
<br>
<br>
</font><div id='u8CADA27DA3DCD88-1394-3114' class='aol_ad_footer'><FONT style="color: black; font: normal 10pt ARIAL, SAN-SERIF;"><HR style="MARGIN-TOP: 10px"><A title="http://mapquest.com/toolbar?ncid=mpqmap00050000000010" href="http://mapquest.com/toolbar?ncid=mpqmap00050000000010" target="_blank">Get the MapQuest Toolbar</A>. Directions, Traffic, Gas Prices & More!</FONT> </div>