[OpenSIPS-Users] Behaviour of enum_pv_query

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jan 21 15:41:34 CET 2009


Carlo Dimaggio wrote:
> Il giorno 20/gen/09, alle ore 13:13, Bogdan-Andrei Iancu ha scritto:
>
>   
>> Hi Carlo,
>>
>> the pvar option is for giving you liberty to push something else  
>> than the RURI, but AFAIK, the  username must follow the E164 format,  
>> because all the ENUM records are published using this format.
>>     
>
> Ok, I think that I'll change my usernames... But why in  
> enum_pv_query("pvar") there is a control for RURI?
>   
I looked over the function and it is strange as the ENUM query is done 
based on the number found in the pvar, but the regexp/replacement (from 
ENUM record) is done over the RURI....not sure if this is a bug or this 
is the normal behaviour....I will do more investigations...

Regards,
Bogdan



More information about the Users mailing list