[Asterisk-Users] Re: pbx or asterisk?
Sean Cook
scook at kinex.net
Thu Dec 1 09:29:01 MST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pablo Allietti wrote:
> On Wed, Nov 30, 2005 at 01:17:33PM -0500, Sean Cook wrote:
>
> Looks like your zap channels are droping into the default context...
> better to set up a from-pstn context and start there.
>
>
>
>
>> hi sean.... you have a example please?
sure... this will at least get you going in the right direction... the
context will dump all variables into debug (noop) so you can find out
how the system is passing DID into the system.
in zapata.conf
[channels]
context=from-pstn
in extensions.conf
[from-pstn]
exten => s,1,Noop(ACCOUNTCODE=${ACCOUNTCODE})
exten => s,2,Noop(ANSWEREDTIME=${ANSWEREDTIME})
exten => s,3,Noop(BLINDTRANSFER=${BLINDTRANSFER})
exten => s,4,Noop(CALLERID=${CALLERID})
exten => s,5,Noop(CALLERIDNAME=${CALLERIDNAME})
exten => s,6,Noop(CALLERIDNUM=${CALLERIDNUM})
exten => s,7,Noop(CALLINGPRES=${CALLINGPRES})
exten => s,8,Noop(CHANNEL=${CHANNEL})
exten => s,9,Noop(CONTEXT=${CONTEXT})
exten => s,10,Noop(DATETIME=${DATETIME})
exten => s,11,Noop(DIALEDPEERNAME=${DIALEDPEERNAME})
exten => s,12,Noop(DIALEDPEERNUMBER=${DIALEDPEERNUMBER})
exten => s,13,Noop(DIALEDTIME=${DIALEDTIME})
exten => s,14,Noop(DIALSTATUS=${DIALSTATUS})
exten => s,15,Noop(DNID=${DNID})
exten => s,16,Noop(EPOCH=${EPOCH})
exten => s,17,Noop(EXTEN=${EXTEN})
exten => s,18,Noop(HANGUPCAUSE=${HANGUPCAUSE})
exten => s,19,Noop(INVALID_EXTEN=${INVALID_EXTEN})
exten => s,20,Noop(LANGUAGE=${LANGUAGE})
exten => s,21,Noop(MEETMESECS=${MEETMESECS})
exten => s,22,Noop(PRIORITY=${PRIORITY})
exten => s,23,Noop(RDNIS=${RDNIS})
exten => s,24,Noop(SIPDOMAIN=${SIPDOMAIN})
exten => s,25,Noop(SIP_CODEC=${SIP_CODEC})
exten => s,26,Noop(SIPCALLID=${SIPCALLID})
exten => s,27,Noop(SIPUSERAGENT=${SIPUSERAGENT})
exten => s,28,Noop(TIMESTAMP=${TIMESTAMP})
exten => s,29,Noop(TXTCIDNAME=${TXTCIDNAME})
exten => s,30,Noop(UNIQUEID=${UNIQUEID})
exten => s,31,Noop(TOUCH_MONITOR=${TOUCH_MONITOR})
exten => s,32,Noop(MACRO_CONTEXT=${MACRO_CONTEXT})
exten => s,33,Noop(MACRO_EXTEN=${MACRO_EXTEN})
exten => s,34,Noop(MACRO_PRIORITY=${MACRO_PRIORITY})
>
>
>
>
>
> Pablo Allietti wrote:
>
>>hi all i have a pbx siemens connect via E1 to my asterisk box.
>
>>the asterisk box can call without problems to pbx extensions. but when y
>>press the numbers form example 402 in the pbx phones asterisk give me
>>this
>
>> -- Saved useragent "X-Lite release 1103m" for peer 402
>> -- Going to extension s|1 because of Complete received
>> -- Executing Playback("Zap/31-1", "vm-goodbye") in new stack
>> -- Accepting call from '' to 's' on channel 0/31, span 1
>> == Spawn extension (default, s, 1) exited non-zero on 'Zap/31-1'
>> -- Hungup 'Zap/31-1'
>
>
>> -- Accepting call from '' to 's' on channel 0/31, span 1 <<<< did not
>>receive any number or i have miss configure somenthing in asterisk box?
>
_______________________________________________
- --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
> ---end quoted text---
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDjyTNy9wPyZpnL2URAut9AJ4uLaBTCNRubyXw85UfjDj8Q+PV7ACfSsE/
RF6YwlkIYlWszKY6M7Ajcdw=
=bO1B
-----END PGP SIGNATURE-----
More information about the asterisk-users
mailing list