Displaying 1 result from an estimated 1 matches for "more_dialplan_stuff".
2008 Dec 15
3
Variables for dial plan
I want to have a arbitary named variable within the client's user details in
sip.conf
[client1]
dialplan=NZ
..........
In extensions.conf (Logic expressed using PHP style)
if ($dialplan == NZ) {
$NAT = 0;
$INT = 00;
};
and in the [outgoing] section
; Australia
exten => _${INT}61[278]NXXXXXX.,1,Set(CDR(UserField)=AUSTRALIA)
exten =>