Slartibartfast Posted December 12, 2013 Report Share Posted December 12, 2013 Hi, Is there any detailed information on the trunk custom headers? What I am looking to find is how much intelligence is built into the {if.... statement with custom headers? I am looking to do something like IF to-user =~"^sip:1410[0-9]*@.*" HeaderRpi: = "" else HeaderRpi: = "01234567890" i.e if the dialled number begins with 141 remove the RPID field else fill it with a number also I would need to strip the 141 from the dialled digits sent to the carrier. Any help with the correct syntax would be appreciated Regards, Mike Quote Link to comment Share on other sites More sharing options...
Vodia support Posted December 12, 2013 Report Share Posted December 12, 2013 Hi, Please refer to out online documentation on custom headers. http://wiki.snomone.com/index.php?title=Trunk_Custom_Headers Quote Link to comment Share on other sites More sharing options...
Slartibartfast Posted December 12, 2013 Author Report Share Posted December 12, 2013 I had looked at this page before posting but I must be missing something I can see nothing on this page that gives any information regarding the "if" statement and the syntax for commands Regards, Mike Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.