Hi Yes, using the "!" instead makes it work. Is it common to use other delimiters, since the Cisco SIP proxy parses correctly when using the "wrong" delimiters? I know what the RFC says, but just wondering.
rgds and thanks for the help, /Staffan
-----Ursprungligt meddelande----- Från: Juha Heinanen [mailto:jh@tutpro.com] Skickat: den 24 juni 2004 17:09 Till: Zeus Ng Kopia: Kerker Staffan; serusers@lists.iptel.org Ämne: RE: [Serusers] ENUM parsing error?
Zeus Ng writes:
I'm not 100% sure, but I think enum module expect "!" as the delimiter for regexp. You may try:
$ORIGIN 1.2.2.e164.mydomain.com. 0 NAPTR 100 10 "u" "sip+E2U" "!^(.*)$!sip:\1@iptel2.mydomain.com!" .
that is right. currently enum module assumes that regexp delimiter is "!", which seems to be a common convention and in etsi enum spec is SHALL. i could make it more general, but right now i have other, higher priority things to worry about.
-- juha
Kerker Staffan writes:
Yes, using the "!" instead makes it work. Is it common to use other delimiters, since the Cisco SIP proxy parses correctly when using the "wrong" delimiters? I know what the RFC says, but just wondering.
rfc3824 says:
It is RECOMMENDED that implementations use an exclamation point as a delimiter, since this is the only delimiter used throughout the ENUM core specification.
all naptr record examples in all rfcs and internet drafts that i have seen use ! as delimiter. so it is a very common practice to use !.
-- juha