forked from Mirrors/freeswitch
add rport hack to sofia lib to ease NAT suffering
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8497 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6c5615fdb4
commit
8c12407619
@ -1 +1 @@
|
||||
Mon May 19 12:56:22 EDT 2008
|
||||
Wed May 21 00:25:55 CEST 2008
|
||||
|
@ -2579,6 +2579,10 @@ int agent_check_request_via(nta_agent_t *agent,
|
||||
rport = su_sprintf(msg_home(msg), "rport=%u", ntohs(from->su_port));
|
||||
msg_header_replace_param(msg_home(msg), v->v_common, rport);
|
||||
}
|
||||
else {
|
||||
rport = su_sprintf(msg_home(msg), "rport=%u", ntohs(from->su_port));
|
||||
msg_header_replace_param(msg_home(msg), v->v_common, rport);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user