< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] VOIP iOS Resiprocate


Hi.
I am added o notification VOIP to wake up application, but after wake, my app can not send sip message. I really don't know why.
This is log from my app

/APP_LOCATION/resiprocate-1.9.9/resip/stack/Transport.cxx:199 | Some other error (102): Operation not supported on socket

INFO | 20150605-180946.971 |  | RESIP:TRANSPORT | 0x104314000 | /APP_LOCATION/resiprocate-1.9.9/resip/stack/TransportSelector.cxx:678 | Unable to route to [ V4 SIP_SERVER_IP:SIP_PORT TLS target domain=IP_SERVER_IP mFlowKey=0 ] : [102] Operation not supported on socket

INFO | 20150605-180946.990 |  | RESIP:TRANSPORT | 0x104314000 | /APP_LOCATION/resiprocate-1.9.9/resip/stack/TransportSelector.cxx:1198 | tid=4ed59f5be73a5954 no route to target: [ V4 SIP_SERVER_IP:SIP_PORT TLS target domain=SIP_SERVER_IP mFlowKey=0 ]

INFO | 20150605-180947.009 |  | RESIP:TRANSACTION | 0x104314000 | /APP_LOCATION/resiprocate-1.9.9/resip/stack/TransactionState.cxx:2276 | Try sending request to a different dns result

INFO | 20150605-180947.021 |  | RESIP:TRANSACTION | 0x104314000 | /APP_LOCATION/resiprocate-1.9.9/resip/stack/TransactionState.cxx:2298 | No DNS results remain.

INFO | 20150605-180947.033 |  | RESIP:TRANSACTION | 0x104314000 | /APP_LOCATION/resiprocate-1.9.9/resip/stack/TransactionState.cxx:2105 | Ran out of dns entries for SIP_SERVER_IP. Send 503


Thank you for your help

2015-06-05 17:22 GMT+07:00 Dmytro Bogovych <dmytro.bogovych@xxxxxxxxx>:
You have to read this before:

https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html#//apple_ref/doc/uid/TP40007072-CH5-SW6

Shortly: no UDP in background. Single TCP/TLS connection is possible
in background mode after few minor tweaks in resiprocate code.

Depending on your task it may be easier to use push notifications to
wake up application.


On Fri, Jun 5, 2015 at 12:20 PM, Thuan Hoang <minhthuan2602@xxxxxxxxx> wrote:
> Hi all!
> Now, i build an iOS VOIP application use Resiprocate. But if app go to
> background mode, sip connection is destroy. I don't know how to keep sip
> connection alive when app go to background mode. If any one can help, please
> let me know a solutions.
> Thank you
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel