<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>OK<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I correct to this -&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>   &lt;extension name=&quot;12345&quot;&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>    &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$|^(12345)$&quot;&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;action application=&quot;set&quot; data=&quot;dialed_ext=$1&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>     &lt;/condition&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^${caller_id_number}$&quot;&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;action application=&quot;set&quot; data=&quot;voicemail_authorized=${sip_authorized}&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;action application=&quot;answer&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;action application=&quot;voicemail&quot; data=&quot;check default $${domain} ${dialed_ext}&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;anti-action application=&quot;ring_ready&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;anti-action application=&quot;set&quot; data=&quot;call_timeout=10&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;anti-action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;anti-action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;anti-action application=&quot;bridge&quot; data=&quot;USER/12345@$${domain}&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;anti-action application=&quot;answer&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;anti-action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>       &lt;anti-action application=&quot;voicemail&quot; data=&quot;default $${domain} ${dialed_ext}&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>     &lt;/condition&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>   &lt;/extension&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Now i receive call on extension but without calle_id.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Tks </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De&nbsp;:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>De la part de</b> Erwan Hermouet<br><b>Envoyé&nbsp;:</b> mercredi 27 mars 2013 08:49<br><b>À&nbsp;:</b> 'FreeSWITCH Users Help'<br><b>Objet&nbsp;:</b> Re: [Freeswitch-users] callee id inbound<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Here the log file<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>2013-03-27 08:42:05.744114 [DEBUG] switch_core_state_machine.c:157 <a href="mailto:sofia/internal/06xxxxx@voip.vivaction.net">sofia/internal/06xxxxx@voip.vivaction.net</a> Standard EXECUTE<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>2013-03-27 08:42:05.744114 [DEBUG] mod_sofia.c:239 <a href="mailto:sofia/internal/06xxxxx@voip.vivaction.net">sofia/internal/06xxxxx@voip.vivaction.net</a> SOFIA EXECUTE<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>2013-03-27 08:42:05.744114 [DEBUG] switch_core_state_machine.c:348 (<a href="mailto:sofia/internal/06xxxx@voip.xxxxx">sofia/internal/06xxxx@voip.xxxxx</a>) State EXECUTE<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>2013-03-27 08:42:05.744114 [DEBUG] switch_core_state_machine.c:314 (<a href="mailto:sofia/internal/06xxxx@voip.xxxxx">sofia/internal/06xxxx@voip.xxxxx</a>) Running State Change CS_EXECUTE<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>2013-03-27 08:42:05.744114 [DEBUG] switch_core_state_machine.c:341 (<a href="mailto:sofia/internal/06xxxx@voip.xxxxx">sofia/internal/06xxxx@voip.xxxxx</a>) State ROUTING going to sleep<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>2013-03-27 08:42:05.744114 [DEBUG] switch_core_session.c:1047 Send signal <a href="mailto:sofia/internal/06xxxx@voip.xxxx%5bBREAK">sofia/internal/06xxxx@voip.xxxx[BREAK</a>]<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>2013-03-27 08:42:05.744114 [DEBUG] switch_core_state_machine.c:119 (<a href="mailto:sofia/internal/06xxxx@voip.ccccc">sofia/internal/06xxxx@voip.ccccc</a>) State Change CS_ROUTING -&gt; CS_EXECUTE<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxx">sofia/internal/06xxxx@voip.xxx</a> Action transfer(12345 XML default)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action bridge(loopback/app=voicemail:default ${domain_name} ${dialed_extension})<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action sleep(1000)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action answer()<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action bridge(<a href="mailto:%7bsip_invite_domain=87.x.x.x%7duser/$%7bdialed_extension%7d@$%7bdomain_name%7d">{sip_invite_domain=87.x.x.x}user/${dialed_extension}@${domain_name}</a>)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action hash(insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid})<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action set(called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)})</span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid})<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number})<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action set(continue_on_fail=true)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action set(hangup_after_bridge=true)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action set(call_timeout=30)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action set(transfer_ringback=local_stream://moh)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action set(ringback=${us-ring})<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action bind_meta_app(4 b s execute_extension::att_xfer XML features)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action bind_meta_app(3 b s execute_extension::cf XML features)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action bind_meta_app(2 b s record_session::/opt/freeswitch/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action bind_meta_app(1 b s execute_extension::dx XML features)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action export(dialed_extension=)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Action set(dialed_extension=)<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> Regex (PASS)<span class=apple-converted-space>&nbsp;</span>[12345] destination_number(12345) =~ /^(10[01][0-9])$|^(12345)$/ break=on-false<span class=apple-converted-space>&nbsp;</span></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif"'><br></span><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan: <a href="mailto:sofia/internal/06xxxx@voip.xxxx">sofia/internal/06xxxx@voip.xxxx</a> parsing [default-&gt;12345] continue=false<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Tks advance for your trying to help me&nbsp;</span><span style='font-size:9.0pt;font-family:Wingdings'>J</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De&nbsp;:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <b>De la part de</b> Steven Schoch<br><b>Envoyé&nbsp;:</b> mercredi 27 mars 2013 00:25<br><b>À&nbsp;:</b> FreeSWITCH Users Help<br><b>Objet&nbsp;:</b> Re: [Freeswitch-users] callee id inbound<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal>That is not your extension. &nbsp;What I mean is that you gave us a dialplan extension <b>named </b>12345, but the <b>name</b> of the extension is only meaningful when you're looking at a log file. &nbsp;Just because an extension is named 12345 does not mean its actions will get executed when 12345 is dialed.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>The important part of an extension is the condition. &nbsp;In this case the condition of that extension is:<o:p></o:p></p></div><div><div><p class=MsoNormal><span style='font-family:"Courier New"'>&nbsp; &nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$&quot;&gt;</span><o:p></o:p></p></div><div><p class=MsoNormal>This means that condition will only be used if the number dialed (the number to which you transfer the call) is between 1000 and 1019. &nbsp;Since you transferred to 12345, the condition does not match, so that extension will be skipped, and processing will continue to other extensions.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>You have to find the extension that is actually getting processed. The easiest way is to look in the log file (or the CLI). You should see lines that start with &quot;Dialplan:&quot; and say PASS or FAIL. The last one that PASSed is probably the extension that ended up getting used. Once you find that, we can look at it to check the caller_id variables.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>--&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>Steve<o:p></o:p></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On Tue, Mar 26, 2013 at 1:47 PM, Erwan Hermouet &lt;<a href="mailto:ehermouet@bluetel.fr" target="_blank">ehermouet@bluetel.fr</a>&gt; wrote:<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Tks for your reply</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Here my default</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; &lt;extension name=&quot;12345&quot;&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$&quot;&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;dialed_extension=$1&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;export&quot; data=&quot;dialed_extension=$1&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- bind_meta_app can have these args &lt;key&gt; [a|b|ab] [a|b|o|s] &lt;app&gt; --&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b s execute_extension::dx XML features&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bind_meta_app&quot; data=&quot;2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bind_meta_app&quot; data=&quot;3 b s execute_extension::cf XML features&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bind_meta_app&quot; data=&quot;4 b s execute_extension::att_xfer XML features&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;transfer_ringback=$${hold_music}&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- &lt;action application=&quot;set&quot; data=&quot;sip_exclude_contact=${network_addr}&quot;/&gt; --&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION&quot;/&gt; --&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;action application=&quot;export&quot; data=&quot;nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}&quot;/&gt;--&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;hash&quot; data=&quot;insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;{sip_invite_domain=$${domain}}user/${dialed_extension}@${domain_name}&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;answer&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;</span><o:p></o:p></p></div></div></div></div></div></body></html>