[asterisk-users] Mitel 5224 & Asterisk Distinctive Ring -- Anyone
have it working?
Christopher Aloi
chris.aloi at gmail.com
Thu Nov 9 16:24:58 MST 2006
Hello List,
So I have a few MiTel 5224 IP phones running in SIP mode. Per the
phones documentation they honor SIP distinctive ring tones. I am able
to send the correct ALERT_INFO message in an invite from Asterisk to
the phone, but I don't know what ring tone to call. From the reading
I've done the syntax is:
[3155791234]
exten => s,1,Set(_ALERT_INFO=Ring 8)
exten => s,2,Answer()
exten => s,3,Set(CALLERID(name)=FOOBAR ${CALLERIDNUM})
exten => s,4,Dial(SIP/3155791234,,r)
When I place a call to 3155791234 I see the following from Asterisk:
-- Executing Answer("SIP/69.67.248.00-b7b1eb08", "") in new stack
-- Executing Goto("SIP/69.67.248.00-b7b1eb08", "3155791234|s|1")
in new stack
-- Goto (3155791234,s,1)
-- Executing Set("SIP/69.67.248.00-b7b1eb08", "_ALERT_INFO=Ring
8") in new stack
-- Executing Answer("SIP/69.67.248.00-b7b1eb08", "") in new stack
-- Executing Set("SIP/69.67.248.00-b7b1eb08",
"CALLERID(name)=FOOBAR 3155551234") in new stack
-- Executing Dial("SIP/69.67.248.00-b7b1eb08",
"SIP/3155791234||r") in new stack
And the SIP invite looks like this:
INVITE sip:3155791234 at 66.218.1.00 SIP/2.0
Via: SIP/2.0/UDP 69.67.250.00:5060;branch=z9hG4bK184f04fd;rport
From: "FOOBAR 3155551234" <sip:3155691234 at 69.67.250.00>;tag=as26559e24
To: <sip:3155791234 at 66.218.1.00>
Contact: <sip:3155551234 at 69.67.250.00>
Call-ID: 33f6ee96213514ab4536907d6d8aefa2 at 69.67.250.00
CSeq: 102 INVITE
User-Agent: Asterisk
Max-Forwards: 70
Date: Thu, 09 Nov 2006 23:19:28 GMT
Alert-Info: Ring 8 <--- HERE IS THE ALERT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 242
So it seems I have everything setup correctly.
The problem is I don't know how the phone refers to it's ring tones, I
used Ring 8 because the phone uses Ring 1-16 in the user web
interface.
Anyone have any thoughts?
--
------
Christopher T Aloi
------
More information about the asterisk-users
mailing list