________________________________________
From: [email protected] 
[[email protected]] On Behalf Of David Becker 
[[email protected]]

We're looking into having phones play different ringtones when called by
an external number as opposed to an internal one using the alert-info
header. Is there any existing functionality for this? If not, which
component would be the most suited for adding this value to SIP traffic
from the gateway?
_______________________________________________

I think the way to do this is to add another "redirector" plugin to the 
Registrar.

The plugin would detect the INVITEs from the gateway that do not already have 
an Alert-Info header and provide a contact URI which is the same as the current 
request-URI but with "?Alert-Info=..." appended.  The plugin should specify a 
high "priority" value, so its mapping overrides all others.

The way it functions is that the incoming INVITE to sip:xxx@domain is 
redirected to "sip:xxx@domain?Alert-Info=...", which when the proxy acts upon 
it becomes an INVITE to sip:xxx@domain with an additional Alert-Info header.  
This second INVITE is also sent to the Registrar, but it doesn't trigger the 
new plugin and is processed normally.

It's probably not something you want to tackle unless you've got a reasonably 
good handle on how sipXecs processes SIP and don't mind C++ coding.

Dale
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to