<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 HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Times New Roman","serif";
        color:windowtext;}
..MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>I
receive an error on an inbound call from my dialplan. I don’t have a clue
what it means. Can someone help?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>from
log:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>2009-07-08
09:54:50.172590 [DEBUG] switch_core_state_machine.c:78
sofia/external/+13105551212@66.53.188.187 Standard ROUTING<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>2009-07-08
09:54:50.172590 [INFO] mod_dialplan_xml.c:310 Processing +13105551212->1000
in context default<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>...<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan:
sofia/external/+13105551212@66.53.188.187 parsing
[default->Local_Extension_Lars] continue=false<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan:
sofia/external/+13105551212@66.53.188.187 Regex (PASS) [Local_Extension_Lars]
destination_number(1000) =~ /^(100[0-9])$/ break=on-false<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan:
sofia/external/+13105551212@66.53.188.187 Action set(dialed_ext=1000)<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan:
sofia/external/+13105551212@66.53.188.187 Action export(dialed_ext=1000)<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>2009-07-08
09:54:50.173586 [ERR] switch_regex.c:101 COMPILE ERROR: 1 [nothing to
repeat][^+13105551212$]<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan:
sofia/external/+13105551212@66.53.188.187 Regex (FAIL) [Local_Extension_Lars]
destination_number(1000) =~ /^+13105551212$/ break=on-false<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan:
sofia/external/+13104647614@66.53.188.187 ANTI-Action bind_meta_app(1 b s
execute_extension::dx XML features)<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Dialplan:
sofia/external/+13104647614@66.53.188.187 ANTI-Action bind_meta_app(2 b s
record_session::/usr/local/freeswitch/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav)<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>...<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Caller-Dialplan:
[XML]<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Caller-Caller-ID-Name:
[+13105551212]<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Caller-Caller-ID-Number:
[+13105551212]<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>My
dialplan:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<extension name="Local_Extension_Lars"><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<condition field="destination_number"
expression="^(100[0-9])$"><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<action application="set" data="dialed_ext=$1"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<action application="export" data="dialed_ext=$1"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
</condition><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<condition field="destination_number"
expression="^${caller_id_number}$"><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<action application="set"
data="voicemail_authorized=${sip_authorized}"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<action application="answer"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<action application="sleep" data="1000"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<action application="voicemail" data="check default
$${domain} 1000"/><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'> <anti-action application="bind_meta_app"
data="1 b s execute_extension::dx XML features"/><span
style='background:black;mso-highlight:black'><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'> <anti-action application="bind_meta_app"
data="2 b s record_session::$${base_dir}/recordings/${caller_id_number}.${strf<span
style='background:black;mso-highlight:black'><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:"Courier New"'> <anti-action application="bind_meta_app"
data="3 b s execute_extension::cf XML features"/><span
style='background:black;mso-highlight:black'><o:p></o:p></span></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
....<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<anti-action application="db"
data="insert/call_return/${dialed_ext}/${caller_id_number}"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<anti-action application="db"
data="insert/last_dial_ext/${dialed_ext}/${uuid}"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<anti-action application="bridge"
data="user/1000@$${domain},user/1001@$${domain},user/1009@$${domain}"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<anti-action application="answer"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<!--<anti-action application="send_display"
data="Voicemail for ${dialed_ext}"/>--><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<anti-action application="sleep" data="1000"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>
<anti-action application="voicemail" data="default $${domain}
1000"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>...<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Times New Roman","serif"'>Thanks,
Lars<o:p></o:p></span></p>
</div>
</body>
</html>