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" <[EMAIL PROTECTED]>
> To: "Luiz Gustavo F. dos Santos" <[EMAIL PROTECTED]>
> Cc: <[email protected]>
> 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
>>> [email protected]
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
>
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users