Author |
Message |
epascual Brekeke Member
Joined: 03 Sep 2015 Posts: 22
Location: Spain
|
Posted: Mon Dec 19, 2016 1:49 am Post subject: Include Header in every SIP message |
|
|
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. |
|
Back to top |
|
redroof Brekeke Talented
Joined: 16 Nov 2007 Posts: 97
|
Posted: Mon Dec 19, 2016 11:59 am Post subject: |
|
|
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? |
|
Back to top |
|
epascual Brekeke Member
Joined: 03 Sep 2015 Posts: 22
Location: Spain
|
Posted: Tue Dec 20, 2016 3:39 am Post subject: |
|
|
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? |
|
Back to top |
|
redroof Brekeke Talented
Joined: 16 Nov 2007 Posts: 97
|
Posted: Tue Dec 20, 2016 11:10 am Post subject: |
|
|
Put this rule in the top of the DialPlan.
Matching Patterns | $request = ^INVITE
| Deploy Patterns | WG67-version = phone.01 $continue = true
|
|
|
Back to top |
|
|