Posted: Sun May 10, 2009 3:34 am Post subject: [asterisk-dev] Special Dialplan
Quote:
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?
I suppose that an answer comes from the peer before the PIN can be entered ?
It's obvious for the typical two-stage dialling systems (DISA etc.).
If this is the case, try this:
Explanation:
- Nothing is sent as a primary number
- After an answer comes back, a PIN, 0.5 second pause and your number is sent
forward (I don't understand your example with ${0xxxxxxxxxx}).
With regards, Pavel Troller
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
In that example I wanted that for extensions 1020, 2008, 1012 and 8000
to use a spa3102 fxs/fxo and dial through that authenticated line with
pin 1234.
For the rest i want to use another voippeer account. Thank you for all...
On Sun, May 10, 2009 at 7:21 AM, Pavel Troller <patrol@sinus.cz> wrote:
Quote:
> 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.
>
Hi!
I suppose that an answer comes from the peer before the PIN can be entered ?
It's obvious for the typical two-stage dialling systems (DISA etc.).
If this is the case, try this:
Explanation:
- Nothing is sent as a primary number
- After an answer comes back, a PIN, 0.5 second pause and your number is sent
forward (I don't understand your example with ${0xxxxxxxxxx}).
With regards, Pavel Troller
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum