When I recreate transport it's works partly, dns resolver fails, but if using ip address I can register. Do I need also recreate dns resolver? How I can do it? ________________________________ From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Benny Prijono Sent: Tuesday, August 26, 2008 11:58 AM To: pjsip list Subject: Re: Network card added or enabled after app init problem On Tue, Aug 26, 2008 at 8:33 AM, Ilya Kalinin <ilyak at eimtelecom.com> wrote: Hi. I create and initialize pjsua on application start, if I add network card after that but before sip registration I can't register because pjsua bound to wrong ip. That's not entirely accurate, as the transport is bound to INADDR_ANY by default. Unless of course if you override this and manually specify the bound address yourself. Do I need destroy pjsua and recreate it on register, or there more elegant way to solve this? You can just destroy the transports and recreate new ones. But destroying pjsua is the easiest option indeed. Cheers Benny Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080827/fad8cc38/attachment-0001.html