I’m running Asterisk 1.6 with FreePBX.
I need to be able to set the npdi and rn parameters in the To header on my SIP invites, however I can’t seem to get it working.
Using this code below in extentions_custom.conf:
[macro-dialout-trunk-predial-hook] exten => s,1,Set(__SIP_URI_OPTIONS=npdi=yes\;rn=8082900191) exten => s,n,MacroExit()
I can set the To header as such:
However I believe what I need to do is this:
Is this even possible? And if so can anybody help me do it?