|
@@ -525,16 +525,19 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_contact();};
|
|
* flags - the value may be a bitwise OR of the following flags:
|
|
* flags - the value may be a bitwise OR of the following flags:
|
|
+ 0x01 - adds “a=direction:active” SDP line;
|
|
+ 0x01 - adds “a=direction:active” SDP line;
|
|
+ 0x02 - rewrite media IP address (c=) with source address of
|
|
+ 0x02 - rewrite media IP address (c=) with source address of
|
|
- the message or the provided IP address (the provide IP address
|
|
|
|
- take precedence over the source address).
|
|
|
|
|
|
+ the message or the provided IP address. (a=rtpc) param will be
|
|
|
|
+ rewritten if exists. (the provided IP address take precedence
|
|
|
|
+ over the source address).
|
|
+ 0x04 - adds “a=nortpproxy:yes” SDP line;
|
|
+ 0x04 - adds “a=nortpproxy:yes” SDP line;
|
|
+ 0x08 - rewrite IP from origin description (o=) with source
|
|
+ 0x08 - rewrite IP from origin description (o=) with source
|
|
- address of the message or the provided IP address (the provide
|
|
|
|
- IP address take precedence over the source address).
|
|
|
|
|
|
+ address of the message or the provided IP address. (a=rtpc)
|
|
|
|
+ param will be rewritten if exists. (the provided IP address
|
|
|
|
+ take precedence over the source address).
|
|
* ip_address - IP to be used for rewriting SDP. If not specified, the
|
|
* ip_address - IP to be used for rewriting SDP. If not specified, the
|
|
received signalling IP will be used. The parameter allows
|
|
received signalling IP will be used. The parameter allows
|
|
pseudo-variables usage. NOTE: For the IP to be used, you need to
|
|
pseudo-variables usage. NOTE: For the IP to be used, you need to
|
|
- use 0x02 or 0x08 flags, otherwise it will have no effect.
|
|
|
|
|
|
+ use 0x02 or 0x08 flags, otherwise it will have no effect. Must be
|
|
|
|
+ IPv4 address family.
|
|
|
|
|
|
This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
|
|
This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
|
|
FAILURE_ROUTE, BRANCH_ROUTE.
|
|
FAILURE_ROUTE, BRANCH_ROUTE.
|