Browse code

Merge 59cd3ff5145efa454ae1eb70e8dba88560c7b319 into 313f5d85faff333adf8ecece6d23bf6db8443164

Bastian Triller authored on 16/10/2020 10:41:10 • GitHub committed on 16/10/2020 10:41:10
Showing 3 changed files
... ...
@@ -2142,7 +2142,7 @@ void init_proto_order()
2142 2142
 
2143 2143
 
2144 2144
 /**
2145
- * parse '[port:]host[:port]' string to a broken down structure
2145
+ * parse '[proto:]host[:port]' string to a broken down structure
2146 2146
  */
2147 2147
 int parse_protohostport(str* ins, sr_phostp_t *r)
2148 2148
 {
... ...
@@ -2230,7 +2230,7 @@ error_port:
2230 2230
 }
2231 2231
 
2232 2232
 /**
2233
- * lookup a local socket by '[port:]host[:port]' string
2233
+ * lookup a local socket by '[proto:]host[:port]' string
2234 2234
  */
2235 2235
 struct socket_info* lookup_local_socket(str *phostp)
2236 2236
 {
... ...
@@ -562,7 +562,7 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_contact();};
562 562
 				<listitem>
563 563
 					<para><emphasis>0x02</emphasis> - rewrite media
564 564
 					&ip; address (c=) with source address of the message
565
-					or the provided IP address. (a=rtpc) param will be rewritten if exists. (the provided IP address take
565
+					or the provided IP address. (a=rtcp) param will be rewritten if exists. (the provided IP address take
566 566
 					precedence over the source address).</para>
567 567
 				</listitem>
568 568
 				<listitem>
... ...
@@ -572,7 +572,7 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_contact();};
572 572
 				<listitem>
573 573
 					<para><emphasis>0x08</emphasis> - rewrite IP from
574 574
 					origin description (o=) with source address of the message
575
-					or the provided IP address. (a=rtpc) param will be rewritten if exists. (the provided IP address take
575
+					or the provided IP address. (a=rtcp) param will be rewritten if exists. (the provided IP address take
576 576
 					precedence over the source address).</para>
577 577
 				</listitem>
578 578
 			</itemizedlist>
... ...
@@ -582,7 +582,7 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_contact();};
582 582
 			If not specified, the received signalling IP will be used. The
583 583
 			parameter allows pseudo-variables usage. NOTE: For the IP to be
584 584
 			used, you need to use 0x02 or 0x08 flags, otherwise it will have
585
-			no effect. Must be IPv4 address family. 
585
+			no effect. Must be IPv4 address family.
586 586
 			</para>
587 587
 			</listitem>
588 588
 		</itemizedlist>
... ...
@@ -1376,7 +1376,25 @@ event_route[uac:reply] {
1376 1376
 ...
1377 1377
 			</programlisting>
1378 1378
 		</example>
1379
-	</section>
1379
+		</section>
1380
+
1381
+		<section id="uac.r.uac.reg_remove">
1382
+			<title>
1383
+				<function moreinfo="none">uac.reg_remove</function>
1384
+			</title>
1385
+		<para>
1386
+		Remove a UAC remote registration record by l_uuid.
1387
+		</para>
1388
+
1389
+		<example>
1390
+		<title><function>uac.reg_remove</function> usage</title>
1391
+			<programlisting format="linespecific">
1392
+...
1393
+   kamcmd uac.reg_remove my_l_uuid
1394
+...
1395
+			</programlisting>
1396
+		</example>
1397
+		</section>
1380 1398
 	</section>
1381 1399
 
1382 1400
 	<section>