[SR-Users] How to get Destination port UDP

andrzej.ciupek-asterisk.edu.pl andrzej.ciupek at asterisk.edu.pl
Wed Nov 9 09:56:07 CET 2016


Hello

Thank You. In using Kamailio only as:

route {

if (is_method("INVITE"))
{
sql_query("cb", "insert into invites 
(from_user,to_user,callid,src_ip,dst_ip,src_port,dst_port) values 
('$fU','$rU','$ci','$si','$rd','$sp','$rp')");
}

}

I know that

sip_capture();

In some way get real DST port even if there is no port in r-URI.

Greetings



More information about the sr-users mailing list