search for: babytel_out

Displaying 3 results from an estimated 3 matches for "babytel_out".

2015 Apr 08
2
dial out with channel variable; sub-string usage
...x,1,Dial(${BABY}/${EXTEN}) exten => _9Nxxxxxx,1,Dial(${BABY}/${EXTEN}) exten => _91NXXNxxxxxx,1,Dial(${BABY}/${EXTEN}) exten => _9011.,1,Dial(Dial({TOLL}/${EXTEN}) (adapted from the book) but don't know where to put those lines. I have BABY defined as channel variable: BABY = SIP/babytel_out 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) [lo...
2015 Apr 09
0
dial out with channel variable; sub-string usage
...1,Dial(${BABY}/${EXTEN}) > exten => _91NXXNxxxxxx,1,Dial(${BABY}/${EXTEN}) > exten => _9011.,1,Dial(Dial({TOLL}/${EXTEN}) > > (adapted from the book) > > > but don't know where to put those lines. I have BABY defined as > channel variable: > > BABY = SIP/babytel_out > > but that seems circular, somehow. You put them in the context for your clients... From what you show below, I'd say they go in the "local_200" context. You can verify this by looking in sip.conf, in the section that starts with [200], find the line that starts with "...
2015 Apr 13
1
dial out with channel variable; sub-string usage
On 15-04-09 12:06 PM, Chad Wallace wrote: >> but don't know where to put those lines. I have BABY defined as >> >channel variable: >> > >> >BABY = SIP/babytel_out >> > >> >but that seems circular, somehow. > You put them in the context for your clients... From what you show > below, I'd say they go in the "local_200" context. You can verify > this by looking in sip.conf, in the section that starts with [200], > fi...