[SR-Users] Phonenum Module

Soltanici Ilie iliesh at mail.ru
Sun Dec 30 22:21:15 CET 2018


Hi, 

Yes - I tried "number" and “normalized” keys - but both of them, are giving the number in international format only (including country code), I'm looking for the number in national format only. 
I can take the "normalized" number and remove country code with "cctel" but I think there should be more elegant way to do this. At least with standard libphonenumber i can have the number in national format as well.
Thank You.
>
>
>Have you tried the “number” and “normalized” keys in case they have the value you want? 
>
>On Sun, Dec 30, 2018 at 12:45 Joel Serrano < joel at textplus.com > wrote:
>>https://kamailio.org/docs/modules/5.2.x/modules/phonenum.html#idm1024751204
>>
>>If It’s not there (which I believe it’s not) I would open a feature request in github. 
>>
>>Daniel kindly added another field I was missing, if you are familiar with C code, you can check the commits referenced in this ticket and submit a PR:
>>
>>https://github.com/kamailio/kamailio/issues/1576
>>
>>Joel. 
>>
>>On Sun, Dec 30, 2018 at 10:22 Soltanici Ilie wrote:
>>>Hi All,
>>>
>>>How can i get Local Number by using phonenum module? 
>>>What is the variable for that?
>>>
>>>Thank You _______________________________________________
>>>Kamailio (SER) - Users Mailing List
>>>sr-users at lists.kamailio.org
>>>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181231/517e8ad3/attachment.html>


More information about the sr-users mailing list