To modify sip headers
Moderator: Brekeke Support Team
To modify sip headers
1. Brekeke Product Name and version:
BSS, 2.4.8.6, 3.1.7.8
2. Java version:
1.6.0_25, 1.6.0_45
3. OS type and the version:
linux centos 5.5
4. UA (phone), gateway or other hardware/software involved:
doesn't matter
5. Your problem:
Could BSS modify SIP headers that are a part of non-INVITE messages?
In other words, i would like to modify some headers in OK message that is within the sip dialog.
I tried with $request and $response but without any success.
Thanks in advance for any hint.
BSS, 2.4.8.6, 3.1.7.8
2. Java version:
1.6.0_25, 1.6.0_45
3. OS type and the version:
linux centos 5.5
4. UA (phone), gateway or other hardware/software involved:
doesn't matter
5. Your problem:
Could BSS modify SIP headers that are a part of non-INVITE messages?
In other words, i would like to modify some headers in OK message that is within the sip dialog.
I tried with $request and $response but without any success.
Thanks in advance for any hint.
Hello,
One more question has just crossed my mind.
How can i modify some headers but only inside BYE message?
The rest of sip messages should be left unchanged.
I know that BYE is mid-session request and dialplan matched only requests which have unique Call-ID, thereby i cannot use:
request=^BYE in this case.
Is there any wayout here? (i need to strip Contact header in BYE request).
Thx in advance
One more question has just crossed my mind.
How can i modify some headers but only inside BYE message?
The rest of sip messages should be left unchanged.
I know that BYE is mid-session request and dialplan matched only requests which have unique Call-ID, thereby i cannot use:
request=^BYE in this case.
Is there any wayout here? (i need to strip Contact header in BYE request).
Thx in advance