If you just tried the old .so, try to compile the code again with the old compiler (GCC 4.7.2).
By the sofia code (libsofia-sip-ua/nta/nta.c), "nta outgoing create: invalid URI" message appears when "invalid < 0", and invalid is assigned in three places: invalid = tport_name_dup(home, orq->orq_tpn, tpn); invalid = nta_tpn_by_url(home, orq->orq_tpn, &scheme, &port, route_url); invalid = nta_tpn_by_url(home, orq->orq_tpn, &scheme, &port, (url_string_t *)sip->sip_request->rq_url); Try to add some SU_DEBUG_3 call to measure where invalid becomes < 0. And... invalid is not initialized! Look.. int invalid, resolved = 0, stateless = 0, user_via = agent->sa_user_via; Try to initialize invalid with 0. If nothing helps, turn on all log levels and let me know. On Wed, Jan 6, 2016 at 10:32 AM, Anand Mistry <anand.mis...@einfochips.com> wrote: > > Hello, > > > I am working on this issue for a quite long time. Still I am unable to fix > this. And I need some help. > > > Recently we updated our build system (compiler, automake, etc.). However > we kept the same sofia-sip library version (1.12.10). It compiles well. But > it gives the following error whenever we try to place a call. > > > nta outgoing create: invalid URI > > For testing, we are using the sofsip_cli client ( > http://sourceforge.net/projects/sofia-sip/files/sofsip-cli/). We checked > the URI, it is correct. The URI we used is "<sip:toto@10.102.2.180>". It > works if we use the older sofia-sip library ".so" files, with those > compiled using previous compiler, but facing problem when using the newer > ones. > > Has anybody faced this problem before? What is the solution/workaround? > Please help. > We also tried to use the latest version of sofia-sip library, but found > the same results. > > Additional information: > - Target system = ARM based custom board > - Previous compiler = GCC (4.7.2) > - Current compiler = GCC (4.9.1) > > Thanks and Regards, > Anand Mistry > Engineer | PES > > Product Engineering Services > Software | Embedded | Semiconductor Frost & Sullivan Company of the Year > 2013-2014 > ************************************************************************************************************************************************************* > 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. > ************************************************************************************************************************************************************* > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel > > -- Alexsander Petry
------------------------------------------------------------------------------
_______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel