I am trying to edit the Contact Header for the Register message before it is
saved.  Here is what the contact header looks like

Contact:
<sip:[email protected]:46356;line=bwb1k55g>;reg-id=1;q=1.0;audio;mobility="fixed";duplex="full";description="snom720";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,*MESSAGE*,INFO".

Any idea on how to use the subst() function in order to remove the MESSAGE
(and the comma too) part from the contact header??



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Manipulate-SIP-clients-Allow-methods-when-registering-tp7547172p7557677.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to