Has anyone had success implementing reachability changes for iOS?

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

 



I use version 1.12
Florian

On 6/14/2012 2:52 PM, Tom Merriewether wrote:
> Yes,  that's what I implemented too.  I found it crashing in the
> library.  Somehow its over releasing a transport.  Its very confusing.
>  I am using version 1.1.0  since I inherited the application and did
> not want to add complexity by going with version 2.0.  Which version
> are you using?
> 
> 
> 
> On Wed, Jun 13, 2012 at 4:18 PM, Florian <pjsip at bome.com
> <mailto:pjsip at bome.com>> wrote:
> 
>     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 <mailto:pjsip at lists.pjsip.org>
>     > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 
>     _______________________________________________
>     Visit our blog: http://blog.pjsip.org
> 
>     pjsip mailing list
>     pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org>
>     http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 
> 
> 
> 
> -- 
> 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