bikrish at aim.com
2008-Sep-01 08:57 UTC
[asterisk-users] not able to make call to landline no...to mobile works fine
hi all 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. zaptel.conf span=1,1,0,ccs,hdb3 span=2,1,0,ccs,hdb3 bchan = 1-15,17-31 dchan = 16 bchan = 32-46,48-62 dchan = 47 loadzone = in defaultzone = in zapata.conf [channels] context=test group=1 usecallerid=yes hidecallerid=no callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes echocancel=yes echotraining=yes rxgain=0.0 txgain=0.0 callprogress=no callerid=asreceived pickupgroup=1 ;pridialplan=unknown immediate=no ;signalling=pri_cpe_ptmp ;switchtype=ni1 channel => 1-15,17-31 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. when i make call , asterisk give me following log when debug mode is enabled.. asterisk*CLI> ??? -- Executing [947521744 at test:1] Goto("SIP/2002-b76144d0", "trunkdial|947521744|1") in new stack ??? -- Goto (trunkdial,947521744,1) ??? -- Executing [947521744 at trunkdial:1] Dial("SIP/2002-b76144d0", "Zap/r1/47521744") in new stack -- Making new call for cr 32854 ??? -- Requested transfer capability: 0x00 - SPEECH> Protocol Discriminator: Q.931 (8)? len=45 > Call Ref: len= 2 (reference 86/0x56) (Originator) > Message type: SETUP (5) > [04 03 80 90 a3] > Bearer Capability (len= 5) [ Ext: 1? Q.931 Std: 0? Info transfer capability: Speech (0) >????????????????????????????? Ext: 1? Trans mode/rate: 64kbps, circuit-mode (16) >??????????????????????????????? User information layer 1: A-Law (35) > [18 03 a9 83 8c] > Channel ID (len= 5) [ Ext: 1? IntID: Implicit? PRI? Spare: 0? Exclusive? Dchan: 0 >??????????????????????? ChanSel: As indicated in following octets >?????????????????????? Ext: 1? Coding: 0? Number Specified? Channel Type: 3 >?????????????????????? Ext: 1? Channel: 12 ] > [1e 02 80 83] > Progress Indicator (len= 4) [ Ext: 1? Coding: CCITT (ITU) standard (0)? 0: 0? Location: User (0) >?????????????????????????????? Ext: 1? Progress Description: Calling equipment is non-ISDN. (3) ] > [28 05 b1 32 30 30 32] > Display (len= 5) Charset: 31 [ 2002 ] > [6c 06 21 81 32 30 30 32] > Calling Number (len= 8) [ Ext: 0? TON: National Number (2)? NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) >?????????????????????????? Presentation: Presentation permitted, user number passed network screening (1)? '2002' ] > [70 09 a1 34 37 35 32 31 37 34 34] > Called Number (len=11) [ Ext: 1? TON: National Number (2)? NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)? '47521744' ]q931.c:3087 q931_setup: call 32854 on channel 12 enters state 1 (Call Initiated) ??? -- Called r1/47521744 < Protocol Discriminator: Q.931 (8)? len=14 < Call Ref: len= 2 (reference 86/0x56) (Terminator) < Message type: STATUS (125) < [08 04 82 e3 98 28] < Cause (len= 6) [ Ext: 1? Coding: CCITT (ITU) standard (0)? Spare: 0? Location: Public network serving the local user (2) <????????????????? Ext: 1? Cause: Info. element nonexist or not implemented (99), class = Protocol Error (e.g. unknown message) (6) ] <????????????? Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE) <????????????? Cause data 2: 28 (40, Display IE) < [14 01 01] < Call State (len= 3) [ Ext: 0? Coding: CCITT (ITU) standard (0)? Call state: Call Initiated (1) -- Processing IE 8 (cs0, Cause) -- Processing IE 20 (cs0, Call State) < Protocol Discriminator: Q.931 (8)? len=10 < Call Ref: len= 2 (reference 86/0x56) (Terminator) < Message type: SETUP ACKNOWLEDGE (13) < [18 03 a9 83 8c] < Channel ID (len= 5) [ Ext: 1? IntID: Implicit? PRI? Spare: 0? Exclusive? Dchan: 0 <??????????????????????? ChanSel: As indicated in following octets <?????????????????????? Ext: 1? Coding: 0? Number Specified? Channel Type: 3 <?????????????????????? Ext: 1? Channel: 12 ] -- Processing IE 24 (cs0, Channel Identification) q931.c:3844 q931_receive: call 32854 on channel 12 enters state 2 (Overlap sending) < Protocol Discriminator: Q.931 (8)? len=13 < Call Ref: len= 2 (reference 86/0x56) (Terminator) < Message type: DISCONNECT (69) < [08 02 82 9c] < Cause (len= 4) [ Ext: 1? Coding: CCITT (ITU) standard (0)? Spare: 0? Location: Public network serving the local user (2) <????????????????? Ext: 1? Cause: Invalid number format (28), class = Normal Event (1) ] < [1e 02 82 88] < Progress Indicator (len= 4) [ Ext: 1? Coding: CCITT (ITU) standard (0)? 0: 0? Location: Public network serving the local user (2) <?????????????????????????????? Ext: 1? Progress Description: Inband information or appropriate pattern now available. (8) ] -- Processing IE 8 (cs0, Cause) -- Processing IE 30 (cs0, Progress Indicator) q931.c:3779 q931_receive: call 32854 on channel 12 enters state 12 (Disconnect Indication) ??? -- Channel 0/12, span 1 got hangup request, cause 28 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request q931.c:2920 q931_release: call 32854 on channel 12 enters state 19 (Release Request)> Protocol Discriminator: Q.931 (8)? len=9 > Call Ref: len= 2 (reference 86/0x56) (Originator) > Message type: RELEASE (77) > [08 02 81 9c] > Cause (len= 4) [ Ext: 1? Coding: CCITT (ITU) standard (0)? Spare: 0? Location: Private network serving the local user (1) >????????????????? Ext: 1? Cause: Invalid number format (28), class = Normal Event (1) ]??? -- Hungup 'Zap/12-1' ? == Everyone is busy/congested at this time (1:0/0/1) ??? -- Executing [947521744 at trunkdial:2] Congestion("SIP/2002-b76144d0", "5") in new stack ? == Spawn extension (trunkdial, 947521744, 2) exited non-zero on 'SIP/2002-b76144d0' < Protocol Discriminator: Q.931 (8)? len=5 < Call Ref: len= 2 (reference 86/0x56) (Terminator) < Message type: RELEASE COMPLETE (90) q931.c:3719 q931_receive: call 32854 on channel 12 enters state 0 (Null) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null I would appreciate for any kind of help Thanks Birksih -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080901/30c04b92/attachment.htm