[asterisk-users] callfiles.call

2014-01-31 Thread Salaheddine Elharit
hello list,

i have created a callfiles with my asterisk 1.4.43 like:

Channel: SIP/watara/06
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/0661xx
MaxRetries: 10
RetryTime: 5
WaitTime: 20
Context: mycontext
Extension: s
Priority: 1

Channel: SIP/watara/0669xx
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
-- 
_
-- 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

Re: [asterisk-users] callfiles.call

2014-01-31 Thread Daniel Jenkins
On Fri, Jan 31, 2014 at 6:16 PM, Salaheddine Elharit 
salah.elharit...@gmail.com wrote:

 hello list,



Hi



 i have created a callfiles with my asterisk 1.4.43 like:

 Channel: SIP/watara/06
 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/0661xx
 MaxRetries: 10
 RetryTime: 5
 WaitTime: 20
 Context: mycontext
 Extension: s
 Priority: 1

 Channel: SIP/watara/0669xx
 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



 any help please

 thanks and regards


Dan



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

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

Re: [asterisk-users] callfiles.call

2014-01-31 Thread Steve Edwards

On Fri, 31 Jan 2014, Salaheddine Elharit wrote:

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   sedwa...@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

Re: [asterisk-users] callfiles.call

2014-01-31 Thread Steve Edwards

On Fri, 31 Jan 2014, Steve Edwards wrote:

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   sedwa...@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