Surviving to IP address changes

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

 



Hi,

after the change of IP address I call pjsua_media_transports_create() and
then when I make a new call, in the SDP there is a new updated IP. But If I
change IP during the call and call pjsua_media_transports_create() , after a
while I get an Segmentation fault.
The interesting thing is that after the new media transport is created I
send reinvite, In the SDP field of INVITE is new address, and other node
start sending RTP packets to a new IP. But because of the Segmentation fault
I cannot get further.

otonag

2009/11/22 Saul Ibarra Corretge <saul at ag-projects.com>

>
> On Nov 21, 2009, at 11:25 AM, oto nag wrote:
>
> > Hi,
> >
> > I am trying to build an mobile sip client (in python for now) and I have
> same problems as written on the page you posted. If do call.reinvite() in
> SDP there is still an od IP.
> >
> > For IP change detection I made an another thread in witch I monitor
> actual IP address (many times per second) and if change is detected I can
> execute a proper actions.. but question for me is, what should be proper
> actions. And if these actions can be achieved with pjsua.
> >
>
> You'll nedd to restart the transport and the accounts... and if you're
> using pjsua I think you'll also need to restart the whole pjsua.
>
> As you said we can do it from outside, but it'd be better if pjsip itself
> was able to recover from such a situation. :)
>
>
>
> --
> Saul Ibarra Corretge
> AG Projects
>
>
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091201/f1634d41/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