Hi Jehan,

Thanks for your email.  It is not working on emulator.

When I looked at the code following method is returning FALSE
if (!CFReadStreamSetProperty(mReadStream, kCFStreamNetworkServiceType,
kCFStreamNetworkServiceTypeVoIP)) {
        ms_error("cannot set service type to voip for read stream");
}

And I tried the linphone compiled code in device and it is not working.

Interestingly linphone app download from Appstore is working fine.

I will be waiting for your suggestions on this.

On Fri, Mar 18, 2011 at 4:04 PM, Ramu <[email protected]> wrote:

> Is background mode works on emulator? or do we only test background mode on
> device?
>
>
> On Fri, Mar 18, 2011 at 2:46 PM, Ramu <[email protected]> wrote:
>
>> Hi Jehan,
>>
>> Latest source code I compiled and able to run the project but when I enter
>> into background mode my emulator is not receiving the calls.
>>
>> I did set the background "on" in settings. (When I entered into background
>> mode, linphone registered with SIP Server)
>>
>> I captured the log and here it is.
>> 2011-03-18 14:41:29.959 linphone[80338:6907] Message received from:
>> 66.x.x.3:5060
>> 2011-03-18 14:41:29.959 linphone[80338:6907] Message received from:
>> 66.x.x.3:5060
>> 2011-03-18 14:41:29.959 linphone[80338:6907] MESSAGE REC. CALLID:77531255
>> 2011-03-18 14:41:29.960 linphone[80338:6907] Message received from:
>> 66.x.x.3:5060
>> 2011-03-18 14:41:29.960 linphone[80338:6907] cb_rcv2xx (id=8)
>> 2011-03-18 14:41:29.960 linphone[80338:6907] eXosip: timer sec:3
>> usec:781584!
>> 2011-03-18 14:41:29.975 linphone[80338:207] linphone process event get a
>> message 1
>> 2011-03-18 14:41:29.975 linphone[80338:207] "asterisk"/3000 authentication
>> works.
>> 2011-03-18 14:41:29.975 linphone[80338:207] Register has up to date
>> contact, doing nothing.
>> 2011-03-18 14:41:30.182 linphone[80338:207] keepalive handler succesfully
>> registered
>> 2011-03-18 14:41:30.183 linphone[80338:207] cannot set service type to
>> voip for read stream
>>
>>
>>
>>
>> On Wed, Mar 16, 2011 at 6:40 PM, Jehan Monnier <
>> [email protected]> wrote:
>>
>>> Hi Krunal,
>>>
>>> Can send us logs.
>>> Also can you make sure your device support multitasking ?
>>>
>>> Cheers
>>>
>>>   Jehan
>>> www.linphone.org
>>>
>>>
>>>
>>>
>>>
>>>
>>> Le 16 mars 2011 à 13:50, krunal tailor a écrit :
>>>
>>> Hello,
>>>
>>> We checked out Linphone iPhone source code and compiled and running
>>> X-Code with iOS Simulator.
>>>
>>> When the application is launched incoming and outgoing calls are working
>>> as expected.
>>>
>>> But when we close the application it enters into background mode but the
>>> application is not receiving incoming calls.
>>>
>>> We enabled "Background" mode support under settings->linphone.
>>>
>>> While looking at logs we saw warning "cannot set service type to voip for
>>> read stream" for incoming call.
>>>
>>> We will appreciate your help on this.
>>>
>>> Thanks,
>>> Krunal Tailor
>>> _______________________________________________
>>> Linphone-users mailing list
>>> [email protected]
>>> http://lists.nongnu.org/mailman/listinfo/linphone-users
>>>
>>>
>>>
>>> _______________________________________________
>>> Linphone-users mailing list
>>> [email protected]
>>> http://lists.nongnu.org/mailman/listinfo/linphone-users
>>>
>>>
>>
>>
>> --
>> Ramu
>>
>
>
>
> --
> Ramu
>



-- 
Ramu
_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to