Ok.  Here's how you would do that:

 

Channel: SIP/170 (some local extension)

CallerID: SIP/104 (another local extension)

MaxRetries: 1

WaitTime: 60

retryTime: 5

Context: your_context

Extension: s

 

This should create an extension call using your context.  The context can
then dial out as you write it.

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of David Gibbons
Sent: Wednesday, August 12, 2009 4:10 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Call File Channel

 

Thanks Danny,

 

I do have a dial cmd with multiple arguments in my normal outgoing context.
I guess my question really is:

 

How do I tell the call file using "Channel: XXX" to use my outgoing context
instead of Zap/g1/xx or sip/trunk_x/xx directly?

 

-Dave

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Danny Nicholas
Sent: Wednesday, August 12, 2009 5:05 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Call File Channel

 

Exten => s,1,Dial(SIP/trunk_x/#1&SIP/trunk_y/#2&ZAP/g1/#3,60)

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of David Gibbons
Sent: Wednesday, August 12, 2009 3:59 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Call File Channel

 

I know I'm missing something here (been a long day).

 

How can I specify more than one channel in a call file?

 

I want to dial SIP/trunk_x and fail to SIP/trunk_y and fail to ZAP/g1.

 

Thanks

Dave

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to