[OpenSIPS-Users] Manipulate SIP clients "Allow" methods when registering

osiris123d duane.larson at gmail.com
Tue May 15 03:46:46 CEST 2012

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

<sip:9000 at xxx.xxx.xxx.xxx: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.

More information about the Users mailing list