ashumeow / p2p-sip

Automatically exported from code.google.com/p/p2p-sip
0 stars 0 forks source link

Incorrect branch in ACK to 200 OK #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
First reported by Dmitry dima dganenko@gmail.com on Jun 19, 2012.

---

SIP-RTMP gateway dosn't work corecctly with Smile CTI Server.
Developers of this server says that problem is that siprtmp violates rfc3261:
branch-id in ACK Via field for 200 OK response must not be identical to 
branch-id of original INVITE
How to fix this?

---
One option is to modify UserAgent's createRequest method in
http://code.google.com/p/p2p-sip/source/browse/trunk/src/std/rfc3261.py r64 
after line 1052
as follows
if method == 'ACK': Via.branch += 'ack'

Original issue reported on code.google.com by theinten...@gmail.com on 29 Jun 2012 at 9:17