[Users] SIP Proxy

Klaus Darilion klaus.mailinglists at pernau.at
Thu Jul 20 21:23:54 CEST 2006


On Thu, July 20, 2006 20:25, Luiz Gustavo F. dos Santos said:
> if(avp_check("$fU","54*") && avp_check("$rU","54*")) {
>         route(1);
> };
>
> that´s right?

no - you have to specify the operator. In this case the fast-match
operator should be sufficient:

Try this:
if(avp_check("$fU","fm/54*") && avp_check("$rU","fm/54*"))

regards
klaus

>
> thanks
>
> Gustavo
> ----- Original Message -----
> From: "Klaus Darilion" <klaus.mailinglists at pernau.at>
> To: "Luiz Gustavo F. dos Santos" <gustavo at flai.com.br>
> Cc: <users at openser.org>
> Sent: Thursday, July 20, 2006 1:42 PM
> Subject: Re: [Users] SIP Proxy
>
>
>> e.g.
>>
>> avp_check $fU with fm operator with 54*
>> and
>> avp_check $rU with fm operator with 54*
>>
>> regards
>> klaus
>>
>>
>> Luiz Gustavo F. dos Santos wrote:
>>> Hello everybody...
>>>  I´m just starting with OpenSER and I´m in trouble!
>>> I would like your help to configure my openser just like this:
>>>  - Peers 54XX only can call peers 54XX
>>>  I have no idea of how do this.
>>>  Best regards
>>>  Gustavo
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
>






More information about the sr-users mailing list