<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Great shot MC, thanks a lot.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>is this variable can contain more than one cause
?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=msc@freeswitch.org href="mailto:msc@freeswitch.org">Michael
Collins</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, October 28, 2011 2:24
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users]
originate_disposition</DIV>
<DIV><BR></DIV>How about the trick that Jay Binks added for scenarios not
unlike this one?
<DIV><A
href="http://wiki.freeswitch.org/wiki/Channel_Variables#transfer_on_fail">http://wiki.freeswitch.org/wiki/Channel_Variables#transfer_on_fail</A></DIV>
<DIV><BR></DIV>
<DIV>-MC<BR><BR>
<DIV class=gmail_quote>On Thu, Oct 27, 2011 at 1:33 PM, Madovsky <SPAN
dir=ltr><<A
href="mailto:infos@madovsky.org">infos@madovsky.org</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><U></U>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>Afer hours of test I didn' succeed how</FONT></DIV>
<DIV><FONT size=2>to catch the result of originate_disposition</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>--------</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I have this extensions in my dialplan</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>
<extension
name="internal_test"><BR>
<condition field="${sip_to_uri}"
expression="^(999\d{10})@$${domain}$"><BR>
<action inline="true" application="set"
data="nibble_account="/><BR>
<action inline="true" application="set"
data="nibble_rate="/><BR>
<action inline="true" application="set"
data="dialed_extension=$1"/><BR>
</condition><BR>
<condition field="${from_admin_services}" expression="^true$"
break="never"><BR>
<action application="set"
data="ignore_early_media=true"/><BR>
<action application="set"
data="hangup_after_bridge=false"/><BR>
<action application="set"
data="continue_on_fail=true"/><BR>
<action application="bridge" data="{sip_append_audio_sdp='a=rtpmap:0
PCMU/8000',sip_invite_domain=${sip_from_host},nibble_account=,nibble_rate=,origination_caller_id_name=${caller_id_name},origination_caller_id_number=${caller_id_number,}}user/${dialed_extension}"/><BR>
</condition><BR>
</extension><BR>
<extension
name="internal_test_tools"><BR>
<condition field="${originate_disposition}"
expression="^SUBSCRIBER_ABSENT$"
break="on-true"><BR>
<action application="phrase"
data="bad_ob_prepaid_dest"/><BR>
<action application="transfer" data="ob_prepaid_call XML
features"/><BR>
<action
application="info"/><BR>
</condition><BR>
<condition field="${cond(expr(${originate_disposition} !=
NORMAL_CLEARING) ? YES : NO)}"
expression="^YES$"/><BR>
<condition field="${cond(expr(${originate_disposition} !=
SUBSCRIBER_ABSENT) ? YES : NO)}"
expression="^YES$"><BR>
<action
application="ring_ready"/><BR>
<action application="sleep"
data="2000"/><BR>
<action
application="answer"/><BR>
<action application="sleep"
data="1400"/><BR>
<action application="voicemail" data="default $${domain}
${dialed_extension}"/><BR>
</condition><BR>
</extension><BR></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>-----------</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I tried to merge it in one extension without success
also.</FONT></DIV>
<DIV><FONT size=2>where is the trick ? :)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Franck</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></DIV><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>
<P>
<HR>
<P></P><BR>FreeSWITCH-users mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>