There are lots of ways to accomplish this. For instance:

- the UA could register separately for each of the "virtual" numbers, 
using unique contact addresses. Then it can tell by which value is in 
the R-URI. (Of course then these aren't really virtual any more.)

- the provider could insert an Alert-Info header into the request with 
unique values for each virtual number.

- The provider could do proper forwarding from the virtual numbers to 
the real number: leaving To with the virtual number and the R-URI with 
the primary number. Then the UA could choose ring tone based on the 
value of the To-URI. (This however would not work right if the call was 
originally to some other number, and then forwarded to one of the 
virtual numbers.)

- the provider could do proper forwarding, and then the UA could look 
thru the History-Info header, if present, looking for its virtual or 
primary number, and decide what to play based on what it finds.

Take your pick.

        Paul

jc.huang wrote:
> Hi,
> 
> A service provider supports the following SIP service:
> A user could apply a primary number and serveral virtual numbers, for 
> example, primary number is 213xxxxxx in Los Angeles, vitual numbers are 
> 312xxxxxx in Orlando, 616xxxxxx in Michigan etc. He only register the SIP 
> account of 213xxxxxx on his SIP device, then Orlando's people just dial 
> 312xxxxxx to call him, and similar process happens on 616xxxxxx.
> 
> Several months ago, I borrowed one SIP account from the provider to test the 
> SIP service. In the incoming INVITE message from its proxy server, FROM 
> header includes caller number, TO header consists of my primary number and 
> REQUEST_URI is the same with TO header. I couldn't see any informations about 
> virtual numbers in INVITE message.   
> 
> Now, I hear from the carrier has improved the SIP service, it is interesting 
> that when calls from different virtual numbers are received, the ring 
> tone(not ringback) of SIP device are diffenent. I don't know, but want to how 
> the carrier realize it.
> 
> If the carrier realizes it by Multi-Line way as RFC4504 refers to, it isn't 
> complex. But is it possible that the incoming INVITE message has nothing 
> about virturl numbers but some parameters of ring tones? so my question is 
> whether some parameters in SIP or SDP protocols could configure ring tone 
> during SIP calls.
> 
> Thanks and regards,
> 
> luke
> 2006-12-04
> 
> 
> 
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
> 
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to