I don't think this can be done using plugins since plugins are only 
given access to the request and not the responses.  You of course could 
modify the proxy code to insert the alert-info header for 18x 
responses.  You may also do this in sipXbridge if it is in the middle of 
the flow.

On Tuesday, 18 January, 2011 05:55 PM, David Becker wrote:
> Am 17.01.2011 16:44, schrieb Douglas Hubler:
>> On Mon, Jan 17, 2011 at 7:12 AM, David Becker
>> <[email protected]>   wrote:
>>> 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?
>> sipXproxy and sipXregistrar both have plugin architectures. Question
>> is, would they have a list of the gateways to identify and would they
>> be allowed to modify the SIP message which I believe you need.
>> Outside that, fronting the sipXproxy with another proxy like opensips,
>> kamailio, openser, opensbc... might be another option.
>> _______________________________________________
>> sipx-dev mailing list
>> [email protected]
>> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
> Since we'd like to avoid adding a second proxy, how would one go about
> adding a plugin to the proxy? If plugins are not capable of doing this
> job, could we modify the proxy itself?
> _______________________________________________
> sipx-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
>

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

Reply via email to