Having just gotten into this today, here's what I got for Grandstream,
Linksys & Polycom phones to all work:
exten => _7XX,1,SIPAddHeader(Call-Info: sip:\;answer-after=0)
;this works for Linksys & Grandstream
exten => _7XX,n,SIPAddHeader(Alert-Info: Ring Answer) ;this
works for Polycom
exten => _7XX,n,Dial(SIP/${EXTEN},${RINGTIMER},${DIAL_OPTIONS})
At first I thought it might be stacking them, as my Grandstream line
used to be exten => _7XX,1,SIPAddHeader(Call-Info: answer-after=0),
which did not work for Linksys. So I added the sip:\; as a new line
below my original line, which did work. Then I removed the original
line and both continued to work.
So, this doesn't fully answer your question, but these 3 phones are
working.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Gordon
Henderson
Sent: Monday, January 14, 2008 7:15 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Different ringing tones ...
This possibly isn't 100% asterisk related, but I'd like some
opinions/feedback...
A customer wanted different ring-tones to differentiate external and
internal calls. No biggie once I'd worked out that details - they have
100% GXP2000 phones, so adding in the relevant SIP header and altering
the phones to suit seems like it's going to be a solution...
But I started to look at other phones and it seems that no 2 phones have
the same "Alert-Info" header information. (damn them!) So in-theory I
could build up a table of the right runes to put in the SIP header for
each phone, but what happens when I'm ringing 2 (or more) phones at once
of different types?
As in:
... Dial(SIP/101&SIP/102&SIP/103,...)
If 101 is a Grandstream, and 102 is a Snom and 103 is an analogue phone
on an ATA ...
I'm not sure if I can simply add multiple SIPAddHeader() calls before
the
Dial() or will they be ignored?
What do others use to make the phones have a different ring-tone? (Other
than use the phones internal phone-book and match numbers which isn't
what I want to do)
Cheers,
Gordon
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users