[OpenSIPS-Users] PRI_PREFIX fields of dr_rules table

Ali Pey alipey at gmail.com
Mon Aug 27 15:53:49 CEST 2012


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 <forvoip4 at gmail.com> 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 <mm at 42com.com>
>
>>  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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120827/59ae2d58/attachment.htm>


More information about the Users mailing list