User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cookbooks:devel:transformations [2020/03/24 09:17]
miconda [{s.count,c}]
cookbooks:devel:transformations [2020/08/28 20:58]
miconda [{uri.tosocket}]
Line 1: Line 1:
-====== Kamailio SIP Server v5.4.x (devel): Transformations ======+====== Transformations ====== 
 +Version: Kamailio SIP Server v5.5.x (devel)
 <code> <code>
Line 462: Line 464:
 <code> <code>
 "sip:test@;transport=udp"{uri.tosocket} => "udp:" "sip:test@;transport=udp"{uri.tosocket} => "udp:"
 +==== {uri.suri} ====
 +Return the simple URI for routing, keeping only schema, user, host, port and transport parameter. If user, port and transport are not in the original value, they are also not in the returned value.
 +<code c>
 +$var(ouri) = ";nat=yes;transport=tcp;line=xyz";
 +$var(suri) = $(var(ouri){uri.suri}); # => ";transport=tcp"
 </code> </code>
 ===== Parameters List Transformations ===== ===== Parameters List Transformations =====
cookbooks/devel/transformations.txt · Last modified: 2020/08/31 12:17 by miconda