2008/7/6 Paul Kyzivat <[EMAIL PROTECTED]>:

> In the above, how did the phone get the URI in the first place?
> Did it *derive* it from a string of dialed digits?

A person can type 201 or 944990011 in its phone, being 201 a local
extension and 944990011 a national Spanish extension. I see no
difference.


> If so, how does it know what domain to use?

AFAIK *any** SIP UA assumes the proxy it's configured to as the
default SIP domain. If a UA is configured with:
- user: bob
- domain: sipdomain.com
I expect that, by default, calls will be sent to "sipdomain.com"
except if a different domain is also typed by the user.

IMHO any other apporach makes all complex and unfeasible, I'm
describing the way all the phones I know work.



> Certainly that might not be the
> actual domain serving the number. If all it knows is "this is a phone
> number", then the tel URI is actually a more accurate representation of the
> facts.

But what about when the user typed "201" to call a local extension?



> However that does assume that the phone knows how to convert the dial string
> into an E.164 number. Some phones may not know that, and may depend on the
> outbound proxy to understand that. If so, an E.164 number isn't appropriate.
> In that case something like:
>
>        sip:[EMAIL PROTECTED];;user=dialstring
>
> would be more appropriate. It is then an expectation that some server for
> caller-domain.com will translate this to an appropriate globally unique
> form. This could be an E.164 form, or any sort of sip URI.

Sorry but I don't understand what you mean here, also I really don't
know if your suggestion would do the SIP life easier or more complex
than already is. I just can't imagine a server that receives a non
official parameter "user=dialstring" in order to route properly a call
to PSTN, and of course I just can't imagine existing real SIP devices
adding that parameter to the RURI.

So I just do 3 questions:

If a SIP phone is configured with data:
- user: 200
- domain: sipdomain.com

* If the user calls to 201, which RURI should generate the UA?
* If the user calls to 944990011 (spanish number with no +34), which
RURI should generate the UA?
* Is there any SIP device in the world with the behaviour of the first
two questions?

Thanks a lot.


>> Is it correct? Note that I'm trying to imagine a real and feasible
>> bahaviour. Please, don't suggest me that the phone could handle "tel"
>> URI's since it's just an impossible dream, isn't?
>
> The example above is outbound. Is that what you are concerned with? Or
> inbound?

I speak about outbound.


PD: Also note that basically it's impossible to determine if a number
is a PSTN number or a local extension.. For example in Spain there are
various kind of short numbers (1XXX, 0XX, 1XX...).



-- 
Iñaki Baz Castillo
<[EMAIL PROTECTED]>

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to