<div class="gmail_quote">On Mon, Jun 11, 2012 at 6:12 PM, motty.cruz <span dir="ltr"><<a href="mailto:motty.cruz@gmail.com" target="_blank">motty.cruz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
How to change ring tone on interncal call? I'm using Centos 5.8 Asterisk 1.8<br>
<br>
exten =><br>
666,1,SIPAddHeader("Alert-Info:<<a href="http://1.2.3.4/ringtones/ghost.wav" target="_blank">http://1.2.3.4/ringtones/ghost.wav</a>>")<br>
exten => 666,n,Dial(SIP/10)<br>
<br>
The above would not how to defirenciate from internal call or external call?<br clear="all"></blockquote></div><br><br>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).<br>
<br>-- <br>Thanks,<br>--Warren Selby, dCAP<br><a href="http://www.selbytech.com" target="_blank">http://www.SelbyTech.com</a><br><br>