[Freeswitch-users] not make a phone call both extensions

Volkan Oransoy voransoy at gmail.com
Sun May 17 00:29:29 MSD 2015


To start a call on freeswitch console, please check this link.
https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-originate

2015-05-16 13:37 GMT+03:00 Stanislav Sinyagin <ssinyagin at gmail.com>:

> Hopefully this will help you as a starting point:
> https://github.com/voxserv/freeswitch_conf_minimal/blob/master/docs/tutorial_01_simple_pbx.md
> On May 16, 2015 12:28 PM, "Masakazu Nakano" <emplant2000 at gmail.com> wrote:
>
>> Hi Volkan,
>>
>> thank you for your reply.
>>
>> I think I forgot setting up dialplan, and make it.but result is under
>> like that.
>>
>> 2015-05-16 19:15:57.652782 [INFO] mod_dialplan_xml.c:635 Processing 5631
>> <5631>->5630 in context public
>> Dialplan: sofia/external/5631 at XXX parsing [public->unloop] continue=false
>> Dialplan: sofia/external/5631 at XXX Regex (PASS) [unloop]
>> ${unroll_loops}(true) =~ /^true$/ break=on-false
>> Dialplan: sofia/external/5631 at XXX Regex (FAIL) [unloop]
>> ${sip_looped_call}() =~ /^true$/ break=on-false
>> Dialplan: sofia/external/5631 at XXX parsing [public->outside_call]
>> continue=true
>> Dialplan: sofia/external/5631 at XXX Absolute Condition [outside_call]
>> Dialplan: sofia/external/5631 at XXX Action set(outside_call=true)
>> Dialplan: sofia/external/5631 at XXX Action
>> export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
>> Dialplan: sofia/external/5631 at XXX parsing [public->public_extensions]
>> continue=false
>> Dialplan: sofia/external/5631 at XXX Regex (PASS) [public_extensions]
>> destination_number(5630) =~ /^(563[0-9])$/ break=on-false
>> Dialplan: sofia/external/5631 at XXX Action
>> bridge(sofia/doublenat/5630%27.XX.104.17 )
>> 2015-05-16 19:15:57.652782 [DEBUG] switch_core_state_machine.c:216
>> (sofia/external/5631 at XXX) State Change CS_ROUTING -> CS_EXECUTE
>>
>> Can I make a phone call by fs_cli to 5631 ??
>>
>> PS: I'm understand old style extension.conf is enought. but xml one is
>> bit difficult... :(
>>
>> BR
>>
>> mack
>>
>>
>>
>> 2015-05-16 19:08 GMT+09:00 Volkan Oransoy <voransoy at gmail.com>:
>>
>>> Freeswitch is very flexible, so you can set many sip profiles for many
>>> different scenarios.
>>> The starting point of a context is a sip profile. When a call hits the
>>> dialplan, the relevant sip profile sets the initial context.
>>> You  should check your sip profile settings if you want to change the
>>> initial context.
>>>
>>> /Volkan
>>>
>>> 2015-05-14 20:41 GMT+03:00 Masakazu Nakano <emplant2000 at gmail.com>:
>>>
>>>> Hi there
>>>>
>>>> I'm Freeswitch newbie. 15 years ago, usually used asterisk as old
>>>> extension.conf style.
>>>>
>>>> so I got a cloud server like a EC2.
>>>>
>>>> I made a couple of users 5630 and 5631.xml and so on, specified default
>>>> in context and in /conf/directory/default.
>>>>
>>>> and registered in np.
>>>>
>>>> freeswitch at internal> show registrations
>>>>
>>>> reg_user,realm,token,url,expires,network_ip,network_port,network_proto,hostname,metadata
>>>> 5631,my
>>>> cloud,76122ZWRhNDRmMDY0MzA2YWU5NzJkNWIxZWJiNmZmNTJmMjI,sofia/external/
>>>> sip:5631 at 27.140.246.3:58996,1431626535,27.140.246.3,58996,udp,my cloud,
>>>> 5630,my cloud,958199470722 at 10.210.59.150
>>>> ,sofia/external/sip:5630 at 10.210.59.150:47420;transport=udp,1431626875,49.97.4.168,47420,udp,my
>>>> cloud,
>>>>
>>>> 2 total.
>>>>
>>>> but fs_cli says 2015-05-15 02:31:47.752779 [INFO]
>>>> mod_dialplan_xml.c:635 Processing 5631 <5631>->5630 in context public
>>>>
>>>> why ??
>>>>
>>>> BR
>>>>
>>>> mack
>>>> https://www.facebook.com/nakano.masakazu
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>
>>
>>
>> _________________________________________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150516/3da14dc7/attachment-0001.html 


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