[asterisk-users] Call File Channel

2009-08-12 Thread David Gibbons
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

Re: [asterisk-users] Call File Channel

2009-08-12 Thread Danny Nicholas
Exten = s,1,Dial(SIP/trunk_x/#1SIP/trunk_y/#2ZAP/g1/#3,60)

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] 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

Re: [asterisk-users] Call File Channel

2009-08-12 Thread David Gibbons
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: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] 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/#1SIP/trunk_y/#2ZAP/g1/#3,60)


From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] 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

Re: [asterisk-users] Call File Channel

2009-08-12 Thread Danny Nicholas
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: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] 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: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] 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/#1SIP/trunk_y/#2ZAP/g1/#3,60)

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] 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

Re: [asterisk-users] Call File Channel

2009-08-12 Thread David Gibbons
Context: is what the call is dumped into after it is answered, at extension 
Extension:. I don't think it's related to how the call is placed.

I can dial the local extension SIP/170 but I'm not sure where that gets me.

Basically I want to have the same failover that I have for all other outgoing 
calls on these automatic calls...

Thanks
Dave

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Wednesday, August 12, 2009 5:17 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Call File Channel

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: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] 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: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] 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/#1SIP/trunk_y/#2ZAP/g1/#3,60)


From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] 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

Re: [asterisk-users] Call File Channel

2009-08-12 Thread Danny Nicholas
Your'e wanting control of the call from a call file.  The way to do that is
to call using a context instead of a Technology/number.  

When you call SIP/trunk_1, you are using the default context and therefore
don't have any fallthrough options unless you wrote them into your default
context.  If your default context allows dynamic handling on fallthrough,
you would probably still want to call number 1 using a context.  I used
SIP/170 as an example; you could use SIP/trunk1/#1 just as easily.

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of David Gibbons
Sent: Wednesday, August 12, 2009 4:21 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Call File Channel

 

Context: is what the call is dumped into after it is answered, at extension
Extension:. I don't think it's related to how the call is placed.

 

I can dial the local extension SIP/170 but I'm not sure where that gets me.

 

Basically I want to have the same failover that I have for all other
outgoing calls on these automatic calls.

 

Thanks

Dave

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas
Sent: Wednesday, August 12, 2009 5:17 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Call File Channel

 

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: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] 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: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] 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/#1SIP/trunk_y/#2ZAP/g1/#3,60)

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] 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

Re: [asterisk-users] Call File Channel

2009-08-12 Thread Duncan Turnbull
If you use a Local channel to dial it then it will fall under the same rules

Channel: Local/numbertod...@the-context-you-want

This gets a CDR produced, it does pay to check everything works the same 
but it should be fine

Cheers Duncan

David Gibbons wrote:

 Context: is what the call is dumped into after it is answered, at 
 extension Extension:. I don’t think it’s related to how the call is 
 placed.

 I can dial the local extension SIP/170 but I’m not sure where that 
 gets me.

 Basically I want to have the same failover that I have for all other 
 outgoing calls on these automatic calls…

 Thanks

 Dave

 *From:* asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com] *On Behalf Of *Danny 
 Nicholas
 *Sent:* Wednesday, August 12, 2009 5:17 PM
 *To:* 'Asterisk Users Mailing List - Non-Commercial Discussion'
 *Subject:* Re: [asterisk-users] Call File Channel

 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:* asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com] *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:* asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com] *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/#1SIP/trunk_y/#2ZAP/g1/#3,60)

 

 *From:* asterisk-users-boun...@lists.digium.com 
 [mailto:asterisk-users-boun...@lists.digium.com] *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

___
-- 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


Re: [asterisk-users] Call File Channel

2009-08-12 Thread David Gibbons
Duncan and Danny--

Thank you! I believe the Local/ is what I was missing with ex...@context.

-Dave

From: asterisk-users-boun...@lists.digium.com 
[asterisk-users-boun...@lists.digium.com] On Behalf Of Duncan Turnbull 
[dun...@e-simple.co.nz]
Sent: Wednesday, August 12, 2009 5:42 PM
To: Asterisk Users Mailing List - 
Non-Cohttps://mail.videon-central.net/owa/?ae=PreFormActiont=IPM.Notea=Replyid=RgDvdntYewg%2bRopom4XHVQiWBwDABk4e%2fzVQQKMcsNSFUOsuAE10SQAHAAD54%2bBr%2fe7oQrgyh88yX6qLANRp8a4EAAAJ#mmercial
 Discussion
Subject: Re: [asterisk-users] Call File Channel

If you use a Local channel to dial it then it will fall under the same rules

Channel: Local/numbertod...@the-context-you-want

This gets a CDR produced, it does pay to check everything works the same
but it should be fine

Cheers Duncan

David Gibbons wrote:

 Context: is what the call is dumped into after it is answered, at
 extension Extension:. I don’t think it’s related to how the call is
 placed.

 I can dial the local extension SIP/170 but I’m not sure where that
 gets me.

 Basically I want to have the same failover that I have for all other
 outgoing calls on these automatic calls…

 Thanks

 Dave

 *From:* asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] *On Behalf Of *Danny
 Nicholas
 *Sent:* Wednesday, August 12, 2009 5:17 PM
 *To:* 'Asterisk Users Mailing List - Non-Commercial Discussion'
 *Subject:* Re: [asterisk-users] Call File Channel

 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:* asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] *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:* asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] *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/#1SIP/trunk_y/#2ZAP/g1/#3,60)

 

 *From:* asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] *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

___
-- 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

___
-- 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