if the number looks like E164, first use the enum lookup functions to see if the number is present in the enum tree(s): http://openser.org/docs/modules/1.1.x/enum.html#AEN82 if the function returns true => it's ENUM and do t_relay(); otherwise just send it to PSTN.
regards, bogdan
Mark Kent wrote:
Suppose I get this on sip.example.com:
INVITE 14085551212@sip.example.com
What do I need to do in openser to find out if I should t_relay that to a VoIP destination, because 14085551212 is known in the e164 hierarchy (both e164.arpa and e164.org), versus just shipping it off to my pstn gateway?
Thanks, -mark
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users