Hi Luca, 2011/6/1 Luca Olivetti <l...@ventoso.org>: >>> BTW, the documentation says that sofia-sip will generate the contact using >>> the provided NUTAG_M_USERNAME, an equal sign and a random string, but it >>> doesn't seem to be the case, so I didn't bother checking for the presence >>> of an equal sign and stripping the rest in >>> sip->sip_request->rq_url->url_user. >> >> The documentation tries to be future-proof in case nua will grow >> automatic multi-registration support. > > Ok, in that case, url_user will be the one supplied in NUTAG_M_USERNAME or > will it be the complete one? > In the latter case, is there a function to strip the auto-generated part > or should I roll my own?
It will contain "=" and then some random data. You can strip it away with strchr(user, '=') etc. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel