I have a problem that is probably so "doh" I will be embarrassed. However, I have spent all evening on this with no success: I have the following setup (asterisk cvshead as of today) 10 Channel EuroISDN<=>Asterisk<=>Meridian What I can do: Call from outside into the asterisk, dial an extension, and pass through to the meridian. WooHoo. What I can't do: Call from outside (firstnum) into the asterisk , dial an extension which calls an outside number (SecondNum). I get the BT three-tone (number has not been recognised). Is it that the outgoing number is being mangled ? If so, where to look ? I have tried *everything* that I can think of to no avail. I have included the zapata.conf, the zaptel.conf and the extensions.conf I have also included the output from many "v" asterisk. Please Please don't beat me with a large stick if the answer is obvious. I am in enough pain :( Julian. #################### /* output from asterisk */ ... loads of debug stuff. No errors ... Asterisk Ready. *CLI> -- B-channel 0/1 successfully restarted on span 2 -- B-channel 0/2 successfully restarted on span 2 -- B-channel 0/3 successfully restarted on span 2 -- B-channel 0/4 successfully restarted on span 2 -- B-channel 0/5 successfully restarted on span 2 -- B-channel 0/6 successfully restarted on span 2 -- B-channel 0/7 successfully restarted on span 2 -- B-channel 0/8 successfully restarted on span 2 -- B-channel 0/9 successfully restarted on span 2 -- B-channel 0/10 successfully restarted on span 2 -- B-channel 0/1 successfully restarted on span 1 -- B-channel 0/2 successfully restarted on span 1 -- B-channel 0/3 successfully restarted on span 1 -- B-channel 0/4 successfully restarted on span 1 -- B-channel 0/5 successfully restarted on span 1 -- B-channel 0/6 successfully restarted on span 1 -- B-channel 0/7 successfully restarted on span 1 -- B-channel 0/8 successfully restarted on span 1 -- B-channel 0/9 successfully restarted on span 1 -- B-channel 0/10 successfully restarted on span 1 -- Executing Dial("Zap/1-1", "Zap/g1/<SecondNum>|10") in new stack -- Accepting call from '' to '<FirstNum>' on channel 0/1, span 1 -- Called g1/<SecondNum> -- Channel 0/2, span 1 got hangup Aug 12 23:07:01 WARNING[-1116660816]: app_dial.c:396 wait_for_answer: Unable to forward voice -- Hungup 'Zap/2-1' == No one is available to answer at this time -- Executing Hangup("Zap/1-1", "") in new stack == Spawn extension (from-bt, <FirstNum>, 2) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1' #################### /* extensions.conf */ [general] static=yes writeprotect=no [globals] CONSOLE=Console/dsp ; Console interface for demo TRUNK=Zap/g1 ; Trunk interface TRUNKMSD=0 ; MSD digits to strip (usually 1 or 0) [demo] exten => s,1,Wait,1 ; Wait a second, just for fun exten => s,2,Answer ; Answer the line exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 seconds exten => s,5,BackGround(demo-congrats) ; Play a congratulatory message exten => s,6,BackGround(demo-instruct) ; Play some instructions exten => 2,1,BackGround(demo-moreinfo) ; Give some more information. exten => 2,2,Goto(s,6) exten => 1000,1,Goto(default,s,1) exten => 1234,1,Playback(transfer,skip) ; "Please hold while..." exten => 1234,2,Macro(stdexten,1234,${CONSOLE}) exten => 1235,1,Voicemail(u1234) ; Right to voicemail exten => #,1,Playback(demo-thanks) ; "Thanks for trying the demo" exten => #,2,Hangup ; Hang them up. exten => t,1,Goto(#,1) ; If they take too long, give up exten => i,1,Playback(invalid) ; "That's not valid, try again" exten => 500,1,Playback(demo-abouttotry); Let them know what's going on exten => 500,2,Dial(IAX2/guest@misery.digium.com/s@default) ; Call the Asterisk demo exten => 500,3,Playback(demo-nogo) ; Couldn't connect to the demo site exten => 500,4,Goto(s,6) ; Return to the start over message. exten => 600,1,Playback(demo-echotest) ; Let them know what's going on exten => 600,2,Echo ; Do the echo test exten => 600,3,Playback(demo-echodone) ; Let them know it's over exten => 600,4,Goto(s,6) ; Start over exten => 8500,1,VoicemailMain exten => 8500,2,Goto(s,6) [default] include => demo [from-bt] include => demo exten => <InboundNumber>,1,Dial(Zap/g1/<SecondNumber>,10) exten => <InboundNumber>,2,Hangup exten => i,1,Goto(600,1) ##################### /* zapata.conf */ [general] [trunkgroups] [channels] language=en rxwink=300 ; Atlas seems to use long (250ms) winks usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 context=from-bt group=1 signalling=pri_cpe switchtype=euroisdn channel=1-15,17-31 immediate=no context=from-meridian group=2 signalling=pri_net switchtype=euroisdn channel=32-46,48-62 immediate=no ############### /* zaptel.conf */ span=1,1,0,ccs,hdb3,crc4 bchan=1-15,17-31 dchan=16 span=2,0,0,ccs,hdb3,crc4 bchan=32-46,48-62 dchan=47 loadzone = uk defaultzone=uk
Peter Svensson
2004-Aug-13 00:12 UTC
[Asterisk-Users] outgoing ZAP cannot connect using E1 isdn
On Thu, 12 Aug 2004, Asterisk wrote:> What I can do: Call from outside into the asterisk, dial an extension, and > pass through to the meridian. WooHoo. > > What I can't do: Call from outside (firstnum) into the asterisk , dial an > extension which calls an outside number (SecondNum). I get the BT three-tone > (number has not been recognised). Is it that the outgoing number is being > mangled ? If so, where to look ?Can you place any calls from Asterisk to the pstn? If not then I suspect you need to set the pridialplan (and later on prilocaldialplan for CallerID) to something. Exactly what depends on the number format you use. For the standard national number format I think "pridialplan=unknown" is the way to go. You could try enabling debugging with "pri intense debug span 1" to see exactly what the pstn returns. Also, since you are on a pure tdm path you may want to try disabling echo canceling. It has nothing to do with your current problem though. Peter
Thanks to pointers from Peter Svensson, I've solved the problem. I needed pridialplan=unknown in my zapata.conf All's good to go ! I can now call numbers with the leading zero ! Thanks very much. Julian. ----- Original Message ----- From: "Asterisk" <asterisk@dotr.com> To: <asterisk-users@lists.digium.com> Sent: Friday, August 13, 2004 8:37 AM Subject: Re: [Asterisk-Users] outgoing ZAP cannot connect using E1 isdn> Spooky - I was at this second about to report that I have got it working, > though I don't know why ... > > If the number I want to call is 07803xxxxxx then if I say > Dial(Zap/g1/7803xxxxxx) the damned thing works. > > So it seems that something is automatically adding the "0" to the dialled > string. What would be doing that ? > > I'm going to try your suggestion of the pridialplan and prilocaldialplanand> see what difference this makes. However, where do I put these commands and > what data should I set it to ? (google here I come!) > > Many thanks for taking the time to respond. > > Julian > ----- Original Message ----- > From: "Peter Svensson" <psvasterisk@psv.nu> > To: <asterisk-users@lists.digium.com> > Sent: Friday, August 13, 2004 8:12 AM > Subject: Re: [Asterisk-Users] outgoing ZAP cannot connect using E1 isdn > > > > On Thu, 12 Aug 2004, Asterisk wrote: > > > > > What I can do: Call from outside into the asterisk, dial an extension, > and > > > pass through to the meridian. WooHoo. > > > > > > What I can't do: Call from outside (firstnum) into the asterisk , dial > an > > > extension which calls an outside number (SecondNum). I get the BT > three-tone > > > (number has not been recognised). Is it that the outgoing number is > being > > > mangled ? If so, where to look ? > > > > Can you place any calls from Asterisk to the pstn? If not then I suspect > > you need to set the pridialplan (and later on prilocaldialplan for > > CallerID) to something. Exactly what depends on the number format youuse.> > For the standard national number format I think "pridialplan=unknown" is > > the way to go. > > > > You could try enabling debugging with "pri intense debug span 1" to see > > exactly what the pstn returns. > > > > Also, since you are on a pure tdm path you may want to try disablingecho> > canceling. It has nothing to do with your current problem though. > > > > 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 > > >