Jump to content

Trunk Custom Headers


Slartibartfast

Recommended Posts

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

 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...