<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt">Ask and you shall receive.<br><br> <!-- Example extension for require auth per-call. --><br> <extension name="9191"><br> <!-- Match the destination digits of 9191 --><br> <condition field="destination_number" expression="^9191$"/><br> <!-- Make sure the sip_authorized variable is set (set on all authed calls)<br> If it isn't, then send an auth challange.<br> --><br> <condition field="${sip_authorized}" expression="true"><br> <anti-action application="reject" data="407"/><br> </condition><br><br> <!-- If you made it here all is well and the call is
authed.<br> Do whatever you wish.<br> --><br> <condition><br> <action application="playback" data="/tmp/itworked.wav"/><br> </condition><br> </extension><br><br><div> </div><div>Anthony Minessale II<br><br><span>FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a></span><br><span>ClueCon <a target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a></span><br><br>AIM: anthm<br>MSN:anthony_minessale@hotmail.com<br>JABBER:anthony.minessale@gmail.com<br>IRC: irc.freenode.net #freeswitch</div><div><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</div><div style="font-family: courier,monaco,monospace,sans-serif;
font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Jason Garland <jgarland@gmail.com><br>To: freeswitch-users@lists.freeswitch.org<br>Sent: Friday, June 8, 2007 12:25:36 PM<br>Subject: Re: [Freeswitch-users] Authenticating calls<br><br><div>I still also like the idea of an auth app that forces the call to be<br>authenticated. 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 <anthmct@yahoo.com> wrote:<br>><br>> The best way to mix auth and not auth is to use<br>> 2 profiles so you can make one be public and one private.<br>> Since the private one is only for people to register it's<br>> not inconvenient at all to make them use 5061 instead as it's<br>> a 1 time setting. Otherwise you can
just use 2 ip.<br>> This way you can turn on full auth for the 1 profile and the other can be<br>> directed to a paticular public context with a limited dialplan.<br>><br>><br>><br>><br>> Anthony Minessale II<br>><br>> FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>> ClueCon <a target="_blank" href="http://www.cluecon.com/">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<br>><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<br>><br>><br>> ----- Original Message ----<br>> From: Jason Garland <jgarland@gmail.com><br>> To: freeswitch-users@lists.freeswitch.org<br>> Sent: Friday,
June 8, 2007 10:06:25 AM<br>> Subject: Re: [Freeswitch-users] Authenticating calls<br>><br>> If there was just a channel variable that told me if the call was from<br>> a registered user or not I think I could use that too.<br>><br>> On 6/8/07, Anthony Minessale <anthmct@yahoo.com> wrote:<br>> ><br>> > We don't have that but it would fairly easy to add<br>> > a dialplan application that could trigger a challange<br>> > but from there you would need to have an external hook<br>> > ready for the user directory when the auth happened.<br>> ><br>> ><br>> ><br>> > Anthony Minessale II<br>> ><br>> > FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>> > ClueCon <a target="_blank" href="http://www.cluecon.com/">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<br>> ><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<br>> ><br>> ><br>> > ----- Original Message ----<br>> > From: Jason Garland <jgarland@gmail.com><br>> > To: freeswitch-users@lists.freeswitch.org<br>> > Sent: Friday, June 8, 2007 8:42:02 AM<br>> > Subject: Re: [Freeswitch-users] Authenticating calls<br>> ><br>> > Yes. Or check a condition that will tell me if it's a registered user.<br>> ><br>> > On 6/8/07, Mike Murdock <mmurdock@coppercom.com> wrote:<br>> > ><br>> > ><br>> > ><br>> > > So you want to get an invite, look at the headers, and if it is a toll<br>> > call,<br>>
> > authenticate the subscriber?<br>> > ><br>> > ><br>> > > Michael Murdock<br>> > > VP Operations & Development<br>> > > Switchmaxx Product Line<br>> > > 125 N. Market. Suite 1520<br>> > > Wichita KS. 67202<br>> > > (316) 932-2693<br>> > ><br>> > ><br>> > > -----Original Message-----<br>> > > From: Jason Garland [mailto:jgarland@gmail.com]<br>> > > Sent: Thursday, June 07, 2007 10:58 PM Eastern Standard Time<br>> > > To: freeswitch-users@lists.freeswitch.org<br>> > > Subject: [Freeswitch-users] Authenticating<br>> calls<br>> > ><br>> > > Is there something I can put in the dialplan to
authenticate some<br>> > > calls(Toll calls), and not others?<br>> > ><br>> > > _______________________________________________<br>> > > Freeswitch-users mailing list<br>> > > Freeswitch-users@lists.freeswitch.org<br>> > ><br>> ><br>> <a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> > ><br>> ><br>> UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> > > <a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>> > ><br>> > ><br>> > ><br>> > > _______________________________________________<br>> > > Freeswitch-users mailing list<br>>
> > Freeswitch-users@lists.freeswitch.org<br>> > ><br>> ><br>> <a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> > ><br>> ><br>> UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> > > <a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>> > ><br>> > ><br>> ><br>> > _______________________________________________<br>> > Freeswitch-users mailing list<br>> > Freeswitch-users@lists.freeswitch.org<br>> ><br>> <a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> ><br>> UNSUBSCRIBE:<a target="_blank"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> > <a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>> ><br>> ><br>> > ________________________________<br>> > Be a better Heartthrob. Get better relationship answers from someone who<br>> > knows.<br>> > Yahoo! Answers - Check it out.<br>> > _______________________________________________<br>> > Freeswitch-users mailing list<br>> > Freeswitch-users@lists.freeswitch.org<br>> ><br>> <a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> ><br>> UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>>
> <a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>> ><br>> ><br>><br>> _______________________________________________<br>> Freeswitch-users mailing list<br>> Freeswitch-users@lists.freeswitch.org<br>> <a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> <a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>><br>><br>> ________________________________<br>> The fish are biting.<br>> Get more visitors on your site using Yahoo! Search Marketing.<br>> _______________________________________________<br>> Freeswitch-users mailing list<br>>
Freeswitch-users@lists.freeswitch.org<br>> <a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> <a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>><br>><br><br>_______________________________________________<br>Freeswitch-users mailing list<br>Freeswitch-users@lists.freeswitch.org<br><a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a target="_blank"
href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></div><br></div></div><br>
<hr size=1>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.</body></html>