yeah that was the first variable I'd tried when I started looking into this but it came out empty. This is what I was seeing in the debug dump<div><br></div><div>Regex (FAIL) [Test_Diversion] rdnis() =~ /^(917xxxxxxx)$/ break=on-false</div>
<div><br></div><div>even if the condition failed, it usually shows what's in the variable to then compare with the regex</div><div><br></div><div>Thanks</div><div>\RR<br><div><br><div class="gmail_quote">On Wed, Jun 23, 2010 at 1:25 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">No did you even try using ${rdnis} ? Its not going to show up in a dump as rdnis becuse its special read switch_caller.c<br>
<font color="#888888"><br>
/b<br>
</font><div class="im"><br>
On Jun 23, 2010, at 12:15 PM, RR wrote:<br>
<br>
> Thanks Brian,<br>
><br>
> maybe it's the version of FS that we're using that has a problem but the rdnis variable doesn't even show in the info app dump. The only place I could get the diversion info was in the sip_h_Diversion variable but that has the entire Diversion header instead of just the rdnis. Will have to capture this using regex and then do anything with it.<br>
><br>
> You think this is because of the version of FreeSWITCH we have or is this a bug somewhere. Sorry we can't test this out by upgrading the FS version as this is the only environment we have and its all production :(<br>
><br>
> Thanks<br>
> RR<br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div></div>