Has anyone had success implementing reachability changes for iOS?

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

 



I did not use the patch, I've just implemented the code from these
instructions:
<https://trac.pjsip.org/repos/wiki/IPAddressChange#iphone>

This works fine for 3G <-> WiFi network changes. However, with
Personal Hotspot active, Reachability does not work reliably
(sometimes it just does not report a change). Therefore, I poll the
local network interfaces for changes every 5 seconds.

Thanks,
Florian

On 6/13/2012 21:54, Tom Merriewether wrote:
> I am struggling to implement a reliable method for handling network
> loss/gain on the iPhone.  I can reliably detect reachability changes
> and interface state changes,  but I have not been successful in
> getting the SIP TCP signaling socket to re-bind to a new interface
> when changes like Wi-Fi --> 3G occur.
> I've tried the destroying and then recreating the client but I lose
> access to codecs after recreation.  I have also tried the suggested patch:
> 
> 
>   iphone_ip_change_pjsip_1_12.patch.
> 
> 
> Has anyone gotten this to work on iOS 4.X or greater?  Implementing it
> as-is causes crashes in the library.  If not,  what about the more
> drastic destroy/re-create?  The SIP stack survives this but the codecs
> associated with the client "disappear."
> 
> 
> 
> -- 
> Thomas Merriewether
> Star2Star Communications
> 
> 
> 
> 
> _______________________________________________
> 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



[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