Summary:ASTERISK-12911: [patch] invites with proxy_auth have wrong via-branch-tag
Reporter:Marcus Hunger (fnordian)Labels:
Date Opened:2008-10-16 03:49:59Date Closed:2008-10-16 15:46:50
Versions:Frequency of
Environment:Attachments:( 0) invite_branch.patch
invite-requests with proxy auth are sent with a branch-tag different from the one in the dialog's invite_branch property. Therefor the tag of the following cancel-requests does not match the invite and the cancels get rejected with 481.
Comments:By: Leif Madsen (lmadsen) 2008-10-16 13:41:44

I've assigned this bug to putnopvut in the hopes he can look at the patch and determine if it should go into Asterisk. Thanks for the contribution!

By: Mark Michelson (mmichelson) 2008-10-16 15:39:53

Patch looks fine by me. I'll get it committed.

By: Digium Subversion (svnbot) 2008-10-16 15:46:48

Repository: asterisk
Revision: 150207

U   trunk/channels/chan_sip.c

r150207 | mmichelson | 2008-10-16 15:46:47 -0500 (Thu, 16 Oct 2008) | 12 lines

INVITES with proxy auth were sent with a different branch
than what was in the invite_branch of a sip_pvt, meaning
that if a CANCEL were sent later, the branch in the CANCEL
would not match the branch in the latest INVITE sent out, leading
to some endpoints responding to the CANCEL with a 481.

(closes issue ASTERISK-12911)
Reported by: fnordian
     invite_branch.patch uploaded by fnordian (license 110)