On Mon, Jun 11, 2012 at 6:12 PM, motty.cruz <[email protected]> wrote:

> 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?
>


Just a thought, but maybe set a variable in your sip.conf for each internal
peer, and then check for that variable before you do the SipAddHeader
command (using an ExecIf statement).

-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com <http://www.selbytech.com>
--
_____________________________________________________________________
-- 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