[SR-Users] Unexpected evaluation to false on a phonenumber in $avp

Daniel Tryba daniel at pocos.nl
Tue Jan 6 10:21:29 CET 2015


On Monday 05 January 2015 18:57:00 Victor Seva wrote:
> Check
> http://www.kamailio.org/docs/modules/4.1.x/modules/siputils.html#siputils.f
> .is_e164

Thanks for the pointer but the value doesn't necesarrily contain e164 numbers, 
for example the value might contain the Dutch harmonized carrier voicemail 
number (1233).

My question/observation is why are "+31xxxxxxxxx" or "+49xxxxxxxxx" considered 
true and "+41xxxxxxxxx" evaluated false?

-- 

POCOS B.V. - Croy 9c - 5653 LC Eindhoven
Telefoon: 040 293 8661 - Fax: 040 293 8658
http://www.pocos.nl/   - http://www.sipo.nl/
K.v.K. Eindhoven 17097024



More information about the sr-users mailing list