[Asterisk-Dev] Re: [Asterisk-cvs] asterisk/channels chan_sip.c,1.248,1.249

Olle E. Johansson oej at edvina.net
Wed Nov 26 12:13:01 MST 2003


asterisk at lists.styx.org wrote:

> On Tue, Nov 25, 2003 at 08:21:07PM +0100, Olle E. Johansson wrote:
> 
>>So if I configure ENUM for a TEL url, how do I dial out then?
> 
> 
> TEL URIs will get bumped to priority+51 by EnumLookup, so just
> put a Goto instruction there.
To give some further information on TEL urls syntax:

Example from the rFC 2916:

     IN NAPTR 10 10 "u" "tel+E2U"    "!^.*$!tel:+46-8-9761234!"       .

And the tel draft:
	  tel:+358-555-1234567

              This URI points to a phone number in Finland. The hyphens
              are included to make the number more human-readable; they
              separate country, area codes and subscriber number.

         tel:7042;phone-context=cs.columbia.edu

              The URI describes a local phone number valid within the
              context "cs.columbia.edu".

         tel:863-1234;phone-context=+1-914-784

              The URI describes a local phone number that is valid within
              a particular phone prefix.

Guess we have to be prepared for all three cases. It'll bee interesting writing
dial plans to be prepared for this.

/Olle




More information about the asterisk-dev mailing list