I have a match expression for outbound calls as "\d{10}". It's fine for
unformatted numbers. Not knowing any better, I created another extension to
handle numbers formatted like XXX-XXX-XXXX, which is easier to read and
exists in one hard phone's phonebook.

 

It looks like: "^1?(\d{3})-(\d{3})-(\d{4})$". But I can see making many
extensions for different formats.

 

There's got to be a better way. Any suggestions?

 

Thanks, Lars

_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to