[Freeswitch-users] Dialplan question....

Ítalo Rossi italo at freeswitch.org
Mon Sep 14 21:53:54 MSD 2015


You're probably not reloading your dialplan due to an error in your xml, or
overwriting the context test_case.

xml_locate root dialplan

and examine what FreeSWITCH have loaded.

reloadxml give you an error?

/log 7 will help you to see the dialplan hunt.

On Mon, Sep 14, 2015 at 2:15 PM, Brian West <brian at freeswitch.org> wrote:

> What directory do you have the file in and what is the file called?
>
> On Mon, Sep 14, 2015 at 11:42 AM, Igor Olhovskiy <igorolhovskiy at gmail.com>
> wrote:
>
>> Yea, missed it. But the same
>>
>> 2015-09-14 18:41:19.880227 [DEBUG] switch_core_state_machine.c:166
>> loopback/3335-b Standard ROUTING
>> 2015-09-14 18:41:19.880227 [INFO] mod_dialplan_xml.c:635 Processing
>>  <0000000000>->3335 in context test_cases
>> 2015-09-14 18:41:19.880227 [INFO] switch_core_state_machine.c:241 No
>> Route, Aborting
>>
>>
>> 2015-09-14 19:29 GMT+03:00 Russell Treleaven <rtreleaven at bunnykick.ca>:
>>
>>> 3555 != 3335
>>>
>>>
>>>
>>> On Mon, Sep 14, 2015 at 12:26 PM, Igor Olhovskiy <
>>> igorolhovskiy at gmail.com> wrote:
>>>
>>>> Hi!
>>>> I have a really strange dialplan problem or total misunderstanding of
>>>> FreeSwitch dialplans....
>>>> I've created file
>>>> test_cases.xml in dialplan directory with content:
>>>>  <include>
>>>>   <context name="test_cases">
>>>>    <extension name="testing">
>>>>     <condition field="destination_number" expression="^3335$">
>>>>       <action application="info"/>
>>>>      </condition>
>>>>    </extension>
>>>>   </context>
>>>> </include>
>>>>
>>>> Than, after reloadxml. verify, that I have in log/freeswitch.xml.fsxml
>>>> section with it (section="dialplan" and other....)
>>>>
>>>> In fs_cli I've firing a commnand
>>>>  originate loopback/3555/test_cases/XML user/101
>>>>
>>>> But can't get to 3555 extension in dialplan. Got in log
>>>>
>>>> .....
>>>> 2015-09-14 18:16:31.000258 [INFO] mod_dialplan_xml.c:635 Processing
>>>>  <0000000000>->3555 in context test_cases
>>>> 2015-09-14 18:16:31.000258 [INFO] switch_core_state_machine.c:241 No
>>>> Route, Aborting
>>>> 2015-09-14 18:16:31.000258 [NOTICE] switch_core_state_machine.c:242
>>>> Hangup loopback/3555-b [CS_ROUTING] [NO_ROUTE_DESTINATION]
>>>> .....
>>>> But why? I have a context test_cases and corresponding extension with
>>>> condition field.....
>>>>
>>>> Looks like dumb question, but I'm desperate...
>>>>
>>>>
>>>> --
>>>> Best regards,
>>>> Igor
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Ítalo Rossi
italo at freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150914/7ebdf0f9/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list