<br>anyhow, this is how it works for me!<br><br><br><br><br>&lt;include&gt;<br>  &lt;context name=&quot;public&quot;&gt;<br><br>      &lt;extension name=&quot;LNP&quot;&gt;<br>                &lt;condition field=&quot;destination_number&quot; expression=&quot;(^300000)(.*)&quot;&gt;<br>
                      &lt;action application=&quot;lnp_getprefix&quot; data=&quot;in $2, out reroutingalias&quot;/&gt;<br>                        &lt;action application=&quot;redirect&quot; data=&quot;sip:${<a href="http://reroutingalias}@10.4.13.11:5060">reroutingalias}@10.4.13.11:5060</a>&quot;/&gt;<br>
                &lt;/condition&gt;<br>        &lt;/extension&gt;<br><br><br>        &lt;extension name=&quot;LBS&quot;&gt;<br>                &lt;condition field=&quot;destination_number&quot; expression=&quot;(^300010)(.*)&quot;&gt;<br>
                        &lt;action application=&quot;lbs_getpublicphone&quot; data=&quot;in ${caller_id_number}, in $2, out reroutingalias&quot;/&gt;<br>                        &lt;action application=&quot;redirect&quot; data=&quot;sip:${<a href="http://reroutingalias}@10.4.13.11:5060">reroutingalias}@10.4.13.11:5060</a>&quot;/&gt;<br>
              &lt;/condition&gt;<br>        &lt;/extension&gt;<br><br>        &lt;extension name=&quot;CPS&quot;&gt;<br>                &lt;condition field=&quot;destination_number&quot; expression=&quot;(^300020)(.*)&quot;&gt;<br>
                        &lt;action application=&quot;cps_verifyphone&quot; data=&quot;in ${caller_id_number}, in $2, out radiusacc&quot;/&gt;<br>                 &lt;/condition&gt;<br>              &lt;condition field=&quot;radiusacc&quot; expression=&quot;1&quot;&gt;<br>
                            &lt;action application=&quot;redirect&quot; data=&quot;sip:${<a href="http://caller_id_number}@10.4.13.11:5060">caller_id_number}@10.4.13.11:5060</a>&quot;/&gt;<br>                            &lt;anti-action application=&quot;respond&quot; data=&quot;403 Forbidden&quot;/&gt;<br>
                &lt;/condition&gt;<br>        &lt;/extension&gt;<br><br><br><br>   &lt;extension name=&quot;ServiceLookup&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;(^300030)(.*)&quot;&gt;<br>
         &lt;action application=&quot;lookup_service_destination&quot; data=&quot;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&quot;/&gt;<br>
         &lt;action application=&quot;log&quot; data=&quot;INFO ######################## ServiceLookup ########################\n&quot;/&gt;<br>         &lt;action application=&quot;log&quot; data=&quot;INFO ######################## contact = &#39;${red_contact}&#39; ##############\n&quot;/&gt;<br>
         &lt;action application=&quot;log&quot; data=&quot;INFO ######################## CallerNum = &#39;${caller_id_number:6:16}&#39; ##########\n&quot;/&gt;<br>         &lt;action application=&quot;log&quot; data=&quot;INFO ######################## RADIUS auth = &#39;${authResult}&#39; ##########\n&quot;/&gt;<br>
<br>         &lt;action application=&quot;execute_extension&quot; data=&quot;doRedirect XML public&quot;/&gt;<br>        &lt;/condition&gt;<br>   &lt;/extension&gt;<br><br><br>   &lt;extension name=&quot;doRedirect&quot;&gt;<br>
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^doRedirect$&quot;/&gt;<br>      &lt;condition field=&quot;${authResult}&quot; expression=&quot;^0$|^60$&quot;&gt;<br>         &lt;action application=&quot;log&quot; data=&quot;INFO ######################## RADIUS auth OK!!!&#39; ##########\n&quot;/&gt;<br>
         &lt;action application=&quot;redirect&quot; data=&quot;${red_contact}&quot;/&gt;<br>         &lt;anti-action application=&quot;log&quot; data=&quot;INFO ######################## RADIUS auth NOK!! ##########\n&quot;/&gt;<br>
         &lt;anti-action application=&quot;respond&quot; data=&quot;403 Forbidden&quot;/&gt;<br>      &lt;/condition&gt;<br><br>   &lt;/extension&gt;<br><br><br>  &lt;/context&gt;<br>&lt;/include&gt;<br><br><div class="gmail_quote">
On Thu, Oct 1, 2009 at 6:18 PM, Shelby Ramsey <span dir="ltr">&lt;<a href="mailto:sicfslist@gmail.com">sicfslist@gmail.com</a>&gt;</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>