I receive an error on an inbound call from my dialplan. I don’t have a clue what it means. Can someone help?

 

from log:

2009-07-08 09:54:50.172590 [DEBUG] switch_core_state_machine.c:78 sofia/external/+13105551212@66.53.188.187 Standard ROUTING

2009-07-08 09:54:50.172590 [INFO] mod_dialplan_xml.c:310 Processing +13105551212->1000 in context default

...

Dialplan: sofia/external/+13105551212@66.53.188.187 parsing [default->Local_Extension_Lars] continue=false

Dialplan: sofia/external/+13105551212@66.53.188.187 Regex (PASS) [Local_Extension_Lars] destination_number(1000) =~ /^(100[0-9])$/ break=on-false

Dialplan: sofia/external/+13105551212@66.53.188.187 Action set(dialed_ext=1000)

Dialplan: sofia/external/+13105551212@66.53.188.187 Action export(dialed_ext=1000)

2009-07-08 09:54:50.173586 [ERR] switch_regex.c:101 COMPILE ERROR: 1 [nothing to repeat][^+13105551212$]

Dialplan: sofia/external/+13105551212@66.53.188.187 Regex (FAIL) [Local_Extension_Lars] destination_number(1000) =~ /^+13105551212$/ break=on-false

Dialplan: sofia/external/+13104647614@66.53.188.187 ANTI-Action bind_meta_app(1 b s execute_extension::dx XML features)

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)

...

Caller-Dialplan: [XML]

Caller-Caller-ID-Name: [+13105551212]

Caller-Caller-ID-Number: [+13105551212]

 

My dialplan:

     <extension name="Local_Extension_Lars">

       <condition field="destination_number" expression="^(100[0-9])$">

         <action application="set" data="dialed_ext=$1"/>

         <action application="export" data="dialed_ext=$1"/>

       </condition>

       <condition field="destination_number" expression="^${caller_id_number}$">

         <action application="set" data="voicemail_authorized=${sip_authorized}"/>

         <action application="answer"/>

         <action application="sleep" data="1000"/>

         <action application="voicemail" data="check default $${domain} 1000"/>

         <anti-action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/>

         <anti-action application="bind_meta_app" data="2 b s record_session::$${base_dir}/recordings/${caller_id_number}.${strf

         <anti-action application="bind_meta_app" data="3 b s execute_extension::cf XML features"/>

         ....

         <anti-action application="db" data="insert/call_return/${dialed_ext}/${caller_id_number}"/>

         <anti-action application="db" data="insert/last_dial_ext/${dialed_ext}/${uuid}"/>

         <anti-action application="bridge" data="user/1000@$${domain},user/1001@$${domain},user/1009@$${domain}"/>

         <anti-action application="answer"/>

         <!--<anti-action application="send_display" data="Voicemail for ${dialed_ext}"/>-->

         <anti-action application="sleep" data="1000"/>

         <anti-action application="voicemail" data="default $${domain} 1000"/>

...

 

 

Thanks, Lars