[Freeswitch-users] Svar: Re: Svar: Re: Home setup with home company

Michael Jerris mike at jerris.com
Sun Jan 24 01:59:06 PST 2010


Debug logs should help you figure out what is and is not matching in your conditions.

Mike

On Jan 22, 2010, at 6:14 AM, mailinglist wrote:

> Ok, I set it up like this:
> <extension name="CompanyIn">
>    <condition field="destination_number" expression="^(8203)$" continue="true"/>
>      <!-- man strftime - M-F, 9AM to 5PM -->
>       <condition field="${strftime(%w)}" expression="^([1-2])$"/>
>          <anti-action application="voicemail" data="default 10.11.12.25 10199"/>
>       <condition field="${strftime(%H%M)}" expression="^((09|1[0-6])[0-5][0-9]|1700)$">
>          <action application="set" data="call_timeout=45"/>
>          <action application="set" data="domain_name=10.11.12.25"/>
>          <action application="set" data="continue_on_fail=true"/>
>          <action application="set" data="hangup_after_bridge=true"/>
>          <action application="bridge" data="group/company@${domain_name}"/>
>          <action application="answer" data=""/>
>          <action application="sleep" data="1000"/>
>          <action application="voicemail" data="default 10.11.12.25 10199"/>
>          <anti-action application="voicemail" data="default 10.11.12.25 10199"/>
>       </condition>
> </extension>
> 
> But now it gives me:
> 
> 2010-01-22 11:52:08.667564 [NOTICE] switch_channel.c:602 New Channel sofia/external/2680xxxx at 87.54.25.116 [16baec2f-4407-df11-8fb3-000c29b7b4cb]
> 2010-01-22 11:52:08.800123 [INFO] mod_dialplan_xml.c:252 Processing 2680xxxx->4692xxxx in context public
> 2010-01-22 11:52:08.830071 [NOTICE] switch_ivr.c:1349 Transfer sofia/external/2680xxxx at 87.54.25.116 to XML[8203 at default]
> 2010-01-22 11:52:08.830071 [INFO] mod_dialplan_xml.c:252 Processing 2680xxxx->8203 in context default
> 2010-01-22 11:52:08.830071 [NOTICE] switch_ivr.c:1349 Transfer sofia/external/2680xxxx at 87.54.25.116 to enum[8203 at default]
> 2010-01-22 11:52:09.163439 [INFO] switch_core_state_machine.c:136 No Route, Aborting
> 
> huh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100124/b1bcc3f0/attachment-0002.html 


More information about the FreeSWITCH-users mailing list