pjsip on IP change registration

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

 



I am still having problems with this. 

Is "pjsua_acc_set_registration" supposed to reregister to the server with new IP address when there is a network change (e.g. from Wifi to 3G network)? Currently when the app resumes on the new network, it tries to re-register using the old IP address.

Thanks,
Alex

On Oct 31, 2012, at 5:29 PM, Alex wrote:

> Hi,
> 
> I need pjsip to reregister to the server when there is a network change as soon as possible. To do this, I am calling "pjsua_acc_set_registration" to updated the registration when the app resumes from the background (it is an iPhone app). By looking at the log files, I noticed the "Via" is still showing the old IP address in the reregister request, so the response from the server times-out in pjsip and it takes a long time for pjsip to notice the mobile device has a new IP address.
> 
> Is there a setting or another function that I could call to speed up the IP address change detection?
> 
> Alex.




[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