<DIV>exten =&gt; s,1,Wait(1)<BR>exten =&gt; s,n,Set(Var_Alert=${SIP_HEADER(Alert-Info)})<BR>exten =&gt; s,n,GotoIf($["${Var_Alert}" = "&lt;<A href='http://127.0.0.1/Bellcore-dr3>"]?2,1'>http://127.0.0.1/Bellcore-dr3&gt;"]?2,1</A>) ;goto ext 2 if distinctive ring<BR>exten =&gt; s,n,Dial(SIP/1)<BR><BR><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">----- Original Message -----<BR>From: Steve <ASTUSER@BRAINGIA.ORG><BR>To: asterisk-users@lists.digium.com<BR>Subject: [asterisk-users] Distinctive Ring for SIP?<BR>Date: Tue, 8 Jul 2008 19:04:31 -0500<BR><BR><BR>Hello,<BR><BR>I've done a bit of research, though obviously in the wrong places. :)<BR>I'm looking to set up some type of distinctive ring for SIP phones based<BR>on the context in which the SIP phone is being called from. If that<BR>sounds confusing it isn't.<BR><BR>I have two FXOs connected to POTS, so in essence a caller could be<BR>dialing us at one of two phone numbers. Each of those FXOs has its own<BR>context in extensions.conf. The contexts essentially grab the incoming<BR>call and ring a bunch of single line SIP phones. If no one answers then<BR>the call is sent to voicemail depending on the number that the caller<BR>dialed. The problem is that when the SIP phones ring, there's no way<BR>for us humans to tell which number the caller actually dialed.<BR><BR>My initial thought was to make some type of distinctive ring to the SIP<BR>phones to indicate which number the caller dialed, much in the same way<BR>that the telco does it when someone has the distintive ring service.<BR><BR>Another idea would be to set the callerid on the SIP phones to indicate<BR>which line was dialed. The drawback there is that we lose the incoming<BR>callerid from POTS. Maybe set one of line of the callerid to the<BR>incoming line and leave the other as the callerid number?<BR><BR>Does anyone have experience with setting distinctive ring in SIP in such<BR>a way?<BR><BR>Steve<BR><BR>_______________________________________________<BR>-- Bandwidth and Colocation Provided by http://www.api-digital.com --<BR><BR>AstriCon 2008 - September 22 - 25 Phoenix, Arizona<BR>Register Now: http://www.astricon.net<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE></DIV><BR>

-- 
<div> Be Yourself @ mail.com!<br>
Choose From 200+ Email Addresses<br>
Get a <b>Free</b> Account at <a href="http://www.mail.com/Product.aspx" target="_blank">www.mail.com</a>!</div>