Search This Blog

Wednesday, June 10, 2015

Sonus SBC SIP message manipulation

Nice article explaining how to build SIP manipulation rules in Sonus:

http://dmunified.com/2015/02/17/manipulate-to-header-field-into-invite-request-line-uri/


Must do for some SIP operators in Singapore. they require RequestURI to be formated in certain way, and P-asserted to be the same as TO field.

Raw Message Rule

Match Regex: @172.31.119.249:5060;user=phone
Replace Regex: @xxx.net.sg;user=phone

Header Rule

Header Action: Modify
Header Name: p-asserted-identity
Header Ordinal Number: 1st

Header Value: Modify
Type of Value: Token
Value: from.uri



No comments: