VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
salah.elharit200 at gm... Guest
|
Posted: Fri Jan 31, 2014 1:15 pm Post subject: [asterisk-users] callfiles.call |
|
|
hello list,
i have created a callfiles with my asterisk 1.4.43 like:
Channel: SIP/watara/06xxxxxxxx
MaxRetries: 10
RetryTime: 5
WaitTime: 20
Context: mycontext
Extension: s
Priority: 1
extensions.conf
mycontext
exten => s,1,Ringing()
exten => s,n,Playback(hello-world)
exten => s,n,Dial(SIP/105)
exten => s,n,Hangup()
it works with one number how can i do in order to create a callfiles with a lot of numbers
i try to create a callfiles.call like that
Channel: SIP/watara/0661xxxxxx
MaxRetries: 10
RetryTime: 5
WaitTime: 20
Context: mycontext
Extension: s
Priority: 1
Channel: SIP/watara/0669xxxxxx
MaxRetries: 10
RetryTime: 5
WaitTime: 20
Context: mycontext
Extension: s
Priority: 1
but he call only the last number,
any help please
thanks and regards |
|
Back to top |
|
|
dan.jenkins88 at gmail... Guest
|
Posted: Fri Jan 31, 2014 1:25 pm Post subject: [asterisk-users] callfiles.call |
|
|
On Fri, Jan 31, 2014 at 6:16 PM, Salaheddine Elharit <salah.elharit200@gmail.com (salah.elharit200@gmail.com)> wrote:
Hi
Quote: |
i have created a callfiles with my asterisk 1.4.43 like:
Channel: SIP/watara/06xxxxxxxx
MaxRetries: 10
RetryTime: 5
WaitTime: 20
Context: mycontext
Extension: s
Priority: 1
extensions.conf
mycontext
exten => s,1,Ringing()
exten => s,n,Playback(hello-world)
exten => s,n,Dial(SIP/105)
exten => s,n,Hangup()
it works with one number how can i do in order to create a callfiles with a lot of numbers
i try to create a callfiles.call like that
Channel: SIP/watara/0661xxxxxx
MaxRetries: 10
RetryTime: 5
WaitTime: 20
Context: mycontext
Extension: s
Priority: 1
Channel: SIP/watara/0669xxxxxx
MaxRetries: 10
RetryTime: 5
WaitTime: 20
Context: mycontext
Extension: s
Priority: 1
but he call only the last number,
|
From my limited knowledge about call files, you need 1 file per call.
So you'd make two files in this instance,
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Call+Files
I may be wrong, if I am, someone will tell me so, but I'm pretty sure it's 1 file per call you want, as each file has 1 set of instructions for the dialplan
Quote: |
any help please
thanks and regards
|
Dan
|
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Fri Jan 31, 2014 2:00 pm Post subject: [asterisk-users] callfiles.call |
|
|
On Fri, 31 Jan 2014, Salaheddine Elharit wrote:
Quote: | it works with one number how can i do in order to create a callfiles
with a lot of numbers
|
You don't.
A call file is a request to call a channel and when the channel answers,
either call another channel or execute an application.
Thus, you need a separate call file for every call.
One thing to watch for: create the call file on the same file system as
your outgoing spool directory in a temporary directory and then 'mv' the
file to your outgoing spool directory.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Fri Jan 31, 2014 2:22 pm Post subject: [asterisk-users] callfiles.call |
|
|
On Fri, 31 Jan 2014, Steve Edwards wrote:
Quote: | A call file is a request to call a channel and when the channel answers,
either call another channel or execute an application.
|
Sorry. Need another cup of tea.
A call file is a request to call a channel and when the channel answers,
either enter your dialplan or execute an application.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|