[Devel] [ openser-Feature Requests-1723561 ] 'symmetric' flag for
force_rtp_proxy()
SourceForge.net
noreply at sourceforge.net
Fri May 25 19:02:07 CEST 2007
Feature Requests item #1723561, was opened at 2007-05-22 18:26
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1723561&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
>Assigned to: Bogdan (bogdan_iancu)
Summary: 'symmetric' flag for force_rtp_proxy()
Initial Comment:
Just like the 'a' is forcing an asymmetric rtp session, it would be helpful to have a new flag to force a symmetric rtp session.
The following patch is assuming 'w' as being the new symmetric flag:
# diff -Naurp nathelper.c nathelper.c.new
--- nathelper.c 2007-05-22 09:58:27.000000000 -0400
+++ nathelper.c.new 2007-05-22 09:58:19.000000000 -0400
@@ -1822,6 +1822,11 @@ force_rtp_proxy2_f(struct sip_msg* msg,
swap = 1;
break;
+ case 'w':
+ case 'W':
+ opts[oidx++] = 'S';
+ break;
+
default:
LOG(L_ERR, "ERROR: force_rtp_proxy2: unknown option `%c'\n", *cp);
return -1;
----------------------------------------------------------------------
>Comment By: Bogdan (bogdan_iancu)
Date: 2007-05-25 20:02
Message:
Logged In: YES
user_id=1275325
Originator: NO
ok - the patch is on SVN.
regards,
Bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1723561&group_id=139143
More information about the Devel
mailing list