[pjsip] Handling INFO request responses
philippe.leuba at eyepmedia.com
Tue Feb 19 04:36:24 EST 2008
I tested with two commercial proxies, one do not answer INFO request at all,
and the other answers with a 481. But both answer to BYE with 200/OK.
So I will wait on your fix.
From: pjsip-bounces at lists.pjsip.org [mailto:pjsip-bounces at lists.pjsip.org]
On Behalf Of Benny Prijono
Sent: mardi, 19. février 2008 09:26
To: pjsip list
Subject: Re: [pjsip] Handling INFO request responses
On 2/18/08, Philippe <philippe.leuba at eyepmedia.com> wrote:
> When we send an INFO request in an INVITE initiated dialog and receive
> a 481 or 408 response, the pj stack invokes the on_state_changed callback
> the invite session with the PJSIP_INV_STATE_DISCONNECTED state.
> This result in the termination of the dialog and is compliant with section
> 18.104.22.168 of RFC 3261, however a BYE request is not sent.
> Is it the application responsibility to do it or is it a mistake?
I think you should first find out why the proxy sends 481/408, if the
remote dialog is still alive in the first place. I decided not to send
BYE because I would think that the BYE most likely will be responded
with 481 anyway, so why bother wasting another transaction?
But you're right, this is not strictly compliant with the RFC. I've
just added http://trac.pjsip.org/repos/ticket/488 to fix this.
> Best regards
> Philippe Leuba
> eyeP Media SA
> Visit our blog: http://blog.pjsip.org
> pjsip mailing list
> pjsip at lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip at lists.pjsip.org
More information about the pjsip