Alexey Mechanoshin writes: > Apr 11 17:55:41 r59vredfs /usr/sbin/kamailio[14873]: INFO: <script>: > request uri is <sip:5...@192.xxx.xxx.50:5070> > Apr 11 17:55:41 r59vredfs /usr/sbin/kamailio[14873]: INFO: lcr > [lcr_mod.c:1835]: from uri <> did not match to from regex > <sip:5...@192.xxx.xxx.59>
your from uri is empty string. check that you call load_gws() with proper arguments: 4.1. load_gws(lcr_id[, uri_user[, caller_uri]]) Loads attributes of matching gateways to gw_uri_avp (see Overview section). Argument lcr_id specifies the used LCR instance. It can be an integer or a pseudo variable containing an integer value. If uri_user is given, it is used, instead of Request-URI user part, to look for matching gateways. Caller's URI may be given by caller_uri argument. If caller_uri argument is omitted, it defaults to empty string. Both uri_user and caller_uri argument may be a string or a pseudo variable containing a sting value. -- juha _______________________________________________ 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