<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Quick, somebody put this in the Wiki
before we all forget about it!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Anthony Minessale<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, June 08, 2007 4:47
PM<br>
<b><span style='font-weight:bold'>To:</span></b>
freeswitch-users@lists.freeswitch.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Freeswitch-users]
Authenticating calls</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 face=Courier><span
style='font-size:12.0pt;font-family:Courier'>Ask and you shall receive.<br>
<br>
&nbsp; &lt;!-- Example extension for require auth per-call. --&gt;<br>
&nbsp; &lt;extension name=&quot;9191&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;!-- Match the destination digits of 9191 --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot;
expression=&quot;^9191$&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;!-- Make sure the sip_authorized variable is set (set on
all authed calls)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If it isn't, then send an auth
challange.<br>
&nbsp;&nbsp;&nbsp; --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;${sip_authorized}&quot;
expression=&quot;true&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application=&quot;reject&quot;
data=&quot;407&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;!-- If you made it here all is well and the call is
authed.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Do whatever you wish.<br>
&nbsp;&nbsp;&nbsp; --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;condition&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;playback&quot;
data=&quot;/tmp/itworked.wav&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
&nbsp; &lt;/extension&gt;<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'>Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
<br>
AIM: anthm<br>
MSN:anthony_minessale@hotmail.com<br>
JABBER:anthony.minessale@gmail.com<br>
IRC: irc.freenode.net #freeswitch<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'><br>
FreeSWITCH Developer Conference<br>
sip:888@conference.freeswitch.org<br>
iax:guest@conference.freeswitch.org/888<br>
googletalk:conf+888@conference.freeswitch.org<br>
pstn:213-799-1400<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 face=Courier><span
style='font-size:12.0pt;font-family:Courier'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>----- Original Message
----<br>
From: Jason Garland &lt;jgarland@gmail.com&gt;<br>
To: freeswitch-users@lists.freeswitch.org<br>
Sent: Friday, June 8, 2007 12:25:36 PM<br>
Subject: Re: [Freeswitch-users] Authenticating calls<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I still also like the idea of an auth app that forces the call to be<br>
authenticated.&nbsp;&nbsp;Or maybe it could be a parameter that is passed to
the<br>
sophia channel. This would be more secure then just checking if the<br>
user is allready registered.<br>
<br>
On 6/8/07, Anthony Minessale &lt;anthmct@yahoo.com&gt; wrote:<br>
&gt;<br>
&gt; The best way to mix auth and not auth is to use<br>
&gt; 2 profiles so you can make one be public and one private.<br>
&gt; Since the private one is only for people to register it's<br>
&gt; not inconvenient at all to make them use 5061 instead as it's<br>
&gt; a 1 time setting.&nbsp;&nbsp;Otherwise you can just use 2 ip.<br>
&gt; This way you can turn on full auth for the 1 profile and the other can be<br>
&gt; directed to a paticular public context with a limited dialplan.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; MSN:anthony_minessale@hotmail.com<br>
&gt; JABBER:anthony.minessale@gmail.com<br>
&gt; IRC: irc.freenode.net #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; sip:888@conference.freeswitch.org<br>
&gt; iax:guest@conference.freeswitch.org/888<br>
&gt; googletalk:conf+888@conference.freeswitch.org<br>
&gt; pstn:213-799-1400<br>
&gt;<br>
&gt;<br>
&gt; ----- Original Message ----<br>
&gt; From: Jason Garland &lt;jgarland@gmail.com&gt;<br>
&gt; To: freeswitch-users@lists.freeswitch.org<br>
&gt; Sent: Friday, June 8, 2007 10:06:25 AM<br>
&gt; Subject: Re: [Freeswitch-users] Authenticating calls<br>
&gt;<br>
&gt; If there was just a channel variable that told me if the call was from<br>
&gt; a registered user or not I think I could use that too.<br>
&gt;<br>
&gt; On 6/8/07, Anthony Minessale &lt;anthmct@yahoo.com&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; We don't have that but it would fairly easy to add<br>
&gt; &gt; a dialplan application that could trigger a challange<br>
&gt; &gt; but from there you would need to have an external hook<br>
&gt; &gt; ready for the user directory when the auth happened.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Anthony Minessale II<br>
&gt; &gt;<br>
&gt; &gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; &gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt; &gt;<br>
&gt; &gt; AIM: anthm<br>
&gt; &gt; MSN:anthony_minessale@hotmail.com<br>
&gt; &gt; JABBER:anthony.minessale@gmail.com<br>
&gt; &gt; IRC: irc.freenode.net #freeswitch<br>
&gt; &gt;<br>
&gt; &gt; FreeSWITCH Developer Conference<br>
&gt; &gt; sip:888@conference.freeswitch.org<br>
&gt; &gt; iax:guest@conference.freeswitch.org/888<br>
&gt; &gt; googletalk:conf+888@conference.freeswitch.org<br>
&gt; &gt; pstn:213-799-1400<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message ----<br>
&gt; &gt; From: Jason Garland &lt;jgarland@gmail.com&gt;<br>
&gt; &gt; To: freeswitch-users@lists.freeswitch.org<br>
&gt; &gt; Sent: Friday, June 8, 2007 8:42:02 AM<br>
&gt; &gt; Subject: Re: [Freeswitch-users] Authenticating calls<br>
&gt; &gt;<br>
&gt; &gt; Yes. Or check a condition that will tell me if it's a registered
user.<br>
&gt; &gt;<br>
&gt; &gt; On 6/8/07, Mike Murdock &lt;mmurdock@coppercom.com&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; So you want to get an invite, look at the headers, and if it is
a toll<br>
&gt; &gt; call,<br>
&gt; &gt; &gt; authenticate the subscriber?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;&nbsp;&nbsp;Michael Murdock<br>
&gt; &gt; &gt;&nbsp;&nbsp;VP Operations &amp; Development<br>
&gt; &gt; &gt;&nbsp;&nbsp;Switchmaxx Product Line<br>
&gt; &gt; &gt;&nbsp;&nbsp;125 N. Market. <st1:address w:st="on"><st1:Street
 w:st="on">Suite</st1:Street> 1520</st1:address><br>
