cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6551
Views
1
Helpful
18
Replies

LUA Script to modify contact header

fgleanza
Level 1
Level 1

Dear, I need to make a script to modify the contact header field,


I need to remove the string "+ sip.instance =" <urn: uuid: 832028f41e6258c46e8de1e8dd3d6723360b5c74> "; reg-id = 1"

String before normalizing:

Contact: <sip: 3001@10.0.1.56: 50772>; + sip.instance = "<urn: uuid: 832028f41e6258c46e8de1e8dd3d6723360b5c74>"; reg-id = 1

String after normalizing

Contact: <sip: 3001@10.0.1.56: 50772>; q = 1

Could you help me put the script together?

Thank you very much

18 Replies 18

I'm not sure what this is, but you haven't shared an SDL trace.  Please download using RTMT...

Ok, thanks

Hi,

I've had confirmation that they are supported for phones as well (am still confirming 3rd-party device support).  Can you please apply to the SIP Profile for the device, and do an SDL capture and share this?  I reckon we should be able to get this working, or at least do an analysis and check!

Hi

 

I think it is better to have the original trace of the REGISTER message, in my case, I have "q=1", not "q = 1". it is case sensitive.