Thomas,<div><br></div><div>Could you pastebin the extension that does not work? Also, please pastebin two call examples: one that works and one that fails. We should be able to assist from there.</div><div><br></div><div>Thanks,</div>
<div>MC<br><br><div class="gmail_quote">On Mon, May 16, 2011 at 10:46 AM, Thomas Hoellriegel <span dir="ltr"><<a href="mailto:admin@blindi.net">admin@blindi.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
Is this normal: i can make only a single selection from a database in single context?<br>
Example:<br>
<extension name="cforward_only_db" ><br>
<condition field="destination_number" expression="^cforward_only_db$"<br>
break="never"><br>
</condition><br>
<condition field="${dummy}" expression="^$" break="never"><br>
</condition><br>
<br>
<condition field="${db(select/thomasfwdstatus/thomas)}"<br>
expression="^1$" break="on-true" ><br>
<action application="playback"<br>
data="$${play_prefix}/cforward/alle-callfw-ist-an.wav"/><br>
<anti-action application="playback"<br>
data="$${play_prefix}/cforward/all-fw-is-off.wav"/><br>
<br>
</condition><br>
</extension><br>
<br>
When i make a new extension:<br>
<condition field="${db(select/thomasfwdstatus1/thomas)}"<br>
expression="^1$" break="on-true" ><br>
fs fails with an error message: regexp fails.<br>
When i create a new context, and the syntax is the same, fs accept this.<br>
there is a opportunity in an existing contexty with multipe database selections? thank you<br>
<br>
<br>
<br>
<br>
---------------<br>
Du kannst mich jederzeit kostenlos per Festnetz erreichen unter:<br>
<a href="http://www.blindi.net/callback" target="_blank">http://www.blindi.net/callback</a><br>
homepage: <a href="http://www.blindi.net" target="_blank">http://www.blindi.net</a><br>
blinde-misc mailingliste für blinde. anmeldung unter:<br>
<a href="http://www.blindi.net/mailman/listinfo/blinde-misc" target="_blank">http://www.blindi.net/mailman/listinfo/blinde-misc</a><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></div>