On Tue, Nov 25, 2003 at 10:02:57PM +0100, Olle E. Johansson wrote: > > Behold the beauty of a loop :-) > These are the pages I want to add more details to. > > From the later of the Wiki pages (that I added myself): > > *.4.1.5.1 IN NAPTR 100 10 "u" "IAX2+E2U" > "!^\\+*(.*)$!iax2:mtl-gateway/\\1!" . > > So I ask again, what's the full syntax? This is only one example...
I believe the NAPTR syntax itself is documented there... > I would like to document the IAX2 URL used here. The 'iax2:' gets replaced by EnumLookup with IAX2/, and the '\1' get replaced by the dialed number. So if you call 15145551212, what will get returned is IAX2/mtl-gateway/15145551212 You can put anything that is valid as an IAX2 Dial parameter in there -- i.e. you could have 'iax2:user:[EMAIL PROTECTED]/\\1' if you wanted -- though I don't suggest you store that stuff in the DNS unless you're *very* careful. If you wanted to specify the context, as well, you could even do 'iax2:user:[EMAIL PROTECTED]/\\1/context' I believe. -w -- /~\ The ASCII Ribbon Campaign \ / No HTML/RTF in email X No Word docs in email / \ Respect for open standards _______________________________________________ Asterisk-Dev mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-dev
