On Sat, May 9, 2009 at 4:22 PM, Catalin S. <jonsonplayer at gmail.com>
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20090509/5a9e01d5/attachment.htm