Thank you for your answer Steve, Well I want to do this automatically... I mean if I want to route 0xxxxx through peer-account (which is pin protected), everything to be automatically. In fact i route through SIPURA SPA3102 Linksys fxo/fxs device , so my device will answer and wait for my pin, if is ok wait for number to be called. Anyway did you know how can i send dtmf after is answered?
Thank you. On Sat, May 9, 2009 at 11:45 PM, Steve Totaro <[email protected]> wrote: > > > On Sat, May 9, 2009 at 4:22 PM, Catalin S. <[email protected]> wrote: >> >> Hello ppl, >> >> I want to make a special dial plan for routing calls to a peer which >> has an pin protection. >> Normally if you want to call through that peer you must first enter >> pin for example 1234# >> and after that you hear the tone from line and after that you can dial >> desired numbers. >> >> I tried something like that, but doesn't worked. Did somebody have some >> clues? >> >> exten => 0X.,n(dial1),Dial(SIP/peer-account/1234#${0xxxxxxxxx},15,rt) >> >> Thank you guys for any help. I appreciate. >> > > Start with an Answer() and then lose the r from your dial string. That > should allow you to press the code in. > > If you want to hard code it, use dial and then probably Wait() followed by > senddtmf. > > -- > Thanks, > Steve Totaro > +18887771888 (Toll Free) > +12409381212 (Cell) > +12024369784 (Skype) > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > 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 -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
