Hello, I guess you refer to sip_trace() -- iirc, sip_capture() only saves locally what sip_trace() is sending over hep. If yes, then sip_trace() is using some callbacks internally to get data at various levels of transaction processing.
Also, if there is no port in a URI, then it is considered to be the default value, respectively 5060 (udp, tcp, sctp) or 5061 (tls). Cheers, Daniel On 09/11/16 09:56, andrzej.ciupek-asterisk.edu.pl wrote: > 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 > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users