[Asterisk-Users] outgoing ZAP cannot connect using E1 isdn

Asterisk asterisk at dotr.com
Thu Aug 12 15:19:58 MST 2004


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 at misery.digium.com/s at 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




More information about the asterisk-users mailing list