[Asterisk-Users] X100P dial out problem

Jason Walker desktophero at gmail.com
Wed Aug 17 12:39:26 MST 2005


Shot in the dark....

Do you have to dial '9' on your outside line?

Perhaps if you changed your Dial command to this:

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

The :1 will drop the leading '9' when it hits the outside. If this is a
regular line, there should be no need for the '9'.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Piero Baudino
Sent: Wednesday, August 17, 2005 12:13 PM
To: Tzafrir Cohen
Cc: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] X100P dial out problem

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

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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




More information about the asterisk-users mailing list