[asterisk-users] Asterisk 1.8.10

Warren Selby wcselby at selbytech.com
Mon Jun 11 22:17:45 CDT 2012


On Mon, Jun 11, 2012 at 6:12 PM, motty.cruz <motty.cruz at gmail.com> 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120611/062faffc/attachment.htm>


More information about the asterisk-users mailing list