<br>anyhow, this is how it works for me!<br><br><br><br><br><include><br> <context name="public"><br><br> <extension name="LNP"><br> <condition field="destination_number" expression="(^300000)(.*)"><br>
<action application="lnp_getprefix" data="in $2, out reroutingalias"/><br> <action application="redirect" data="sip:${<a href="http://reroutingalias}@10.4.13.11:5060">reroutingalias}@10.4.13.11:5060</a>"/><br>
</condition><br> </extension><br><br><br> <extension name="LBS"><br> <condition field="destination_number" expression="(^300010)(.*)"><br>
<action application="lbs_getpublicphone" data="in ${caller_id_number}, in $2, out reroutingalias"/><br> <action application="redirect" data="sip:${<a href="http://reroutingalias}@10.4.13.11:5060">reroutingalias}@10.4.13.11:5060</a>"/><br>
</condition><br> </extension><br><br> <extension name="CPS"><br> <condition field="destination_number" expression="(^300020)(.*)"><br>
<action application="cps_verifyphone" data="in ${caller_id_number}, in $2, out radiusacc"/><br> </condition><br> <condition field="radiusacc" expression="1"><br>
<action application="redirect" data="sip:${<a href="http://caller_id_number}@10.4.13.11:5060">caller_id_number}@10.4.13.11:5060</a>"/><br> <anti-action application="respond" data="403 Forbidden"/><br>
</condition><br> </extension><br><br><br><br> <extension name="ServiceLookup"><br> <condition field="destination_number" expression="(^300030)(.*)"><br>
<action application="lookup_service_destination" data="in ${caller_id_number:6:16}, in ${caller_id_number:0:6}, in $2, in $<br>1, in ${network_addr}:5060, out red_contact, out authResult"/><br>
<action application="log" data="INFO ######################## ServiceLookup ########################\n"/><br> <action application="log" data="INFO ######################## contact = '${red_contact}' ##############\n"/><br>
<action application="log" data="INFO ######################## CallerNum = '${caller_id_number:6:16}' ##########\n"/><br> <action application="log" data="INFO ######################## RADIUS auth = '${authResult}' ##########\n"/><br>
<br> <action application="execute_extension" data="doRedirect XML public"/><br> </condition><br> </extension><br><br><br> <extension name="doRedirect"><br>
<condition field="destination_number" expression="^doRedirect$"/><br> <condition field="${authResult}" expression="^0$|^60$"><br> <action application="log" data="INFO ######################## RADIUS auth OK!!!' ##########\n"/><br>
<action application="redirect" data="${red_contact}"/><br> <anti-action application="log" data="INFO ######################## RADIUS auth NOK!! ##########\n"/><br>
<anti-action application="respond" data="403 Forbidden"/><br> </condition><br><br> </extension><br><br><br> </context><br></include><br><br><div class="gmail_quote">
On Thu, Oct 1, 2009 at 6:18 PM, Shelby Ramsey <span dir="ltr"><<a href="mailto:sicfslist@gmail.com">sicfslist@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just to confirm ... works like a champ.<br><br>Thanks again!!!<br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><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><br>
<br></blockquote></div><br>