Hi,
I am developing application for voip using sofia sip. I need to add IPV6 support for voip. I have used nua = nua_create(m_call_loop, /* Event loop */ event_callback, /* Callback for processing events */ NULL, /* Additional data to pass to callback */ NUTAG_URL("sip:*:*"), /* Address to bind to */ TAG_END()); /* Last tag should always finish the sequence */ nua_handle(nua, NULL, SIPTAG_TO_STR("<sip:[IPv6 Address]:5060>"), SIPTAG_FROM_STR((char *)(src.toLocal8Bit().data())), TAG_END()); My device have ipv4 and it is trying to call using ipv6 address but it is getting below error. nua: nua_invite: entering nua(0x30901c10): recv signal r_invite nua(0x30901c10): sent signal r_invite nua: nua_stack_set_params: entering soa_clone(static::0x31500d78, 0x315008f0, 0x30901c10) called soa_set_params(static::0x31502498, ...) called soa_set_params(static::0x31502498, ...) called soa_set_user_sdp(static::0x31502498, (nil), 0x30901fe9, -1) called nua: nua_set_params: entering nua((nil)): sent signal r_set_params soa_set_capability_sdp(static::0x31502498, (nil), 0x30901fe9, -1) called nta_leg_tcreate(0x31504358) nua(0x30901c10): adding session usage soa_init_offer_answer(static::0x31502498) called soa_generate_offer(static::0x31502498, 0) called soa_static_offer_answer_action(0x31502498, soa_generate_offer): called soa_static(0x31502498, soa_generate_offer): generating local description soa_static(0x31502498, soa_generate_offer): upgrade with local description soa_sdp_mode_set(0x313e3b44, (nil), ""): called soa_static(0x31502498, soa_generate_offer): storing local description soa_get_local_sdp(static::0x31502498, [(nil)], [0x313e5c00], [0x313e5c04]) called nta: selecting scheme sip tport_tsend(0x315025f8) tpn = */[fe80::20c:29ff:fe6f:5021]:5060 tport_resolve addrinfo = [fe80::20c:29ff:fe6f:5021]:5060 tport_by_addrinfo(0x315025f8): not found by name */[fe80::20c:29ff:fe6f:5021]:5060 tport_vsend(0x315025f8): Address family not supported by protocol with (s=37 */[fe80::20c:29ff:fe6f:5021]:5060) tport_vsend returned -1 nta: INVITE (56627714): Address family not supported by protocol (97) with */[fe80::20c:29ff:fe6f:5021]:5060 nta: timer set to 32000 ms nua(0x30901c10): call state changed: init -> calling, sent offer soa_get_local_sdp(static::0x31502498, [0x313e5bf4], [0x313e5bf8], [(nil)]) called nua(0x30901c10): event i_state INVITE sent nua((nil)): recv signal r_set_params nua: nua_stack_set_params: entering soa_set_params(static::0x31500d78, ...) called nua((nil)): event r_set_params 200 OK nua: nua_application_event: entering Please suggest me what should i do? Thanks in advance. Regards, Keyur Patel Engineer | PES <http://www.einfochips.com/> ei-logo_400Tel: +91 (79) 2656-3705 Product Engineering Services | www.einfochips.com Software | Embedded | Semiconductor Frost & Sullivan Company of the Year 2013-14 ************************************************************************************************************************************************************* eInfochips Business Disclaimer : This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. ************************************************************************************************************************************************************* --------------------------------------------------------------------------------------------- Notice: This message has been scanned by Trend Micro Mail Security scanner and is believed to be clean ---------------------------------------------------------------------------------------------
<<image001.png>>
<<image003.png>>
------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel