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@textplus.com> wrote:

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:


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@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users