Probably just a simple syntax issue, but does anyone know how to dial a number and the once phone has been answered, play DTMF tones and then disconnect. I am trying to use this for page notification. Ive been trying the following string with out luck: exten => s,2,Dial(SIP/TelaSip-gw4/5198881212|D(12345678) Any help would be greatly appreciated! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070224/a6865d0f/attachment-0001.htm
I don't think you need the pipe in there. I've used this with the "w" option before, which adds a wait. Then continues .5 seconds later. RTM: http://www.voip-info.org/wiki-Asterisk+cmd+dial Try these: exten => s,2,Dial(SIP/TelaSip-gw4/5198881212D12345678) or exten => s,2,Dial(SIP/TelaSip-gw4/5198881212www12345678) also, you were missing a right parenth. -----Original Message----- From: asterisk-users-bounces@lists.digium.com on behalf of Supa Sent: Sat 2/24/2007 9:05 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] dial a pager and enter DTMF Probably just a simple syntax issue, but does anyone know how to dial a number and the once phone has been answered, play DTMF tones and then disconnect. I am trying to use this for page notification. Ive been trying the following string with out luck: exten => s,2,Dial(SIP/TelaSip-gw4/5198881212|D(12345678) Any help would be greatly appreciated! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070224/d7396e9c/attachment.htm
Buy a cap code from the paging provider and program that cap into the group of pagers that way when you page that cap code all of the pagers will trip. Best regards, Al Bochter Bochter Services http://www.BochterServices.com/?t=Email Supa wrote:> is there a way to pipe the dial command with SendDTMF(123456) > > What I am trying to do is dial an extension and have it page a group > of pagers with the same number. Saving a lot of time over dial each > one manually by hand. > >------------------------------------------------------------------------ > >_______________________________________________ >--Bandwidth and Colocation provided by Easynews.com -- > >asterisk-users mailing list >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >------------------------------------------------------------------------ > > > >---------------------------------------------------- >Inbound (clean). Database: 000716-3, 02/23/2007 - 2/24/2007 9:12:09 PM > > > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070224/3a36e6ca/attachment.htm
Supa wrote:> Probably just a simple syntax issue, but does anyone know how to dial > a number and the once phone has been answered, play DTMF tones and > then disconnect. I am trying to use this for page notification. > > Ive been trying the following string with out luck: > > exten => s,2,Dial(SIP/TelaSip-gw4/5198881212|D(12345678)I think what you are missing is the timeout parameter. The dial command is... Dial(type/identifier, timeout, options) So you would want something like: exten => s,2,Dial(SIP/TelaSip-gw4/5198881212|120|D(12345678)) which would give you a two minute timeout Also, you are indeed missing a right paren on the end, which I added in the line above. </edg>
>From: Supa <thezerogroup@gmail.com> >Date: Sat, 24 Feb 2007 10:05:06 -0500 > >Probably just a simple syntax issue, but does anyone know how to dial a >number and the once phone has been answered, play DTMF tones and then >disconnect. I am trying to use this for page notification. > >Ive been trying the following string with out luck: > >exten => s,2,Dial(SIP/TelaSip-gw4/5198881212|D(12345678)Indeed simply syntax issueS. First, the above is missing a right parenthesis as others pointed out. Second, you need to leave a blank timeout field if you don't use timeout. Third, check the syntax to call TelaSip-gw4; some providers use 5198881212@TelaSip-gw4 to specify number 5198881212. So Dial(SIP/TelaSip-gw4/5198881212,,D(12345678)) or Dial(SIP/5198881212@TelaSip-gw4,,D(12345678)) I did a little test and D() tag sent DTMF correctly so it's the right tool for you. Hope this helps. Yuan Liu>Any help would be greatly appreciated!
Thanks that worked, but it still tries to bridge call after dtmf, then fails instead of moving on to next number to dial and page On 2/25/07, Eric ManxPower Wieling <eric@fnords.org> wrote:> > Supa wrote: > > this dials, and upon answers plays dtmf tones, but does not auto > > disconnect: > > > > exten => s,2,Dial(SIP/TelaSip-gw4/5198881212,15,D(12345678),S(8)) > > > > and this disconnects after 8 secs, but does not play dtmf: > > > > exten => s,2,Dial(SIP/TelaSip-gw4/5198881212,15,S(8),D(12345678)) > > > > > > any ideas of what wrong with the above syntax > > exten => s,2,Dial(SIP/TelaSip-gw4/5198881212,15,S(8)D(12345678)) > > NO commas. > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070225/d4749270/attachment.htm
Supa wrote:> Thanks that worked, but it still tries to bridge call after dtmf, then > fails instead of moving on to next number to dial and page >So tack on a "g" to the end of your dial strong, to continue along the dial plan upon disconnect.