linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] How to determine which registration has failed


From: Simon Morlat
Subject: Re: [Linphone-developers] How to determine which registration has failed when a 'Not found' is received from linphonecore
Date: Thu, 29 Nov 2007 22:22:03 +0100
User-agent: KMail/1.9.7

Hi,

You should have a look at coreapi/exevents.c, especially 
linphone_registration_faillure() method. You can modify it to retrieve the 
information that is missing to you.

Simon

Le Wednesday 21 November 2007 15:39:53 Jeroen Steenhuis, vous avez écrit :
> Hello,
>
>
>
> I try to parse the connection state coming from linphonecore.c.
>
>
>
> When I do a connect I get:
>
>
>
> 'Registration on sip:address@hidden:5060 sucessful.'
>
>
>
> When the sip server is unreachable I get:
>
>
>
> 'Registration on sip:address@hidden:5060 failed (timeout)'
>
>
>
> But when the user doesn't exist on the server I get:
>
>
>
> 'Not Found'
>
>
>
> How can I determine which user isn't found?
>
>
>
> I tried to get it out of the received lc object, but I don't know where
> to find it..
>
>
>
> Kind Regards,
>
>
>
> Jeroen Steenhuis
>
> The Netherlands






reply via email to

[Prev in Thread] Current Thread [Next in Thread]