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

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


asterisk at lists.styx.org wrote:

> On Wed, Nov 26, 2003 at 08:13:01PM +0100, Olle E. Johansson wrote:
> 
>>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 works as expected.
> 
> 
>>             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
> 
> 
>>From app_enumlookup.c, everything after the ';' is ignored.
> 
> 
>>             The URI describes a local phone number valid within the
>>             context "cs.columbia.edu".
>>
>>        tel:863-1234;phone-context=+1-914-784
> 
> 
> likewise...

...which means that we can't handle these. It would be better to return an error.
Or?

/O




More information about the asterisk-dev mailing list