[Asterisk-Users] Direct Channel Answering

Cameron Beattie kjcsb at orcon.net.nz
Wed Apr 6 22:52:23 MST 2005


In zapata.conf you can associate the channel with a context. So create 
different contexts for each channel. I s'pose you can do that for PRI or 
whatever.

Regards

Cameron
----- Original Message ----- 
From: "David Choo" <DavidChoo at espore.com>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" 
<asterisk-users at lists.digium.com>
Sent: Thursday, April 07, 2005 2:42 PM
Subject: [Asterisk-Users] Direct Channel Answering


> Dear All,
>
> I'm trying to achieve the following with asterisk, would like to seek your
> kind advise.
>
> 1: All calls to Channel 8 will go to extension 112
> 2: All calls to Channel 12 will go to extension 113
>
> I've tried to read README.varibles and voip-info. It don't seem to help
> much, would just like some kind soul to help me out on this. Thanks!
>
> Here are my extension.conf entries.
>
> [incoming]
> exten = s,1,GotoIf($[${CHANNEL:8:1} = 8]?local-extensions,112,1:)
> exten = s,n,GotoIf($[${CHANNEL:12:1} = 8]?local-extensions,113,1:)
>
> Best Regards,
>
> ==============================
> David Choo
> Systems Engineer
> Business & Technology Division
> "Engineered for Changing Businesses"
> Espore Corp Pte Ltd
> 68 Kallang Pudding Rd
> #04-03 SYH Logistics Bldg
> Singapore 349327
> Tel: 65-68487806
> Fax : 65-6842 2724
> E-mail :DavidChoo at Espore.com
> =============================
>
> Privileged/Confidential information may be contained in this message. If
> you are not the intended recipient, you must not copy it or use it for any
> purpose, nor deliver this message to anyone. Instead, please delete this
> message and destroy any other record of it immediately and kindly notify
> the sender by return email. Thank you for your co-operation.
>
> Internet communications cannot be guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, arrive late, or contain
> viruses. The sender therefore does not accept liability for any errors or
> omissions in the context of this message nor can the sender guarantee that
> this message is virus free.
>
> _______________________________________________
> 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