Hii

Am Montag, den 11.06.2012, 16:12 -0700 schrieb motty.cruz:
> Hello, 
> How to change ring tone on interncal call? I'm using Centos 5.8 Asterisk 1.8
> 
> exten =>
> 666,1,SIPAddHeader("Alert-Info:<http://1.2.3.4/ringtones/ghost.wav>")
> exten => 666,n,Dial(SIP/10)
> 
> The above would not how to defirenciate from internal call or external call?

Warren told one way to differentiate between internal and external call.
Another would be to set a variable in incoming context and check against
it before set up the additional header.

Take into account, that this feature is vendor specific as Yaroslav
said. To my knowledge snom, Tiptel, Yealink supports ring tones via
Alert-Info. Aastra phones supports it too, but You can only select
between bellcore cadences (no download of custom ringtones). Snom phones
needs sln format whereas tiptel/yealink needs ulaw coding. Other phones
may support this feature too (Grandstream?, Linksys?, Polycom?).

HTH,

Karsten



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to