Network card added or enabled after app init problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/20080826/e9a83ecd/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux