Hello all !
I would like to add custom fields in sip.conf, so I can reuse them in the dialplan / extension.conf (to make routing decisions for instance or other logging activities)
Is this feasible ? no luck so far !
Many thanks for the help
J.
Hello all !
I would like to add custom fields in sip.conf, so I can reuse them in the dialplan / extension.conf (to make routing decisions for instance or other logging activities)
Is this feasible ? no luck so far !
Many thanks for the help
J.
Hi
what you are looking for is
; setvar setvar
;setvar=CUSTID=5678 ; Channel variable to be set for all calls from this device
for example
setvar=act_code=2206
Did you look in the example sip.conf ?
Ian
Damn… I did some googling, but “of course”, forgot to read once again sip.conf.example
Many Thanks, it does indeed do the trick,
J.