Re: [Asterisk-Users] can't make my PRI dial out
did this. No joy Ken Godee wrote: I added the line exten = 3701,1,Dial(Zap/g1/19173657597) Unknown Number Plan (0) '19173657597' ] -- Called g1/19173657597 I know we are moving forward. I didn;t get this last time I tried to dial. Try striping the 1 off and dial Dial(Zap/g1/9173657597) ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
My circuit is from MCI. They tell me to its and ATT switchtype Andres wrote: I know we are moving forward. I didn;t get this last time I tried to dial. Mark Why don't you try changing your switchtype to national from 4ess in your zapata.conf ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
Having said that I did it anyway and whadyaknow, it works!! Thanks very much fellas for your help. Mark Mark Phillips wrote: My circuit is from MCI. They tell me to its and ATT switchtype Andres wrote: I know we are moving forward. I didn;t get this last time I tried to dial. Mark Why don't you try changing your switchtype to national from 4ess in your zapata.conf ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
On April 22, 2005 11:48 am, Mark Phillips wrote: Nothing happens. I get the same (non)error. I get plenty of output when receiving a call however. Odd... Here is my zapata.conf setup for my PRI: --- [channels] context=BellPRI switchtype=national pridialplan=unknown priindication=outofband overlapdial=no signalling=pri_cpe usecallerid=yes hidecallerid=no callwaiting=yes callwaitingcallerid=yes echocancel=yes echocancelwhenbridged=no echotraining=no relaxdtmf=no group=1 callgroup=1 pickupgroup=1 immediate=no callerid=asreceived channel = 1-23 --- I simply Dial(Zap/g1/5551212). The fact that it doesn't think it can pick up a channel is interesting, I haven't run across that before. Combined with the fact that you can receive calls just fine, this is a very strange little problem. With my config (modified for your switchtype and context ONLY), what do you get when you try to dial a number? -A. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
On Fri, 22 Apr 2005 10:37:32 -0400 Mark Phillips [EMAIL PROTECTED] wrote: I have a full PRI installed on my * machine. I can get inbound calls just fine but can't make outbound ones. Zaptel.conf says; span=1,1,0,esf,b8zs bchan=1-23 dchan=24 zapata.conf says language=en context=default switchtype=4ess pridialplan=unknown signalling=pri_cpe channel=1-23 echocancel=yes group=1 Your zapata.conf should look like this: language=en context=default switchtype=4ess pridialplan=unknown signalling=pri_cpe echocancel=yes group=1 channel=1-23 You need to move the echocancel and the group above the channel line. The channel line definitions must be above and not below. Robert ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
I haven't worked with PRI, but could it be related to an invalid callerid? What about: exten = _X., 1, SetCallerId(123123123) exten = _X., 2, Dial(Zap/g1/${EXTEN}) Julian. On 4/22/05, Andrew Kohlsmith [EMAIL PROTECTED] wrote: On April 22, 2005 11:48 am, Mark Phillips wrote: Nothing happens. I get the same (non)error. I get plenty of output when receiving a call however. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
I made my zapata.conf look like the below (with relevant changes) and then programmed exten 3701 to dial my cell phone (I'm working remotely on this). I added the line exten = 3701,1,Dial(Zap/g1/19173657597) to extensions.conf and get this output from pri debug span 1 when I dial it -- Making new call for cr 32771 Protocol Discriminator: Q.931 (8) len=54 Call Ref: len= 2 (reference 3/0x3) (Originator) Message type: SETUP (5) [04 02 80 90] Bearer Capability (len= 4) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0) Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) Ext: 0 User information layer 1: Unknown (24) [18 03 a9 83 81] Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 ChanSel: Reserved Ext: 1 Coding: 0 Number Specified Channel Type: 3 Ext: 1 Channel: 1 ] [28 0e b1 4d 61 72 6b 20 50 68 69 6c 6c 69 70 73] Display (len=14) Charset: 31 [ Mark Phillips ] [6c 08 21 83 32 32 32 32 30 38] Calling Number (len=10) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) Presentation: Presentation allowed of network provided number (3) '17323571400' ] [70 0c 80 31 39 31 37 33 36 35 37 35 39 37] Called Number (len=14) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '19173657597' ] -- Called g1/19173657597 Protocol Discriminator: Q.931 (8) len=9 Call Ref: len= 2 (reference 3/0x3) (Terminator) Message type: RELEASE COMPLETE (90) [08 02 83 e4] Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Transit network (3) Ext: 1 Cause: Invalid information element contents (100), class = Protocol Error (6) ] -- Processing IE 8 (cs0, Cause) -- Channel 0/1, span 1 got hangup NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null -- Hungup 'Zap/1-1' my call gets hung up immediatly. I know we are moving forward. I didn;t get this last time I tried to dial. Mark Andrew Kohlsmith wrote: On April 22, 2005 11:48 am, Mark Phillips wrote: Nothing happens. I get the same (non)error. I get plenty of output when receiving a call however. Odd... Here is my zapata.conf setup for my PRI: --- [channels] context=BellPRI switchtype=national pridialplan=unknown priindication=outofband overlapdial=no signalling=pri_cpe usecallerid=yes hidecallerid=no callwaiting=yes callwaitingcallerid=yes echocancel=yes echocancelwhenbridged=no echotraining=no relaxdtmf=no group=1 callgroup=1 pickupgroup=1 immediate=no callerid=asreceived channel = 1-23 --- I simply Dial(Zap/g1/5551212). The fact that it doesn't think it can pick up a channel is interesting, I haven't run across that before. Combined with the fact that you can receive calls just fine, this is a very strange little problem. With my config (modified for your switchtype and context ONLY), what do you get when you try to dial a number? -A. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
I know we are moving forward. I didn;t get this last time I tried to dial. Mark Why don't you try changing your switchtype to national from 4ess in your zapata.conf ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
On 22 Apr 2005, at 16:02, Mark Phillips wrote: Nope. This didn't work. I reordered the settings as described below and then did restart gracefully at the CLI. No change. The received wisdom is that you need to power cycle a box if you change zaptel.conf it forces a cold start at _both_ ends of the PRI. Otherwise the changes (like clocking) don't always take. Restart gracefully is just to gentle for this :-) Tim. http://www.westhawk.co.uk/ ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
On April 22, 2005 05:35 pm, Mark Phillips wrote: Ext: 1 Cause: Invalid information element contents (100), class = Protocol Error (6) ] -- Processing IE 8 (cs0, Cause) Your zapata.conf does not match your telco's provisioning of the PRI. Contact your switch tech and verify your settings. Offhand, I am going to guess that you should *NOT* set caller ID **NAME** -- send only the number. Failing that, don't even set the CID number. Basically the telco switch is telling you to go bugger yourself because you're sending an IE (information element) that it doesn't like. -A. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
On Fri, 22 Apr 2005, Robert Webb wrote: I am grasping at straws here, but have you tried it without the pridialplan command?? According to the wiki, this really doesn't need to be there. pridialplan: Sets an option required for some (rare) switches that require a dialplan parameter to be passed. This option is ignored by most PRI switches. It may be necessary on a few pieces of hardware. Valid options are: unknown, local, private, national, and international. This option can almost always be left unchanged from the default. Default: national. The wiki is incorrect. Unless the isdn implementation in the switch is broken it _should_ pay attention to the TON/NPI fields, in which case the default national is almost certainly not the what you want. The correct entry for most switches is unknown since that tells the switch to interpret the dialstring the same way it would be done on a pots phone. Peter ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
On Fri, 22 Apr 2005, Mark Phillips wrote: ; calls to the outside world via the PSTN exten = _81NXXNXX,1,Dial(ZAP/1/${EXTEN:1}) When I try to dial a number I get - Executing Dial(SIP/3710-23ea, ZAP/17327356701) in new stack Apr 22 10:19:17 NOTICE[28197]: app_dial.c:803 dial_exec: Unable to create channel of type 'ZAP' (cause 0) == Everyone is busy/congested at this time You are requesting the hard coded channel (time slot) 1 - are you sure it is free? What does zap show channel 1 say? Like someone else said - have you tried to define a group and call Zap/g1/..? The message above means that asterisk does not consider the channel Zap/1 to be available for one reason or another. Peter ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
I added the line exten = 3701,1,Dial(Zap/g1/19173657597) Unknown Number Plan (0) '19173657597' ] -- Called g1/19173657597 I know we are moving forward. I didn;t get this last time I tried to dial. Try striping the 1 off and dial Dial(Zap/g1/9173657597) ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
On Fri, 22 Apr 2005 11:48:18 -0400 Mark Phillips [EMAIL PROTECTED] wrote: Nothing happens. I get the same (non)error. I get plenty of output when receiving a call however. Mark Andrew Kohlsmith wrote: On April 22, 2005 10:41 am, Robert Webb wrote: Your zapata.conf should look like this: language=en context=default switchtype=4ess pridialplan=unknown signalling=pri_cpe echocancel=yes group=1 channel=1-23 You need to move the echocancel and the group above the channel line. The channel line definitions must be above and not below. You're right, but that's not his problem. Cause code 0 is no cause code at all; I'd turn on pri debug span 1 output and see what's coming up there. -A. I am grasping at straws here, but have you tried it without the pridialplan command?? According to the wiki, this really doesn't need to be there. pridialplan: Sets an option required for some (rare) switches that require a dialplan parameter to be passed. This option is ignored by most PRI switches. It may be necessary on a few pieces of hardware. Valid options are: unknown, local, private, national, and international. This option can almost always be left unchanged from the default. Default: national. pridialplan=local ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
Nothing happens. I get the same (non)error. I get plenty of output when receiving a call however. Mark Andrew Kohlsmith wrote: On April 22, 2005 10:41 am, Robert Webb wrote: Your zapata.conf should look like this: language=en context=default switchtype=4ess pridialplan=unknown signalling=pri_cpe echocancel=yes group=1 channel=1-23 You need to move the echocancel and the group above the channel line. The channel line definitions must be above and not below. You're right, but that's not his problem. Cause code 0 is no cause code at all; I'd turn on pri debug span 1 output and see what's coming up there. -A. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
Mark Phillips wrote: ; calls to the outside world via the PSTN exten = _81NXXNXX,1,Dial(ZAP/1/${EXTEN:1}) Mabye Dial(zap/g1/${EXTEN:1}) ? g1 means group 1... I think 1 by itself means channel 1, which probably isn't what you want. Jerimiah Tularosa Communications ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
On April 22, 2005 10:41 am, Robert Webb wrote: Your zapata.conf should look like this: language=en context=default switchtype=4ess pridialplan=unknown signalling=pri_cpe echocancel=yes group=1 channel=1-23 You need to move the echocancel and the group above the channel line. The channel line definitions must be above and not below. You're right, but that's not his problem. Cause code 0 is no cause code at all; I'd turn on pri debug span 1 output and see what's coming up there. -A. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
On April 22, 2005 04:17 pm, tim panton wrote: The received wisdom is that you need to power cycle a box if you change zaptel.conf it forces a cold start at _both_ ends of the PRI. Otherwise the changes (like clocking) don't always take. He didn't alter /etc/zaptel.conf, he altered /etc/zapata.conf. :-) -A. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
Nope. This didn't work. I reordered the settings as described below and then did restart gracefully at the CLI. No change. Robert Webb wrote: On Fri, 22 Apr 2005 10:37:32 -0400 Mark Phillips [EMAIL PROTECTED] wrote: I have a full PRI installed on my * machine. I can get inbound calls just fine but can't make outbound ones. Zaptel.conf says; span=1,1,0,esf,b8zs bchan=1-23 dchan=24 zapata.conf says language=en context=default switchtype=4ess pridialplan=unknown signalling=pri_cpe channel=1-23 echocancel=yes group=1 Your zapata.conf should look like this: language=en context=default switchtype=4ess pridialplan=unknown signalling=pri_cpe echocancel=yes group=1 channel=1-23 You need to move the echocancel and the group above the channel line. The channel line definitions must be above and not below. Robert ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
Mark, that's what the command pri debug span 1 does, produce a lot of output so you can see what is received and what is sent. Maybe you can paste the output to pastebin.ca and tell us the link. Regards, Marc Mark Phillips wrote: Nothing happens. I get the same (non)error. I get plenty of output when receiving a call however. Mark Andrew Kohlsmith wrote: On April 22, 2005 10:41 am, Robert Webb wrote: Your zapata.conf should look like this: language=en context=default switchtype=4ess pridialplan=unknown signalling=pri_cpe echocancel=yes group=1 channel=1-23 You need to move the echocancel and the group above the channel line. The channel line definitions must be above and not below. You're right, but that's not his problem. Cause code 0 is no cause code at all; I'd turn on pri debug span 1 output and see what's coming up there. -A. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] can't make my PRI dial out
Did you try dialing out over ZAP/g1? On 4/22/05, Mark Phillips [EMAIL PROTECTED] wrote: I have a full PRI installed on my * machine. I can get inbound calls just fine but can't make outbound ones. Zaptel.conf says; span=1,1,0,esf,b8zs bchan=1-23 dchan=24 zapata.conf says language=en context=default switchtype=4ess pridialplan=unknown signalling=pri_cpe channel=1-23 echocancel=yes group=1 dial string in extensions.conf says ; calls to the outside world via the PSTN exten = _81NXXNXX,1,Dial(ZAP/1/${EXTEN:1}) When I try to dial a number I get - Executing Dial(SIP/3710-23ea, ZAP/17327356701) in new stack Apr 22 10:19:17 NOTICE[28197]: app_dial.c:803 dial_exec: Unable to create channel of type 'ZAP' (cause 0) == Everyone is busy/congested at this time pri show span 1 says 120b-pbx*CLI pri show span 1 Primary D-channel: 24 Status: Provisioned, Up, Active Switchtype: ATT 4ESS Type: CPE Window Length: 0/7 Sentrej: 0 SolicitFbit: 0 Retrans: 0 Busy: 0 Overlap Dial: 0 T200 Timer: 1000 T203 Timer: 1 T305 Timer: 3 T308 Timer: 4000 T313 Timer: 4000 N200 Counter: 3 Paid support from Digium sucks royally. They don't even know what their own error codes mean!! Any ideas? Thanks Mark ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users