[Asterisk-Users] Problem with ougoing Zap calls

Russell Horn asterisk-users at albanach.com
Fri Aug 13 08:58:00 MST 2004


I'm able to receive but not make calls with zaptel using an X101P
connecting to Asterisk with an Xlite client. My client has context = flat
in sip.conf and extensions number 8919

In extensions.conf I've got:

[home]
; Line 1
;
exten => 8919,1,Dial(${PHONES1},20,Ttm)
exten => 8919,2,Macro(vmessage,${PHONES1VM})
exten => 8919,3,Hangup

[outgoing]
exten => _9.,1,Dial(Zap/1/$EXTEN:1)

[flat]
include => home
include => outgoing


zapata.conf contains the following - I have 2 x101p cards installed

[channels]
language=en
group=1
context=from-analog
signalling=fxs_ks
usecallerid=no
echocancel=yes
echocancelwhenbridged=yes
channel => 1-2


When I dial the asterisk box from an ordinary phone it picks up fine and
shows:

    -- Starting simple switch on 'Zap/1-1'
    -- Executing Dial("Zap/1-1", "SIP/8919|30") in new stack
    -- Called 8919
    -- SIP/8919-2e9f is ringing

But if I try and dial out I get:

    -- Executing Dial("SIP/8919-917c", "Zap/1/$EXTEN:1") in new stack
    -- Called 1/$EXTEN:1
    -- Zap/1-1 answered SIP/8919-917c
    -- Hungup 'Zap/1-1'
  == Spawn extension (flat, 95558925, 1) exited non-zero on 'SIP/8919-917c'


So my call is immediatly answered, but doesn't go anywhere, then asterisk
hangs up.

Has anyone else experienced this, or know what's wrong?  Help would be
very much appreciated!

Russell.



More information about the asterisk-users mailing list