Issue with changeset 4590 - Unable to open sound device on iphone 5 ios 7 (GM)

YT
Yosi Taguri
Sun, Sep 15, 2013 9:47 PM

Hi,
I tracked this issue down to r4590 (
http://trac.pjsip.org/repos/changeset/4590) .
For some reason the device can't open the sound and shows the following
log, it happens only on the device (iphone 5 or ipad mini) running ios7 GM.
It works fine on simulator.

2013-09-16 00:45:48:735 Yalo[323:60b] 972544816020 00:45:48.729
pjsua_aud.c  .Set sound device: capture=-1, playback=-2

2013-09-16 00:45:48:746 Yalo[323:60b] 972544816020 00:45:48.735
pjsua_aud.c  ..Opening sound device PCM@16000/1/20ms

2013-09-16 00:45:48:763 Yalo[323:60b] 972544816020 00:45:48.746
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.090 Yalo[323:60b] 00:45:49.090 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:098 Yalo[323:60b] 972544816020 00:45:49.092
pjsua_aud.c  ..Opening sound device PCM@44100/1/20ms

2013-09-16 00:45:49:104 Yalo[323:60b] 972544816020 00:45:49.098
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.185 Yalo[323:60b] 00:45:49.185 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:192 Yalo[323:60b] 972544816020 00:45:49.187
pjsua_aud.c  ..Opening sound device PCM@48000/1/20ms

2013-09-16 00:45:49:206 Yalo[323:60b] 972544816020 00:45:49.192
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.276 Yalo[323:60b] 00:45:49.276 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:284 Yalo[323:60b] 972544816020 00:45:49.278
pjsua_aud.c  ..Opening sound device PCM@32000/1/20ms

2013-09-16 00:45:49:308 Yalo[323:60b] 972544816020 00:45:49.284
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.368 Yalo[323:60b] 00:45:49.368 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:379 Yalo[323:60b] 972544816020 00:45:49.370
pjsua_aud.c  ..Opening sound device PCM@16000/1/20ms

2013-09-16 00:45:49:411 Yalo[323:60b] 972544816020 00:45:49.379
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.460 Yalo[323:60b] 00:45:49.460 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:471 Yalo[323:60b] 972544816020 00:45:49.462
pjsua_aud.c  ..Opening sound device PCM@8000/1/20ms

2013-09-16 00:45:49:482 Yalo[323:60b] 972544816020 00:45:49.471
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.553 Yalo[323:60b] 00:45:49.553 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:561 Yalo[323:60b] 972544816020 00:45:49.554
pjsua_aud.c  ..Unable to open sound device: Unknown error -559594163
[status=-559594163]

2013-09-16 00:45:49:571 Yalo[323:60b] 972544816020 00:45:49.561
call.m  Error making call: Unknown error -559594163 [status=-559594163]

Hi, I tracked this issue down to r4590 ( http://trac.pjsip.org/repos/changeset/4590) . For some reason the device can't open the sound and shows the following log, it happens only on the device (iphone 5 or ipad mini) running ios7 GM. It works fine on simulator. 2013-09-16 00:45:48:735 Yalo[323:60b] 972544816020 00:45:48.729 pjsua_aud.c .Set sound device: capture=-1, playback=-2 2013-09-16 00:45:48:746 Yalo[323:60b] 972544816020 00:45:48.735 pjsua_aud.c ..Opening sound device PCM@16000/1/20ms 2013-09-16 00:45:48:763 Yalo[323:60b] 972544816020 00:45:48.746 coreaudio_dev. ...Using VoiceProcessingIO audio unit 2013-09-16 00:45:49.090 Yalo[323:60b] 00:45:49.090 ERROR: [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) 2013-09-16 00:45:49:098 Yalo[323:60b] 972544816020 00:45:49.092 pjsua_aud.c ..Opening sound device PCM@44100/1/20ms 2013-09-16 00:45:49:104 Yalo[323:60b] 972544816020 00:45:49.098 coreaudio_dev. ...Using VoiceProcessingIO audio unit 2013-09-16 00:45:49.185 Yalo[323:60b] 00:45:49.185 ERROR: [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) 2013-09-16 00:45:49:192 Yalo[323:60b] 972544816020 00:45:49.187 pjsua_aud.c ..Opening sound device PCM@48000/1/20ms 2013-09-16 00:45:49:206 Yalo[323:60b] 972544816020 00:45:49.192 coreaudio_dev. ...Using VoiceProcessingIO audio unit 2013-09-16 00:45:49.276 Yalo[323:60b] 00:45:49.276 ERROR: [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) 2013-09-16 00:45:49:284 Yalo[323:60b] 972544816020 00:45:49.278 pjsua_aud.c ..Opening sound device PCM@32000/1/20ms 2013-09-16 00:45:49:308 Yalo[323:60b] 972544816020 00:45:49.284 coreaudio_dev. ...Using VoiceProcessingIO audio unit 2013-09-16 00:45:49.368 Yalo[323:60b] 00:45:49.368 ERROR: [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) 2013-09-16 00:45:49:379 Yalo[323:60b] 972544816020 00:45:49.370 pjsua_aud.c ..Opening sound device PCM@16000/1/20ms 2013-09-16 00:45:49:411 Yalo[323:60b] 972544816020 00:45:49.379 coreaudio_dev. ...Using VoiceProcessingIO audio unit 2013-09-16 00:45:49.460 Yalo[323:60b] 00:45:49.460 ERROR: [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) 2013-09-16 00:45:49:471 Yalo[323:60b] 972544816020 00:45:49.462 pjsua_aud.c ..Opening sound device PCM@8000/1/20ms 2013-09-16 00:45:49:482 Yalo[323:60b] 972544816020 00:45:49.471 coreaudio_dev. ...Using VoiceProcessingIO audio unit 2013-09-16 00:45:49.553 Yalo[323:60b] 00:45:49.553 ERROR: [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) 2013-09-16 00:45:49:561 Yalo[323:60b] 972544816020 00:45:49.554 pjsua_aud.c ..Unable to open sound device: Unknown error -559594163 [status=-559594163] 2013-09-16 00:45:49:571 Yalo[323:60b] 972544816020 00:45:49.561 call.m Error making call: Unknown error -559594163 [status=-559594163]
M
Ming
Thu, Sep 19, 2013 5:38 AM

Hi Yosi,

I just tried ipjsua on iPhone 4S running iOS7 and it worked fine so have
you managed to try with the release version?

Please note that with the above changeset, PJSIP no longer calls Audio
Session API, so application will need to do its own audio session
management.
If only for testing basic outgoing/incoming calls, the default audio
session behavior (i.e. no application-level audio session management) seems
to be sufficient.
Reference:
https://developer.apple.com/library/IOS/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Basics/Basics.html#//apple_ref/doc/uid/TP40007875-CH2-SW4

Regards,
Ming

On Mon, Sep 16, 2013 at 5:47 AM, Yosi Taguri yosi@taguri.com wrote:

Hi,
I tracked this issue down to r4590 (
http://trac.pjsip.org/repos/changeset/4590) .
For some reason the device can't open the sound and shows the following
log, it happens only on the device (iphone 5 or ipad mini) running ios7 GM.
It works fine on simulator.

2013-09-16 00:45:48:735 Yalo[323:60b] 972544816020 00:45:48.729
pjsua_aud.c  .Set sound device: capture=-1, playback=-2

2013-09-16 00:45:48:746 Yalo[323:60b] 972544816020 00:45:48.735
pjsua_aud.c  ..Opening sound device PCM@16000/1/20ms

2013-09-16 00:45:48:763 Yalo[323:60b] 972544816020 00:45:48.746
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.090 Yalo[323:60b] 00:45:49.090 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:098 Yalo[323:60b] 972544816020 00:45:49.092
pjsua_aud.c  ..Opening sound device PCM@44100/1/20ms

2013-09-16 00:45:49:104 Yalo[323:60b] 972544816020 00:45:49.098
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.185 Yalo[323:60b] 00:45:49.185 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:192 Yalo[323:60b] 972544816020 00:45:49.187
pjsua_aud.c  ..Opening sound device PCM@48000/1/20ms

2013-09-16 00:45:49:206 Yalo[323:60b] 972544816020 00:45:49.192
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.276 Yalo[323:60b] 00:45:49.276 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:284 Yalo[323:60b] 972544816020 00:45:49.278
pjsua_aud.c  ..Opening sound device PCM@32000/1/20ms

2013-09-16 00:45:49:308 Yalo[323:60b] 972544816020 00:45:49.284
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.368 Yalo[323:60b] 00:45:49.368 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:379 Yalo[323:60b] 972544816020 00:45:49.370
pjsua_aud.c  ..Opening sound device PCM@16000/1/20ms

2013-09-16 00:45:49:411 Yalo[323:60b] 972544816020 00:45:49.379
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.460 Yalo[323:60b] 00:45:49.460 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:471 Yalo[323:60b] 972544816020 00:45:49.462
pjsua_aud.c  ..Opening sound device PCM@8000/1/20ms

2013-09-16 00:45:49:482 Yalo[323:60b] 972544816020 00:45:49.471
coreaudio_dev.  ...Using VoiceProcessingIO audio unit

2013-09-16 00:45:49.553 Yalo[323:60b] 00:45:49.553 ERROR:    [0x3d31818c]
1207: AUIOClient_StartIO failed (560034163)

2013-09-16 00:45:49:561 Yalo[323:60b] 972544816020 00:45:49.554
pjsua_aud.c  ..Unable to open sound device: Unknown error -559594163
[status=-559594163]

2013-09-16 00:45:49:571 Yalo[323:60b] 972544816020 00:45:49.561
call.m  Error making call: Unknown error -559594163 [status=-559594163]


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Yosi, I just tried ipjsua on iPhone 4S running iOS7 and it worked fine so have you managed to try with the release version? Please note that with the above changeset, PJSIP no longer calls Audio Session API, so application will need to do its own audio session management. If only for testing basic outgoing/incoming calls, the default audio session behavior (i.e. no application-level audio session management) seems to be sufficient. Reference: https://developer.apple.com/library/IOS/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Basics/Basics.html#//apple_ref/doc/uid/TP40007875-CH2-SW4 Regards, Ming On Mon, Sep 16, 2013 at 5:47 AM, Yosi Taguri <yosi@taguri.com> wrote: > > Hi, > I tracked this issue down to r4590 ( > http://trac.pjsip.org/repos/changeset/4590) . > For some reason the device can't open the sound and shows the following > log, it happens only on the device (iphone 5 or ipad mini) running ios7 GM. > It works fine on simulator. > > 2013-09-16 00:45:48:735 Yalo[323:60b] 972544816020 00:45:48.729 > pjsua_aud.c .Set sound device: capture=-1, playback=-2 > > > 2013-09-16 00:45:48:746 Yalo[323:60b] 972544816020 00:45:48.735 > pjsua_aud.c ..Opening sound device PCM@16000/1/20ms > > > 2013-09-16 00:45:48:763 Yalo[323:60b] 972544816020 00:45:48.746 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.090 Yalo[323:60b] 00:45:49.090 ERROR: [0x3d31818c] > 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:098 Yalo[323:60b] 972544816020 00:45:49.092 > pjsua_aud.c ..Opening sound device PCM@44100/1/20ms > > > 2013-09-16 00:45:49:104 Yalo[323:60b] 972544816020 00:45:49.098 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.185 Yalo[323:60b] 00:45:49.185 ERROR: [0x3d31818c] > 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:192 Yalo[323:60b] 972544816020 00:45:49.187 > pjsua_aud.c ..Opening sound device PCM@48000/1/20ms > > > 2013-09-16 00:45:49:206 Yalo[323:60b] 972544816020 00:45:49.192 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.276 Yalo[323:60b] 00:45:49.276 ERROR: [0x3d31818c] > 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:284 Yalo[323:60b] 972544816020 00:45:49.278 > pjsua_aud.c ..Opening sound device PCM@32000/1/20ms > > > 2013-09-16 00:45:49:308 Yalo[323:60b] 972544816020 00:45:49.284 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.368 Yalo[323:60b] 00:45:49.368 ERROR: [0x3d31818c] > 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:379 Yalo[323:60b] 972544816020 00:45:49.370 > pjsua_aud.c ..Opening sound device PCM@16000/1/20ms > > > 2013-09-16 00:45:49:411 Yalo[323:60b] 972544816020 00:45:49.379 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.460 Yalo[323:60b] 00:45:49.460 ERROR: [0x3d31818c] > 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:471 Yalo[323:60b] 972544816020 00:45:49.462 > pjsua_aud.c ..Opening sound device PCM@8000/1/20ms > > > 2013-09-16 00:45:49:482 Yalo[323:60b] 972544816020 00:45:49.471 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.553 Yalo[323:60b] 00:45:49.553 ERROR: [0x3d31818c] > 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:561 Yalo[323:60b] 972544816020 00:45:49.554 > pjsua_aud.c ..Unable to open sound device: Unknown error -559594163 > [status=-559594163] > > > 2013-09-16 00:45:49:571 Yalo[323:60b] 972544816020 00:45:49.561 > call.m Error making call: Unknown error -559594163 [status=-559594163] > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
Q
qiulang
Wed, Dec 4, 2013 4:05 PM

Hi Ming,

I found this error happened on iPhone 5s (only) again!

I already used 2.2 codes (trunk 4641) and following are the error
messages I got. I can't make or receive any sip call on iPhone 5s

2013-12-04 23:57:27.779 ipjsua[6816:60b] 23:57:27.779 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
2013-12-04 23:57:33.057 ipjsua[6816:60b] 23:57:33.057 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
2013-12-04 23:57:38.336 ipjsua[6816:60b] 23:57:38.336 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
2013-12-04 23:57:43.619 ipjsua[6816:60b] 23:57:43.618 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
2013-12-04 23:57:48.899 ipjsua[6816:60b] 23:57:48.898 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
2013-12-04 23:57:54.174 ipjsua[6816:60b] 23:57:54.174 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
ipjsua(showPJSIPLog) -> "Error" : 23:57:54.177    pjsua_aud.c ..Unable
to open sound device: Unknown error -2002889396 [status=-2002889396]

And I found that the error was happened when calling
pjmedia_snd_port_create2.

Any idea how to fix it ?

Thanks

Qiulang

On 13-9-19 ??1:38, Ming wrote:

Hi Yosi,
I just tried ipjsua on iPhone 4S running iOS7 and it worked fine so
have you managed to try with the release version?
Please note that with the above changeset, PJSIP no longer calls Audio
Session API, so application will need to do its own audio session
management.
If only for testing basic outgoing/incoming calls, the default audio
session behavior (i.e. no application-level audio session management)
seems to be sufficient.
Reference:
https://developer.apple.com/library/IOS/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Basics/Basics.html#//apple_ref/doc/uid/TP40007875-CH2-SW4
Regards,
Ming

On Mon, Sep 16, 2013 at 5:47 AM, Yosi Taguri <yosi@taguri.com
mailto:yosi@taguri.com> wrote:

 Hi,
 I tracked this issue down to r4590
 (http://trac.pjsip.org/repos/changeset/4590) .
 For some reason the device can't open the sound and shows the
 following log, it happens only on the device (iphone 5 or ipad
 mini) running ios7 GM.
 It works fine on simulator.

 2013-09-16 00:45:48:735 Yalo[323:60b] 972544816020 00:45:48.729   
 pjsua_aud.c  .Set sound device: capture=-1, playback=-2


 2013-09-16 00:45:48:746 Yalo[323:60b] 972544816020 00:45:48.735   
 pjsua_aud.c  ..Opening sound device PCM@16000/1/20ms


 2013-09-16 00:45:48:763 Yalo[323:60b] 972544816020 00:45:48.746
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.090 Yalo[323:60b] 00:45:49.090 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:098 Yalo[323:60b] 972544816020 00:45:49.092   
 pjsua_aud.c  ..Opening sound device PCM@44100/1/20ms


 2013-09-16 00:45:49:104 Yalo[323:60b] 972544816020 00:45:49.098
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.185 Yalo[323:60b] 00:45:49.185 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:192 Yalo[323:60b] 972544816020 00:45:49.187   
 pjsua_aud.c  ..Opening sound device PCM@48000/1/20ms


 2013-09-16 00:45:49:206 Yalo[323:60b] 972544816020 00:45:49.192
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.276 Yalo[323:60b] 00:45:49.276 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:284 Yalo[323:60b] 972544816020 00:45:49.278   
 pjsua_aud.c  ..Opening sound device PCM@32000/1/20ms


 2013-09-16 00:45:49:308 Yalo[323:60b] 972544816020 00:45:49.284
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.368 Yalo[323:60b] 00:45:49.368 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:379 Yalo[323:60b] 972544816020 00:45:49.370   
 pjsua_aud.c  ..Opening sound device PCM@16000/1/20ms


 2013-09-16 00:45:49:411 Yalo[323:60b] 972544816020 00:45:49.379
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.460 Yalo[323:60b] 00:45:49.460 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:471 Yalo[323:60b] 972544816020 00:45:49.462   
 pjsua_aud.c  ..Opening sound device PCM@8000/1/20ms


 2013-09-16 00:45:49:482 Yalo[323:60b] 972544816020 00:45:49.471
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.553 Yalo[323:60b] 00:45:49.553 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:561 Yalo[323:60b] 972544816020 00:45:49.554   
 pjsua_aud.c  ..Unable to open sound device: Unknown error
 -559594163 [status=-559594163]


 2013-09-16 00:45:49:571 Yalo[323:60b] 972544816020 00:45:49.561  
       call.m  Error making call: Unknown error -559594163
 [status=-559594163]




 _______________________________________________
 Visit our blog: http://blog.pjsip.org

 pjsip mailing list
 pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org>
 http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Ming, I found this error happened on iPhone 5s (only) again! I already used 2.2 codes (trunk 4641) and following are the error messages I got. I can't make or receive any sip call on iPhone 5s 2013-12-04 23:57:27.779 ipjsua[6816:60b] 23:57:27.779 ERROR: [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) 2013-12-04 23:57:33.057 ipjsua[6816:60b] 23:57:33.057 ERROR: [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) 2013-12-04 23:57:38.336 ipjsua[6816:60b] 23:57:38.336 ERROR: [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) 2013-12-04 23:57:43.619 ipjsua[6816:60b] 23:57:43.618 ERROR: [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) 2013-12-04 23:57:48.899 ipjsua[6816:60b] 23:57:48.898 ERROR: [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) 2013-12-04 23:57:54.174 ipjsua[6816:60b] 23:57:54.174 ERROR: [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) ipjsua(showPJSIPLog) -> "Error" : 23:57:54.177 pjsua_aud.c ..Unable to open sound device: Unknown error -2002889396 [status=-2002889396] And I found that the error was happened when calling pjmedia_snd_port_create2. Any idea how to fix it ? Thanks Qiulang On 13-9-19 ??1:38, Ming wrote: > Hi Yosi, > I just tried ipjsua on iPhone 4S running iOS7 and it worked fine so > have you managed to try with the release version? > Please note that with the above changeset, PJSIP no longer calls Audio > Session API, so application will need to do its own audio session > management. > If only for testing basic outgoing/incoming calls, the default audio > session behavior (i.e. no application-level audio session management) > seems to be sufficient. > Reference: > https://developer.apple.com/library/IOS/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Basics/Basics.html#//apple_ref/doc/uid/TP40007875-CH2-SW4 > Regards, > Ming > > > On Mon, Sep 16, 2013 at 5:47 AM, Yosi Taguri <yosi@taguri.com > <mailto:yosi@taguri.com>> wrote: > > > Hi, > I tracked this issue down to r4590 > (http://trac.pjsip.org/repos/changeset/4590) . > For some reason the device can't open the sound and shows the > following log, it happens only on the device (iphone 5 or ipad > mini) running ios7 GM. > It works fine on simulator. > > 2013-09-16 00:45:48:735 Yalo[323:60b] 972544816020 00:45:48.729 > pjsua_aud.c .Set sound device: capture=-1, playback=-2 > > > 2013-09-16 00:45:48:746 Yalo[323:60b] 972544816020 00:45:48.735 > pjsua_aud.c ..Opening sound device PCM@16000/1/20ms > > > 2013-09-16 00:45:48:763 Yalo[323:60b] 972544816020 00:45:48.746 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.090 Yalo[323:60b] 00:45:49.090 ERROR: > [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:098 Yalo[323:60b] 972544816020 00:45:49.092 > pjsua_aud.c ..Opening sound device PCM@44100/1/20ms > > > 2013-09-16 00:45:49:104 Yalo[323:60b] 972544816020 00:45:49.098 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.185 Yalo[323:60b] 00:45:49.185 ERROR: > [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:192 Yalo[323:60b] 972544816020 00:45:49.187 > pjsua_aud.c ..Opening sound device PCM@48000/1/20ms > > > 2013-09-16 00:45:49:206 Yalo[323:60b] 972544816020 00:45:49.192 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.276 Yalo[323:60b] 00:45:49.276 ERROR: > [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:284 Yalo[323:60b] 972544816020 00:45:49.278 > pjsua_aud.c ..Opening sound device PCM@32000/1/20ms > > > 2013-09-16 00:45:49:308 Yalo[323:60b] 972544816020 00:45:49.284 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.368 Yalo[323:60b] 00:45:49.368 ERROR: > [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:379 Yalo[323:60b] 972544816020 00:45:49.370 > pjsua_aud.c ..Opening sound device PCM@16000/1/20ms > > > 2013-09-16 00:45:49:411 Yalo[323:60b] 972544816020 00:45:49.379 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.460 Yalo[323:60b] 00:45:49.460 ERROR: > [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:471 Yalo[323:60b] 972544816020 00:45:49.462 > pjsua_aud.c ..Opening sound device PCM@8000/1/20ms > > > 2013-09-16 00:45:49:482 Yalo[323:60b] 972544816020 00:45:49.471 > coreaudio_dev. ...Using VoiceProcessingIO audio unit > > > 2013-09-16 00:45:49.553 Yalo[323:60b] 00:45:49.553 ERROR: > [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) > > 2013-09-16 00:45:49:561 Yalo[323:60b] 972544816020 00:45:49.554 > pjsua_aud.c ..Unable to open sound device: Unknown error > -559594163 [status=-559594163] > > > 2013-09-16 00:45:49:571 Yalo[323:60b] 972544816020 00:45:49.561 > call.m Error making call: Unknown error -559594163 > [status=-559594163] > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Q
qiulang
Thu, Dec 5, 2013 4:20 AM

Some further info about this problem,

I found it was because AudioOutputUnitStart return error, but I have not
found out why this call only failed for iPhone 5s

Qiulang

On 13-12-5 ??12:05, qiulang wrote:

Hi Ming,

I found this error happened on iPhone 5s (only) again!

I already used 2.2 codes (trunk 4641) and following are the error
messages I got. I can't make or receive any sip call on iPhone 5s

2013-12-04 23:57:27.779 ipjsua[6816:60b] 23:57:27.779 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
2013-12-04 23:57:33.057 ipjsua[6816:60b] 23:57:33.057 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
2013-12-04 23:57:38.336 ipjsua[6816:60b] 23:57:38.336 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
2013-12-04 23:57:43.619 ipjsua[6816:60b] 23:57:43.618 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
2013-12-04 23:57:48.899 ipjsua[6816:60b] 23:57:48.898 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
2013-12-04 23:57:54.174 ipjsua[6816:60b] 23:57:54.174 ERROR:
[0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396)
ipjsua(showPJSIPLog) -> "Error" : 23:57:54.177 pjsua_aud.c  ..Unable
to open sound device: Unknown error -2002889396 [status=-2002889396]

And I found that the error was happened when calling
pjmedia_snd_port_create2.

Any idea how to fix it ?

Thanks

Qiulang

On 13-9-19 ??1:38, Ming wrote:

Hi Yosi,
I just tried ipjsua on iPhone 4S running iOS7 and it worked fine so
have you managed to try with the release version?
Please note that with the above changeset, PJSIP no longer calls
Audio Session API, so application will need to do its own audio
session management.
If only for testing basic outgoing/incoming calls, the default audio
session behavior (i.e. no application-level audio session management)
seems to be sufficient.
Reference:
https://developer.apple.com/library/IOS/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Basics/Basics.html#//apple_ref/doc/uid/TP40007875-CH2-SW4
Regards,
Ming

On Mon, Sep 16, 2013 at 5:47 AM, Yosi Taguri <yosi@taguri.com
mailto:yosi@taguri.com> wrote:

 Hi,
 I tracked this issue down to r4590
 (http://trac.pjsip.org/repos/changeset/4590) .
 For some reason the device can't open the sound and shows the
 following log, it happens only on the device (iphone 5 or ipad
 mini) running ios7 GM.
 It works fine on simulator.

 2013-09-16 00:45:48:735 Yalo[323:60b] 972544816020 00:45:48.729 
   pjsua_aud.c  .Set sound device: capture=-1, playback=-2


 2013-09-16 00:45:48:746 Yalo[323:60b] 972544816020 00:45:48.735 
   pjsua_aud.c  ..Opening sound device PCM@16000/1/20ms


 2013-09-16 00:45:48:763 Yalo[323:60b] 972544816020 00:45:48.746
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.090 Yalo[323:60b] 00:45:49.090 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:098 Yalo[323:60b] 972544816020 00:45:49.092 
   pjsua_aud.c  ..Opening sound device PCM@44100/1/20ms


 2013-09-16 00:45:49:104 Yalo[323:60b] 972544816020 00:45:49.098
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.185 Yalo[323:60b] 00:45:49.185 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:192 Yalo[323:60b] 972544816020 00:45:49.187 
   pjsua_aud.c  ..Opening sound device PCM@48000/1/20ms


 2013-09-16 00:45:49:206 Yalo[323:60b] 972544816020 00:45:49.192
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.276 Yalo[323:60b] 00:45:49.276 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:284 Yalo[323:60b] 972544816020 00:45:49.278 
   pjsua_aud.c  ..Opening sound device PCM@32000/1/20ms


 2013-09-16 00:45:49:308 Yalo[323:60b] 972544816020 00:45:49.284
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.368 Yalo[323:60b] 00:45:49.368 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:379 Yalo[323:60b] 972544816020 00:45:49.370 
   pjsua_aud.c  ..Opening sound device PCM@16000/1/20ms


 2013-09-16 00:45:49:411 Yalo[323:60b] 972544816020 00:45:49.379
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.460 Yalo[323:60b] 00:45:49.460 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:471 Yalo[323:60b] 972544816020 00:45:49.462 
   pjsua_aud.c  ..Opening sound device PCM@8000/1/20ms


 2013-09-16 00:45:49:482 Yalo[323:60b] 972544816020 00:45:49.471
 coreaudio_dev.  ...Using VoiceProcessingIO audio unit


 2013-09-16 00:45:49.553 Yalo[323:60b] 00:45:49.553 ERROR:    
 [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163)

 2013-09-16 00:45:49:561 Yalo[323:60b] 972544816020 00:45:49.554 
   pjsua_aud.c  ..Unable to open sound device: Unknown error
 -559594163 [status=-559594163]


 2013-09-16 00:45:49:571 Yalo[323:60b] 972544816020 00:45:49.561  
       call.m  Error making call: Unknown error -559594163
 [status=-559594163]




 _______________________________________________
 Visit our blog: http://blog.pjsip.org

 pjsip mailing list
 pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org>
 http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Visit our blog:http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Some further info about this problem, I found it was because AudioOutputUnitStart return error, but I have not found out why this call only failed for iPhone 5s Qiulang On 13-12-5 ??12:05, qiulang wrote: > Hi Ming, > > I found this error happened on iPhone 5s (only) again! > > I already used 2.2 codes (trunk 4641) and following are the error > messages I got. I can't make or receive any sip call on iPhone 5s > > 2013-12-04 23:57:27.779 ipjsua[6816:60b] 23:57:27.779 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > 2013-12-04 23:57:33.057 ipjsua[6816:60b] 23:57:33.057 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > 2013-12-04 23:57:38.336 ipjsua[6816:60b] 23:57:38.336 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > 2013-12-04 23:57:43.619 ipjsua[6816:60b] 23:57:43.618 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > 2013-12-04 23:57:48.899 ipjsua[6816:60b] 23:57:48.898 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > 2013-12-04 23:57:54.174 ipjsua[6816:60b] 23:57:54.174 ERROR: > [0x3b95218c] 1207: AUIOClient_StartIO failed (2003329396) > ipjsua(showPJSIPLog) -> "Error" : 23:57:54.177 pjsua_aud.c ..Unable > to open sound device: Unknown error -2002889396 [status=-2002889396] > > And I found that the error was happened when calling > pjmedia_snd_port_create2. > > Any idea how to fix it ? > > Thanks > > Qiulang > > > On 13-9-19 ??1:38, Ming wrote: >> Hi Yosi, >> I just tried ipjsua on iPhone 4S running iOS7 and it worked fine so >> have you managed to try with the release version? >> Please note that with the above changeset, PJSIP no longer calls >> Audio Session API, so application will need to do its own audio >> session management. >> If only for testing basic outgoing/incoming calls, the default audio >> session behavior (i.e. no application-level audio session management) >> seems to be sufficient. >> Reference: >> https://developer.apple.com/library/IOS/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Basics/Basics.html#//apple_ref/doc/uid/TP40007875-CH2-SW4 >> Regards, >> Ming >> >> >> On Mon, Sep 16, 2013 at 5:47 AM, Yosi Taguri <yosi@taguri.com >> <mailto:yosi@taguri.com>> wrote: >> >> >> Hi, >> I tracked this issue down to r4590 >> (http://trac.pjsip.org/repos/changeset/4590) . >> For some reason the device can't open the sound and shows the >> following log, it happens only on the device (iphone 5 or ipad >> mini) running ios7 GM. >> It works fine on simulator. >> >> 2013-09-16 00:45:48:735 Yalo[323:60b] 972544816020 00:45:48.729 >> pjsua_aud.c .Set sound device: capture=-1, playback=-2 >> >> >> 2013-09-16 00:45:48:746 Yalo[323:60b] 972544816020 00:45:48.735 >> pjsua_aud.c ..Opening sound device PCM@16000/1/20ms >> >> >> 2013-09-16 00:45:48:763 Yalo[323:60b] 972544816020 00:45:48.746 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.090 Yalo[323:60b] 00:45:49.090 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:098 Yalo[323:60b] 972544816020 00:45:49.092 >> pjsua_aud.c ..Opening sound device PCM@44100/1/20ms >> >> >> 2013-09-16 00:45:49:104 Yalo[323:60b] 972544816020 00:45:49.098 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.185 Yalo[323:60b] 00:45:49.185 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:192 Yalo[323:60b] 972544816020 00:45:49.187 >> pjsua_aud.c ..Opening sound device PCM@48000/1/20ms >> >> >> 2013-09-16 00:45:49:206 Yalo[323:60b] 972544816020 00:45:49.192 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.276 Yalo[323:60b] 00:45:49.276 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:284 Yalo[323:60b] 972544816020 00:45:49.278 >> pjsua_aud.c ..Opening sound device PCM@32000/1/20ms >> >> >> 2013-09-16 00:45:49:308 Yalo[323:60b] 972544816020 00:45:49.284 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.368 Yalo[323:60b] 00:45:49.368 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:379 Yalo[323:60b] 972544816020 00:45:49.370 >> pjsua_aud.c ..Opening sound device PCM@16000/1/20ms >> >> >> 2013-09-16 00:45:49:411 Yalo[323:60b] 972544816020 00:45:49.379 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.460 Yalo[323:60b] 00:45:49.460 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:471 Yalo[323:60b] 972544816020 00:45:49.462 >> pjsua_aud.c ..Opening sound device PCM@8000/1/20ms >> >> >> 2013-09-16 00:45:49:482 Yalo[323:60b] 972544816020 00:45:49.471 >> coreaudio_dev. ...Using VoiceProcessingIO audio unit >> >> >> 2013-09-16 00:45:49.553 Yalo[323:60b] 00:45:49.553 ERROR: >> [0x3d31818c] 1207: AUIOClient_StartIO failed (560034163) >> >> 2013-09-16 00:45:49:561 Yalo[323:60b] 972544816020 00:45:49.554 >> pjsua_aud.c ..Unable to open sound device: Unknown error >> -559594163 [status=-559594163] >> >> >> 2013-09-16 00:45:49:571 Yalo[323:60b] 972544816020 00:45:49.561 >> call.m Error making call: Unknown error -559594163 >> [status=-559594163] >> >> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> >> >> _______________________________________________ >> Visit our blog:http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Q
qiulang
Tue, Jan 7, 2014 4:10 AM

Hi,

I tried pjsip 2.1 and even latest 2.2 trunk but I still see from time to
time that on_incoming_call did not get called when my iOS app runs in
background (surely I have set it as a voip app), especially using 3G. So
in this case only when the app enters the foreground on_incoming_call
was called but the calling party had already hang up. After further
debugging the issue I found sometimes the tcp port seems to be blocked
entirely as my server keeping resending the invite message.

So any idea how to fix that ?

Hi, I tried pjsip 2.1 and even latest 2.2 trunk but I still see from time to time that on_incoming_call did not get called when my iOS app runs in background (surely I have set it as a voip app), especially using 3G. So in this case only when the app enters the foreground on_incoming_call was called but the calling party had already hang up. After further debugging the issue I found sometimes the tcp port seems to be blocked entirely as my server keeping resending the invite message. So any idea how to fix that ?
TZ
Tim Zhang
Tue, Apr 29, 2014 8:53 AM

I also encounter this problem, have you found the root cause about it?
Thanks.

2014-01-07 12:10 GMT+08:00 qiulang qiulang@sinicnet.com.cn:

Hi,

I tried pjsip 2.1 and even latest 2.2 trunk but I still see from time to
time that on_incoming_call did not get called when my iOS app runs in
background (surely I have set it as a voip app), especially using 3G. So in
this case only when the app enters the foreground on_incoming_call was
called but the calling party had already hang up. After further debugging
the issue I found sometimes the tcp port seems to be blocked entirely as my
server keeping resending the invite message.

So any idea how to fix that ?


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

I also encounter this problem, have you found the root cause about it? Thanks. 2014-01-07 12:10 GMT+08:00 qiulang <qiulang@sinicnet.com.cn>: > Hi, > > I tried pjsip 2.1 and even latest 2.2 trunk but I still see from time to > time that on_incoming_call did not get called when my iOS app runs in > background (surely I have set it as a voip app), especially using 3G. So in > this case only when the app enters the foreground on_incoming_call was > called but the calling party had already hang up. After further debugging > the issue I found sometimes the tcp port seems to be blocked entirely as my > server keeping resending the invite message. > > So any idea how to fix that ? > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
NP
Nguni Phakela
Tue, Apr 29, 2014 9:00 AM

I have been trying to solve the same problem for quite some time now. and I
have yet to find a solution. So if you find one please post it and if I
also do I will post it.

Cheers,

Nguni Phakela

On Tue, Apr 29, 2014 at 10:53 AM, Tim Zhang mythfish@gmail.com wrote:

I also encounter this problem, have you found the root cause about it?
Thanks.

2014-01-07 12:10 GMT+08:00 qiulang qiulang@sinicnet.com.cn:

Hi,

I tried pjsip 2.1 and even latest 2.2 trunk but I still see from time to
time that on_incoming_call did not get called when my iOS app runs in
background (surely I have set it as a voip app), especially using 3G. So in
this case only when the app enters the foreground on_incoming_call was
called but the calling party had already hang up. After further debugging
the issue I found sometimes the tcp port seems to be blocked entirely as my
server keeping resending the invite message.

So any idea how to fix that ?


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

I have been trying to solve the same problem for quite some time now. and I have yet to find a solution. So if you find one please post it and if I also do I will post it. Cheers, -- Nguni Phakela On Tue, Apr 29, 2014 at 10:53 AM, Tim Zhang <mythfish@gmail.com> wrote: > I also encounter this problem, have you found the root cause about it? > Thanks. > > > 2014-01-07 12:10 GMT+08:00 qiulang <qiulang@sinicnet.com.cn>: > >> Hi, >> >> I tried pjsip 2.1 and even latest 2.2 trunk but I still see from time to >> time that on_incoming_call did not get called when my iOS app runs in >> background (surely I have set it as a voip app), especially using 3G. So in >> this case only when the app enters the foreground on_incoming_call was >> called but the calling party had already hang up. After further debugging >> the issue I found sometimes the tcp port seems to be blocked entirely as my >> server keeping resending the invite message. >> >> So any idea how to fix that ? >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
MS
Maksim Solovjov
Tue, Apr 29, 2014 1:45 PM

Hey,
Are you using TCP? you must use TCP.
Regards,
Maksim.

On Tue, Apr 29, 2014 at 12:00 PM, Nguni Phakela nguni52@gmail.com wrote:

I have been trying to solve the same problem for quite some time now. and I
have yet to find a solution. So if you find one please post it and if I also
do I will post it.

Cheers,

Nguni Phakela

On Tue, Apr 29, 2014 at 10:53 AM, Tim Zhang mythfish@gmail.com wrote:

I also encounter this problem, have you found the root cause about it?
Thanks.

2014-01-07 12:10 GMT+08:00 qiulang qiulang@sinicnet.com.cn:

Hi,

I tried pjsip 2.1 and even latest 2.2 trunk but I still see from time to
time that on_incoming_call did not get called when my iOS app runs in
background (surely I have set it as a voip app), especially using 3G. So in
this case only when the app enters the foreground on_incoming_call was
called but the calling party had already hang up. After further debugging
the issue I found sometimes the tcp port seems to be blocked entirely as my
server keeping resending the invite message.

So any idea how to fix that ?


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hey, Are you using TCP? you must use TCP. Regards, Maksim. On Tue, Apr 29, 2014 at 12:00 PM, Nguni Phakela <nguni52@gmail.com> wrote: > I have been trying to solve the same problem for quite some time now. and I > have yet to find a solution. So if you find one please post it and if I also > do I will post it. > > Cheers, > -- > Nguni Phakela > > On Tue, Apr 29, 2014 at 10:53 AM, Tim Zhang <mythfish@gmail.com> wrote: >> >> I also encounter this problem, have you found the root cause about it? >> Thanks. >> >> >> 2014-01-07 12:10 GMT+08:00 qiulang <qiulang@sinicnet.com.cn>: >>> >>> Hi, >>> >>> I tried pjsip 2.1 and even latest 2.2 trunk but I still see from time to >>> time that on_incoming_call did not get called when my iOS app runs in >>> background (surely I have set it as a voip app), especially using 3G. So in >>> this case only when the app enters the foreground on_incoming_call was >>> called but the calling party had already hang up. After further debugging >>> the issue I found sometimes the tcp port seems to be blocked entirely as my >>> server keeping resending the invite message. >>> >>> So any idea how to fix that ? >>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
NP
Nguni Phakela
Tue, Apr 29, 2014 1:51 PM

I am using TCP and I'm still getting an error. But when I use UDP I came make and receive calls in foreground without a problem.

--
Nguni Phakela
Sent from my iPhone5

On 29 Apr 2014, at 3:45 PM, Maksim Solovjov maxim.solovjov@gmail.com wrote:

Hey,
Are you using TCP? you must use TCP.
Regards,
Maksim.

On Tue, Apr 29, 2014 at 12:00 PM, Nguni Phakela nguni52@gmail.com wrote:
I have been trying to solve the same problem for quite some time now. and I
have yet to find a solution. So if you find one please post it and if I also
do I will post it.

Cheers,

Nguni Phakela

On Tue, Apr 29, 2014 at 10:53 AM, Tim Zhang mythfish@gmail.com wrote:

I also encounter this problem, have you found the root cause about it?
Thanks.

2014-01-07 12:10 GMT+08:00 qiulang qiulang@sinicnet.com.cn:

Hi,

I tried pjsip 2.1 and even latest 2.2 trunk but I still see from time to
time that on_incoming_call did not get called when my iOS app runs in
background (surely I have set it as a voip app), especially using 3G. So in
this case only when the app enters the foreground on_incoming_call was
called but the calling party had already hang up. After further debugging
the issue I found sometimes the tcp port seems to be blocked entirely as my
server keeping resending the invite message.

So any idea how to fix that ?


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

I am using TCP and I'm still getting an error. But when I use UDP I came make and receive calls in foreground without a problem. -- Nguni Phakela Sent from my iPhone5 > On 29 Apr 2014, at 3:45 PM, Maksim Solovjov <maxim.solovjov@gmail.com> wrote: > > Hey, > Are you using TCP? you must use TCP. > Regards, > Maksim. > >> On Tue, Apr 29, 2014 at 12:00 PM, Nguni Phakela <nguni52@gmail.com> wrote: >> I have been trying to solve the same problem for quite some time now. and I >> have yet to find a solution. So if you find one please post it and if I also >> do I will post it. >> >> Cheers, >> -- >> Nguni Phakela >> >>> On Tue, Apr 29, 2014 at 10:53 AM, Tim Zhang <mythfish@gmail.com> wrote: >>> >>> I also encounter this problem, have you found the root cause about it? >>> Thanks. >>> >>> >>> 2014-01-07 12:10 GMT+08:00 qiulang <qiulang@sinicnet.com.cn>: >>>> >>>> Hi, >>>> >>>> I tried pjsip 2.1 and even latest 2.2 trunk but I still see from time to >>>> time that on_incoming_call did not get called when my iOS app runs in >>>> background (surely I have set it as a voip app), especially using 3G. So in >>>> this case only when the app enters the foreground on_incoming_call was >>>> called but the calling party had already hang up. After further debugging >>>> the issue I found sometimes the tcp port seems to be blocked entirely as my >>>> server keeping resending the invite message. >>>> >>>> So any idea how to fix that ? >>>> >>>> >>>> _______________________________________________ >>>> Visit our blog: http://blog.pjsip.org >>>> >>>> pjsip mailing list >>>> pjsip@lists.pjsip.org >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org