Re: [Sofia-sip-devel] Format of contact header
Hi Pekka, thank you very much. This is exactly the solution we were looking for. Because NUTAG_M_PARAMS (an other NUTAG_M... tags) has no effect when SIPTAG_CONTACT_STR is used is was still not possible to add a customized URI with additional params. Stefan -Ursprüngliche Nachricht- Von: Pekka Pessi [mailto:ppe...@gmail.com] Gesendet: Freitag, 21. Januar 2011 13:59 An: Stefan Eckel Cc: sofia-sip-devel@lists.sourceforge.net Betreff: Re: [Sofia-sip-devel] Format of contact header Hi Stefan, 2011/1/13 Stefan Eckel stefan.ec...@c4b.de: we are looking for a method to put transport tags into the contact header field of an invite message. With nua_invite(m_handle, SIPTAG_CONTACT_STR( sip:100.100.100.100:5160;tansport=tcp ) , we get Contact: sip: 100.100.100.100:5160;transport=tcp If there is no aroung the URI, it ends at first ;. Try SIPTAG_CONTACT_STR( sip:100.100.100.100:5160;tansport=tcp ) -- Pekka.Pessi mail at nokia.com -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] How to retrieve the local bound SIP port when created dynamically? (as used in contact-header)
Hello all, I have the feeling the answer lays in front of my nose, but for some reason I cannot find/see it... When I create/start Sofia using next: Assume: char my_url[] = sip:192.168.1.1:0; m_Stack.nua = nua_create( m_Stack.root, s_HandleSofiaEvent, m_Stack, NUTAG_URL(my_url), TAG_NULL()); How do I extract the actual port being used by Sofia (as used in the Contact-header)? For my feeling there has to be a clean way to retrieve this information. A side question: I'm using the released stable version 1.12.10. I know there is a lot of incident repair and other development still ongoing. If I would like to use a more recent version, which branch/tag is considered then most stable? With regards and please keep on going this great stack!, Eize -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel