[Asterisk-Users] X100P dial out problem

Piero Baudino pbaudino at formatnet.it
Wed Aug 17 12:12:56 MST 2005


Hi Tzafrir,

thanks for your reply...
Here is what happens when I make the call:

pbx*CLI> zap show channels
   Chan Extension  Context         Language   MusicOnHold
 pseudo            incoming        it
      1            incoming        it
    -- Executing NoOp("SIP/6601-5d39", ""Call for "91234567") in new
stack
    -- Executing Dial("SIP/6601-5d39", "Zap/1/91234567") in new stack
    -- Called 1/91234567
    -- Zap/1-1 answered SIP/6601-5d39
    -- Hungup 'Zap/1-1'
  == Spawn extension (x-lite, 912334567, 2) exited non-zero on
'SIP/6601-5d39'
    -- Unregistered SIP '6601'
pbx*CLI> exit

The Hangup happens when I hangup from XLITE.

Here is my conf:
/etc/asterisk/zapata.conf

[channels]
language=it
signalling=fxs_ks
context=incoming
channel=>1

/etc/asterisk/extensions.conf
[incoming]
exten => s,1,Dial(SIP/6601&SIP/6602&SIP/6603,20,tr)  ; corresponding
clients must be configured in sip.conf
exten => s,2,Playback(vm-goodbye)
exten => s,3,Hangup

[outgoing]
exten => _9X.,1,NoOp("Call for "${EXTEN})
exten => _9X.,2,Dial(Zap/1/${EXTEN})

[x-lite]  ; Note: SIP extensions are defined here as "66" followed by any
two digits
exten => _66XX,1,NoOp("Call for "${EXTEN})
exten => _66XX,2,Dial(SIP/${EXTEN})
exten => _66XX,3,Congestion
include => outgoing

/etc/asterisk/sip.conf
port=5060
context=default
srvlookup=yes
dtmfmode=inband
allow=aLaw
allow=uLaw
allow=gsm

[6601]
type=friend
secret=password
host=dynamic
;dtmfmode=rfc2833
context=x-lite
callerid="Piero" <6601>
allow=aLaw
allow=uLaw
allow=gsm

Thanks.
PieroB




More information about the asterisk-users mailing list