<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154">
<STYLE></STYLE>
</HEAD>
<BODY 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> </DIV></FONT></BODY></HTML>