Please find attached a patch to SIP that sends a Proxy-Authentication =
header
for BYE and CANCEL. This is required in some Cisco environments. The =
absence
of this patch can lead to calls not being hung up.
Posted: Mon Apr 07, 2003 3:15 am Post subject: [Asterisk-Dev] SIP CANCEL/BYE authorization patch
Hi James,
James Dennis wrote:
Quote:
Please find attached a patch to SIP that sends a Proxy-Authentication header
for BYE and CANCEL. This is required in some Cisco environments. The absence
of this patch can lead to calls not being hung up.
works for me (Cisco 3640 with VIC-2BRI), thanks ;-)
Mark: This fixes the second problem i've reports earlier today, BYE now
works without SIP481 error and hangup-delay. I'm still getting SIP487
on CANCEL, is this really an error or just a confirmation for the cancel?
Posted: Mon Apr 07, 2003 3:27 am Post subject: [Asterisk-Dev] SIP CANCEL/BYE authorization patch
Quote:
Mark: This fixes the second problem i've reports earlier today, BYE now
works without SIP481 error and hangup-delay. I'm still getting SIP487
on CANCEL, is this really an error or just a confirmation for the cancel?
It is, according to 3261, just the confirmation on the cancel.
Posted: Mon Apr 07, 2003 3:32 am Post subject: [Asterisk-Dev] SIP CANCEL/BYE authorization patch
Hi Christoph,
A 487 is always sent after a request is CANCELed. Asterisk has to ACK it.
The correct code for doing this was committed to CVS yesterday. Mark should
be committing a slightly updated (design rather than functionality) version
of my patch shortly too. This may cause you merge conflicts.
James
-----Original Message-----
From: asterisk-dev-admin@lists.digium.com
[mailto:asterisk-dev-admin@lists.digium.com] On Behalf Of Christoph Frei
Sent: 07 April 2003 4:15 AM
To: asterisk-dev@lists.digium.com
Subject: Re: [Asterisk-Dev] SIP CANCEL/BYE authorization patch
Hi James,
James Dennis wrote:
Quote:
Please find attached a patch to SIP that sends a Proxy-Authentication
header for BYE and CANCEL. This is required in some Cisco environments.
The absence of this patch can lead to calls not being hung up.
works for me (Cisco 3640 with VIC-2BRI), thanks ;-)
Mark: This fixes the second problem i've reports earlier today, BYE now
works without SIP481 error and hangup-delay. I'm still getting SIP487 on
CANCEL, is this really an error or just a confirmation for the cancel?
Posted: Mon Apr 07, 2003 3:55 am Post subject: [Asterisk-Dev] SIP CANCEL/BYE authorization patch
Mark Spencer wrote:
Quote:
>Mark: This fixes the second problem i've reports earlier today, BYE now
>works without SIP481 error and hangup-delay. I'm still getting SIP487
>on CANCEL, is this really an error or just a confirmation for the cancel?
>
It is, according to 3261, just the confirmation on the cancel.
Ok, i was not sure about this, i read somewhere that 2xx are ACKs,
and 4xx are errors... Well, back to the RTFRFC (Read the f.... RFC ;-).
Thanks, now i can finally dump my old ISDN phone :-))
got the latest CVS. Still seeing extremely long delay between hangup and
tear-down of the RTP connection with Iconnect.
sip debug attached.
Gregg
On Sun, 2003-04-06 at 23:27, Mark Spencer wrote:
Quote:
> Mark: This fixes the second problem i've reports earlier today, BYE now
> works without SIP481 error and hangup-delay. I'm still getting SIP487
> on CANCEL, is this really an error or just a confirmation for the cancel?
It is, according to 3261, just the confirmation on the cancel.
I see this "Call leg doesn't exist" error too. If you don't try to hang up
straight away (ie leave sending CANCEL for a while) do you see a repeating
pattern of 200 OKs from iconnect and ACKs from asterisk?
James
-----Original Message-----
From: asterisk-dev-admin@lists.digium.com
[mailto:asterisk-dev-admin@lists.digium.com] On Behalf Of Gregg Lebovitz
Sent: 08 April 2003 2:05 PM
To: asterisk-dev@lists.digium.com
Subject: Re: [Asterisk-Dev] SIP CANCEL/BYE authorization patch
Mark,
got the latest CVS. Still seeing extremely long delay between hangup and
tear-down of the RTP connection with Iconnect.
sip debug attached.
Gregg
On Sun, 2003-04-06 at 23:27, Mark Spencer wrote:
Quote:
> Mark: This fixes the second problem i've reports earlier today, BYE
> now works without SIP481 error and hangup-delay. I'm still getting
> SIP487 on CANCEL, is this really an error or just a confirmation for
> the cancel?
It is, according to 3261, just the confirmation on the cancel.
got the latest CVS. Still seeing extremely long delay between hangup and
tear-down of the RTP connection with Iconnect.
sip debug attached.
Gregg
Hi Gregg,
I'd like to see a call where you hold the line open for a while - in order
to see whether they keep sending their 200 OK - ie don't like (or don't
get) our ACK.
Heres a trace with the line open. I don't see any activity between the
call answer and the hangup.
Gregg
On Tue, 2003-04-08 at 10:11, Stephen Davies wrote:
Quote:
On 8 Apr 2003, Gregg Lebovitz wrote:
> Mark,
>
> got the latest CVS. Still seeing extremely long delay between hangup and
> tear-down of the RTP connection with Iconnect.
>
> sip debug attached.
>
> Gregg
Hi Gregg,
I'd like to see a call where you hold the line open for a while - in order
to see whether they keep sending their 200 OK - ie don't like (or don't
get) our ACK.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum