what if he does not know the correct route?

On Thu, Sep 13, 2012 at 8:58 PM, Michael Jerris <m...@jerris.com> wrote:

> Don't bind to 0.0.0.0.  Bind to the interface address of the network
> device that you want to show up in your sip packets.
>
> Mike
>
> On Sep 12, 2012, at 10:47 PM, "Huang, Kun-Yao" <kxh...@dolby.com> wrote:
>
> > Hello:
> >
> > If I use call nua_create() with sip:0.0.0.0:* and then call
> nua_invite() to another process listening at port 5060, I always get 503
> service unavailable. Am I doing something wrong?
> >
> > su_log_set_level(su_log_default, SU_LOG_MAX);
> > su_log_set_level(su_log_global, SU_LOG_MAX);
> > su_log_redirect(su_log_global, logger_callback, NULL);
> > su_log_redirect(su_log_default, logger_callback, NULL);
> > su_init();
> > root = su_root_create(NULL);
> > nua = nua_create(root, callback, NULL, NUTAG_URL("sip:0.0.0.0:*"),
> TAG_NULL());
> > handle = nua_handle(nua, NULL, TAG_END());
> > nua_invite(handle, SIPTAG_TO_STR("sip:127.0.0.1:5060"),
> SOATAG_USER_SDP_STR(sdp), NUTAG_AUTOACK(1),TAG_END());
> > su_root_run(root);
> >
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Sofia-sip-devel mailing list
> Sofia-sip-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to