Alert_Info setting for distinctive ring

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Alert_Info setting for distinctive ring

Postby mordzy » Thu Feb 28, 2013 3:30 am

Hello.

What are the syntax settings for the ALERT_INFO option.

Im using digium d40/d50 phones and trying to have a distinctive ring for a ring group.

Cheers
mordzy
Newsterisk
 
Posts: 1
Joined: Thu Feb 28, 2013 3:21 am

Re: Alert_Info setting for distinctive ring

Postby malcolmd » Thu Feb 28, 2013 8:22 am

Howdy,

It depends.

If you're doing configuration via DPMA, then you'll need to define an Alert and then apply that Alert to the phone. See:
https://wiki.asterisk.org/wiki/display/ ... ionOptions

If you're doing configuration via XML, then you'll need to define the Alerts:
https://wiki.asterisk.org/wiki/pages/vi ... nesElement
(Alerts is a child-element of Ringtones in the XML config).

To affect the alert, you'll need to do a SIPAddHeader in your dialplan before you put the Dial through to the phone. It'll look something like:

exten => 100,1,SIPAddHeader("Alert-Info: <intercom>")
exten => 100,n,DIP(SIP/myphone)


Where what's encapsulated in the angle brackets, i.e. intercom, is the DPMA or XML alert_info string.
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest