Difference between revisions of "Menggunakan ENUM di SER"

From OnnoWiki
Jump to navigation Jump to search
(New page: # 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" ...)
 
 
Line 1: Line 1:
 
  # is this an ENUM destination (leading +?)
 
  # is this an ENUM destination (leading +?)
 
  if (method=="INVITE" && uri=~"sip:\+[0-9]+ at iptel\.org") {
 
  if (method=="INVITE" && uri=~"sip:\+[0-9]+ at iptel\.org") {
         if (!enum_query("voice")) # if parameter empty, it defaults to "e2u+sip"
+
         if (!enum_query("voice"))       # if parameter empty, it defaults to "e2u+sip"
             enum_query(""); # E2U+sip
+
             enum_query("");             # E2U+sip
 
     };
 
     };

Latest revision as of 16:53, 5 March 2008

# 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
   };