Displaying 2 results from an estimated 2 matches for "local_201".
Did you mean:
local_200
2015 Apr 08
2
dial out with channel variable; sub-string usage
...ut
but that seems circular, somehow.
inbound calls work fine:
[inbound-calls]
exten => 16046289850,1,Dial(SIP/200)
[local_200]
exten => _9x.,1,Set(CALLERID(all)="Ali Baba" <123456789>)
exten => _9x.,1,Dial(SIP/${EXTEN:1}@babytel_out)
exten => 201,1,Dial(SIP/201)
[local_201]
exten => 200,1,Dial(SIP/200)
in local_200, that just seems suspect. Yes, dial out, but shouldn't it
be using BABY? I don't understand why it's using sub-string with the 1.
thanks,
Thufir
2015 Apr 09
0
dial out with channel variable; sub-string usage
...lls work fine:
>
> [inbound-calls]
> exten => 16046289850,1,Dial(SIP/200)
>
> [local_200]
> exten => _9x.,1,Set(CALLERID(all)="Ali Baba" <123456789>)
> exten => _9x.,1,Dial(SIP/${EXTEN:1}@babytel_out)
> exten => 201,1,Dial(SIP/201)
>
> [local_201]
> exten => 200,1,Dial(SIP/200)
>
>
> in local_200, that just seems suspect. Yes, dial out, but shouldn't
> it be using BABY? I don't understand why it's using sub-string with
> the 1.
That's a different syntax for the same thing. These three lines all do...