&gt; &gt; &gt;&nbsp;&nbsp;<st1:place w:st="on"><st1:City w:st="on">Wichita</st1:City>
 <st1:State w:st="on">KS</st1:State></st1:place>. 67202<br>
&gt; &gt; &gt;&nbsp;&nbsp;(316) 932-2693<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;&nbsp;&nbsp; -----Original Message-----<br>
&gt; &gt; &gt;&nbsp;&nbsp;From:&nbsp;&nbsp; Jason Garland
[mailto:jgarland@gmail.com]<br>
&gt; &gt; &gt;&nbsp;&nbsp;Sent:&nbsp;&nbsp; Thursday, June 07, 2007 10:58 PM
Eastern Standard Time<br>
&gt; &gt; &gt;&nbsp;&nbsp;To:&nbsp;&nbsp;&nbsp;&nbsp;
freeswitch-users@lists.freeswitch.org<br>
&gt; &gt;
&gt;&nbsp;&nbsp;Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Freeswitch-users]
Authenticating<br>
&gt; calls<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;&nbsp;&nbsp;Is there something I can put in the dialplan to
authenticate some<br>
&gt; &gt; &gt;&nbsp;&nbsp;calls(Toll calls), and not others?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;&nbsp;&nbsp;_______________________________________________<br>
&gt; &gt; &gt;&nbsp;&nbsp;Freeswitch-users mailing list<br>
&gt; &gt; &gt;&nbsp;&nbsp;Freeswitch-users@lists.freeswitch.org<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; &gt;&nbsp;&nbsp;<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Freeswitch-users mailing list<br>
&gt; &gt; &gt; Freeswitch-users@lists.freeswitch.org<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Freeswitch-users mailing list<br>
&gt; &gt; Freeswitch-users@lists.freeswitch.org<br>
&gt; &gt;<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt;<br>
&gt; UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&nbsp;&nbsp;________________________________<br>
&gt; &gt; Be a better Heartthrob. Get better relationship answers from someone
who<br>
&gt; &gt; knows.<br>
&gt; &gt; Yahoo! Answers - Check it out.<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Freeswitch-users mailing list<br>
&gt; &gt; Freeswitch-users@lists.freeswitch.org<br>
&gt; &gt;<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt;<br>
&gt; UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; Freeswitch-users@lists.freeswitch.org<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;&nbsp;&nbsp;________________________________<br>
&gt; The fish are biting.<br>
&gt;&nbsp;&nbsp;Get more visitors on your site using Yahoo! Search Marketing.<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; Freeswitch-users@lists.freeswitch.org<br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
Freeswitch-users@lists.freeswitch.org<br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face=Courier><span style='font-size:12.0pt;
font-family:Courier'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=1 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Boardwalk for $500? In 2007? Ha! <br>
<a
href="http://us.rd.yahoo.com/evt=48223/*http:/get.games.yahoo.com/proddesc?gamekey=monopolyherenow">Play
Monopoly Here and Now</a> (it's updated for today's economy) at Yahoo! Games.<o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>