Displaying 1 result from an estimated 1 matches for "reinvite_upd".
2003 Dec 10
0
Native Bridging and Polycom 600 Solved
...tions this way - the branch numbers must be
different for new invites. So here's the change:
In chan_sip.c, in transmit_reinvite_with_sdp():
static int transmit_reinvite_with_sdp(struct sip_pvt *p, struct ast_rtp *rtp,
struct ast_rtp *vrtp)
{
struct sip_request req;
if (p->canreinvite == REINVITE_UPDATE)
reqprep(&req, p, "UPDATE", 0);
else {
// BEGIN POLYCOM CHANGE
p->branch++;
snprintf(p->via, sizeof(p->via), "SIP/2.0/UDP
%s:%d;branch=z9hG4bK%08x", inet_ntoa(p->ourip), ourport, p->branch);
// END POLYCOM CHANGE
r...