Menggunakan ENUM di SER

From OnnoWiki
Revision as of 16:53, 5 March 2008 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
# is this an ENUM destination (leading +?)
if (method=="INVITE" && uri=~"sip:\+[0-9]+ at iptel\.org") {
       if (!enum_query("voice"))       # if parameter empty, it defaults to "e2u+sip"
           enum_query("");             # E2U+sip
   };