Backgrounding on iOS for invite requests.

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

 



Hello. I am having a problem and can't seem to find help on the internet. I am developing on my device as I know that you guys said it won't work on the simulator. I am using a TCP transport to talk to the server and I did not get any failed messages. I believe I am experiencing problem number 4 on the wiki, "Check whether you can accept the incoming call by bringing the app to the foreground. If yes, make sure that the incoming call request comes from the wrapped TCP socket (check the log for the INVITE request).". The invite is below once I bring back up the app.

 16:49:10.420   tcplis:51002  TCP listener 192.168.62.15:51002: got incoming TCP connection from 192.168.62.12:51320, sock=23
 16:49:10.421   tcps0x86c214  TCP server transport created
 16:49:10.427                 Successfully configured TCP transport for VoIP usage. Background mode will be supported.
 16:49:10.428 sip_endpoint.c  Processing incoming message: Request msg INVITE/cseq=26590 (rdata0x86c3bc)
 16:49:10.428   pjsua_core.c  RX 1375 bytes Request msg INVITE/cseq=26590 (rdata0x86c3bc) from tcp 192.168.62.12:51320:
INVITE sip:+15555555555 at 192.168.62.15:51002;transport=TCP SIP/2.0
Record-Route: <sip:192.168.62.12;transport=tcp;r2=on;lr=on>
Record-Route: <sip:192.168.62.12;r2=on;lr=on>
Via: SIP/2.0/TCP 192.168.62.12;branch=z9hG4bK197b.ff1f52e6.0
Via: SIP/2.0/UDP 192.168.62.16:64417;received=192.168.62.16;rport=64417;branch=z9hG4bKPjwOJM-S3Ujo17tiktD-UhFxLKlHiYDmDp

I do have it register every 600 seconds as demonstrated in the demo app, and I am pretty sure I have all the stuff working right. When I am in a call, it appears to work in the background as expected. (Although, I'll like to add the call banner, which I don't think PJProject has anything to do with that.) I am testing on a local test server, opensips, that supports tcp so I am sure that it is working right.


[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