Forums Read-only archive

Include Header in every SIP message

4 posts · Brekeke SIP Server Forum

epascual Original post
1. Brekeke Product Name and Version:

BPX SIP Server Version 3.5.3.4

2. Java version:

1.7.0_85

3. OS type and the version:

CENTOS server 6.7

4. UA (phone), gateway or other hardware/software involved:

5. Your problem:

My Brekeke PBX and SIP server is integrated in a VoIP network that require a header in every SIP message.
Is it possible including a header in every SIP message?
Is there a field in the PBX configuration or the SIP server configuration, or is there a environment variable where I could define headers that are included in every SIP message?

Thank you in advance.
redroof
You can add any SIP header with Deploy Patterns.

For example:
[Deploy Patterns]
X-My-Header = my value


What kind of SIP header and value do you want to add in SIP packet?
epascual
I want to add the Header "WG67-version=phone.01" in all SIP messages.
Can I add a rule in Dial Plan for all requests?
redroof
Put this rule in the top of the DialPlan.
[Matching Patterns]
$request = ^INVITE

[Deploy Patterns]
WG67-version=phone.01
$continue = true