BABY appears to be a global variable in your example.
In your CLI output testcarrier is a peer, It's not a variable at all.
The context field for your peer testcarrier is where incoming calls from
testcarrirer will be routed to.
Here is some example dialplan showing how you can use one context
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
On Wed, 08 Apr 2015 16:10:30 -0700
thufir hawat.thu...@gmail.com wrote:
I want to do something like:
exten = _NXXXNxx,1,Dial(${BABY}/${EXTEN})
exten = _Nxx,1,Dial(${BABY}/${EXTEN})
exten = _1NXXNxx,1,Dial(${BABY}/${EXTEN})
exten = _011.,1,Dial(Dial({TOLL}/${EXTEN})
exten =
I want to do something like:
exten = _NXXXNxx,1,Dial(${BABY}/${EXTEN})
exten = _Nxx,1,Dial(${BABY}/${EXTEN})
exten = _1NXXNxx,1,Dial(${BABY}/${EXTEN})
exten = _011.,1,Dial(Dial({TOLL}/${EXTEN})
exten = _9NXXXNxx,1,Dial(${BABY}/${EXTEN})
exten = _9Nxx,1,Dial(${BABY}/${EXTEN})