It's neither To for From. It's examined against the Request-URI value which in most cases the same as To.
Regards, Ali Pey On Mon, Aug 27, 2012 at 5:46 AM, Engineer voip <[email protected]> wrote: > yes i mean "prefix" of dr_rules tables > > ** I want to redirect *emergency calls* to asterisk but I don't know if > the prefix is used to controling "To" or "From" headers. > > ** for example if an user calls the *15* number then opensips redirect > it to my asterisk server declared in dr_gateways table > > thanks > > > 2012/8/27 Max Mühlbronner <[email protected]> > >> Hi, >> >> "pri_prefix" is related to dr_gateways table, it is like a "tech"prefix >> used by the carrier/gw. It is not matched, but added to the request uri >> when sending out the call to the Gateway. >> >> Did you mean "prefix" of dr_rules table? These prefixes are used to match >> based on the request uri, but not based on from/to header. >> >> >> >> Best Regards >> >> Max M. >> >> >> On 08/27/2012 11:28 AM, Engineer voip wrote: >> >> Hello All, >> >> someone can tell me if the PRI_PREFIX fields of the dr_rules table is >> used to matching the "To" o "From" fields. >> >> Thank you. >> >> >> _______________________________________________ >> Users mailing >> [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
