Re: [asterisk-users] Paging for Praying
On Fri, 28 Dec 2012, Steve Edwards wrote: A call file is a text file that you create. The format is very specific. On Tue, 1 Jan 2013, bilal ghayyad wrote: * How can I know this format? Because I need to know what should I place in this file so it will execute Paging for this group of Phones? This may help: http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out How many customers will be receiving these reminders? * It is required that all the employers at the company to hear this on their IP Phones. In my experience, you can't just dump xxx call files into the outgoing directory. If you expect more than a dozen or so, you'll have to move them in blocks as they are processed. Another good reason to use AMI. You can 'schedule' a call file to be processed in the future by setting the file's 'mtime.' * Can you explain for me please? Create a file named fajr containing: application:playback channel:sip/bilal data: fajr-in-10-minutes Copy the file to a directory we assume is on the same file system as /var/spool/asterisk/outgoing/: cp\ fajr\ /var/spool/asterisk/tmp/ Set the file's 'mtime' touch\ --date='now + 2 minutes'\ --time=mtime\ /var/spool/asterisk/tmp/fajr Move it to the outgoing directory: mv\ /var/spool/asterisk/tmp/fajr\ /var/spool/asterisk/outgoing/ Your phone should ring in about 2 minutes. You may want to look into setting 'auto-answer' or some sort of 'overhead paging' with a very discreet sound file like a short, single beep. Please consider AMI if you are looking for a robust service. -- 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] Paging for Praying
> How many customers will be receiving these reminders? * It is required that all the employers at the company to hear this on their IP Phones. > What religion is this targeted to? * Islam. > A call file is a text file that you create. The format is > very specific. * How can I know this format? Because I need to know what should I place in this file so it will execute Paging for this group of Phones? > You can > 'schedule' a call file to be processed in the future by > setting the file's > 'mtime.' * Can you explain for me please? I am fully thanks. Regards Bilal -- > > > I have one more question: > > > > What was u meaning by call file and why it is required > to place them in > > the 'astspooldir.'? > > There are 2 methods of originating a call external to > Asterisk: call files > and the Asterisk Manager Interface (AMI). > > A call file is a text file that you create. The format is > very specific. > It could contain (in the context of your needs) the phone > number to dial > and the path of the file to play. A call file is kind of > like a 'message > in a bottle.' You cast it into the sea and hope for the > best. When this > file is "mv'ed" into the directory specified in the Asterisk > astspooldir > variable, Asterisk will read it and try to do what you want. > You can > 'schedule' a call file to be processed in the future by > setting the file's > 'mtime.' > > The Asterisk Manager Interface (AMI) is a TCP connection > between your > program and Asterisk. You can issue commands (like > originate) and receive > responses. AMI is more robust because you can make decisions > based on the > response. > > If robustness is not of primary importance, a script > scheduled by cron to > run after midnight could create the 5 call files for that > day, setting the > 'mtime' of each file before "mv'ing" the file to the > directory specified > by astspooldir -- usually /var/spool/asterisk/outgoing/ > > How many customers will be receiving these reminders? > > What religion is this targeted to? -- _ -- 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] $100 Bounty: Level 3/Asterisk/Adtran T.38 Pass-Through
Use "tcpdump" utility, capture all udp packets for the faulty t38 fax call. T38 works reliably since asterisk 1.6. Wireshark utility shows t38 signals so it is possible to debug it. From: Eric Wieling To: "brya...@zktech.com" ; Asterisk Users Mailing List - Non-Commercial Discussion Sent: Tuesday, January 1, 2013 12:10 AM Subject: Re: [asterisk-users] $100 Bounty: Level 3/Asterisk/Adtran T.38 Pass-Through Do you use faxdetect at all? I'm wondering if faxdetect is required for Asterisk to set CHANNEL(t38passthrough) to 1. It is set to zero on fax calls passing through Asterisk. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Bryant Zimmerman Sent: Thursday, December 27, 2012 6:52 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] $100 Bounty: Level 3/Asterisk/Adtran T.38 Pass-Through We process a lot of t.38 with Level 3 and our Asterisk servers. We do not prefer Adtran end points for t.38. Thanks Bryant Zimmerman (ZK Tech Inc.) 616-855-1030 Ext. 2003 From: "Danny Nicholas" Sent: Thursday, December 27, 2012 4:51 PM To: "Asterisk Users Mailing List - Non-Commercial Discussion" Subject: Re: [asterisk-users] $100 Bounty: Level 3/Asterisk/Adtran T.38 Pass-Through Not certain that you actually do. I do know that T.38 can be a "dental" experience with Asterisk, but some folks have succeeded with it. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Eric Wieling Sent: Thursday, December 27, 2012 3:37 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] $100 Bounty: Level 3/Asterisk/Adtran T.38 Pass-Through I was not aware you needed SpanDSP for T.38 passthrough.. How will that work with the UDPTL packets not going through Asterisk. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas Sent: Thursday, December 27, 2012 4:29 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] $100 Bounty: Level 3/Asterisk/Adtran T.38 Pass-Through #1 I assume you have spandsp installed #2 I'm guessing you got some hints from this thread - https://issues.asterisk.org/jira/browse/ASTERISK-18394 ? -- _ -- 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 -- _ -- 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