Can Brekeke Sip Gateway add new SIP headers in the SIP Frame

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
lperezu
Posts: 26
Joined: Mon Aug 19, 2013 10:44 am
Location: Lima

Can Brekeke Sip Gateway add new SIP headers in the SIP Frame

Post by lperezu »

1. Brekeke Product Name and Version: Brekeke SIP Server , Version 3.2.2.9 Evaluation

2. Java version:

3. OS type and the version: Windows

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

5. Your problem:

Can Brekeke Sip Gateway add new SIP headers in the SIP Frame?

In the Dial Plan / Deploy Patterns I configured:

$response=302
NEW_DATA=THIS IS A TEST
Contact=sip:808080@IP_ADDRESS

I need to add the header NEW_DATA in the frame (NEW_DATA not exist in frame) but when I Test, the header is not present in the SIP Message Header.

Can you healpme please?
cocoa
Posts: 7
Joined: Thu Feb 12, 2009 1:18 pm
Location: Japan

Post by cocoa »

Is it for the response 302?

Try this.
[Deploy Patterns]
$response = 302
_NEW_DATA = THIS IS A TEST
_Contact = sip:808080@IP_ADDRESS
lperezu
Posts: 26
Joined: Mon Aug 19, 2013 10:44 am
Location: Lima

Post by lperezu »

Cocoa, Thanks for your reply

I tried your suggestion but the header NEW_DATA does not appear in frame redirected to the destination IP.

I'm trying to add the new header for a Call originated in a Softphone registered in brekeke Sip proxy who routed to another gateway previously adding the new Header to pass additional information to the call

My configuration is:

Matching Patterns:

$request = ^INVITE
To = sip:808080@

Deploy Patterns:

$response = 302
_user-to-user = THIS IS A TEST
_Contact = sip:808080@DEST_IP_ADDRESS

thanks for your help.

Sorry but my english is no good :)
cocoa
Posts: 7
Joined: Thu Feb 12, 2009 1:18 pm
Location: Japan

Post by cocoa »

Hi lperezu,

Are you sure that your DialPlan rule is matched??
Let you check it in the [Dial Plan History] page.
lperezu
Posts: 26
Joined: Mon Aug 19, 2013 10:44 am
Location: Lima

Post by lperezu »

Yes...

NVITE sip:808080@XX.XXX.XXX.205 SIP/2.0
Via: SIP/2.0/UDP XX.XXX.XXX.205:5050;branch=z9hG4bKABF5BB36421A470BF2AC455F08902F47;rport=5050
From: "10000" <sip:10000@XX.XXX.XXX.205>;tag=2D1DD309173D550D6C9529C0C4F5C3C7
To: <sip:808080@xx.XXX.XXX.205>
Contact: <sip:10000@XX.XXX.XXX.205:5050;transport=udp>
Call-ID: 7A29D69D8B691FA6AA6EC82CC2C2B508E860@10.252.195.205
Proxy-Authorization: Digest username="10000", realm="E-TEST3-3759", nonce="6277ea8b1210ed507403d13764513a3ddf61e429", uri="sip:808080@XX.XXX.XXX.205", response="b98a52a92c69d3d1c53055a71aa85458", algorithm=MD5
User-Agent: Kapanga Softphone Desktop Windows 1.00/2182d+1375735563_10604B6ADCDE_08002700C0EF (not registered)
Supported: timer, replaces
CSeq: 2 INVITE
Max-Forwards: 70
Session-Expires: 1800;refresher=uac
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Content-Type: application/sdp
Content-Length: 387

can you helpme with this problem?
cocoa
Posts: 7
Joined: Thu Feb 12, 2009 1:18 pm
Location: Japan

Post by cocoa »

Does the SIP Server return 302 with the new Contact header?
Post Reply