"originate" Command not found in fs_cli
Hi, when I run originate command in fs_cli following error coming. Pls advice to resolve that. freeswitch@internal> originate sofia/external/ivr/9179123456 9179123458 -ERR originate sofia/external/ivr/9179123456 9179123458 Command not found! Br, Sanath
hi, If you have a phone registered to your FreeSWITCH server, then use the originate command from fs_cli. The basic syntax of originate is: originate <dialstring> <destination number> Try the following and see what happens. Replace "1000" with the extension number of your phone: originate loopback/9664 1000 originate user/1000 9664 originate error/USER_BUSY 1000 originate loopback/9192 1000 originate loopback/4000 1000 • • • • ________________________________ From: Sanath Prasanna <ahe.sanath@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Tuesday, June 5, 2012 5:18 PM Subject: [Freeswitch-users] "originate" Command not found in fs_cli Hi, when I run originate command in fs_cli following error coming. Pls advice to resolve that. freeswitch@internal> originate sofia/external/ivr/9179123456 9179123458 -ERR originate sofia/external/ivr/9179123456 9179123458 Command not found! Br, Sanath _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Your not understanding the dialstring aspect... Example: originate sofia/gateway/flowroute/13175551212 user/1000@192.168.1.79 Where sofia is the channel type, gateway is a keyword, flowroute is what I named my gateway, 13175551212 is the number I'm calling through my gateway flowroute, and user/1000 is the extension to send it to and 192.168.1.79 is the domain that user is attached to. Brian Foster Endigo Computer LLC Sent from a mobile device. On Jun 5, 2012 8:49 AM, "Sanath Prasanna" <ahe.sanath@gmail.com> wrote:
Hi, when I run originate command in fs_cli following error coming. Pls advice to resolve that.
freeswitch@internal> originate sofia/external/ivr/9179123456 9179123458 -ERR originate sofia/external/ivr/9179123456 9179123458 Command not found!
Br, Sanath
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Tx for advice. Here is the my profile vi sip_profiles/external/ivr.xml <include> <gateway name="ivr"> <!-- Replace these value with your iCall Carrier Services username and password. --> <!-- Even if you use an IP-based sub-account, FreeSWITCH needs these values --> <param name="password" value="1234" /> <param name="proxy" value="$${operator_sip_ip}" /> <param name="realm" value="$${operator_realm}" /> <!-- Set to "false" for IP-based accounts, or "true" for registration based --> <!-- Here I need IP-based account.Because operator is not provided registration based sip account.--> <param name="register" value="false" /> <!-- <param name="ping" value="30" /> --> </gateway> </include> vi dialplan/outbound.xml <include> <context name="outbound"> <extension name="outbound"> <condition field="destination_number" expression="^(54\d{9})$"> <action application="bridge" data="sofia/gateway/ivr/$1"/> </condition> </extension> </context> </include> ~ still same problem come =================== freeswitch@internal> originate sofia/gateway/ivr/14722796816 54722796817 -ERR originate sofia/gateway/dtl/ 14722796816 54722796817 Command not found! also when run reloadxml freeswitch@internal> reloadxml -ERR reloadxml Command not found! So when change conf, need to restart service every time. Pls advice to resolve this problems. Br, Sanath On Tue, Jun 5, 2012 at 10:46 PM, Brian Foster <bdfoster@endigotech.com>wrote:
Your not understanding the dialstring aspect...
Example:
originate sofia/gateway/flowroute/13175551212 user/1000@192.168.1.79
Where sofia is the channel type, gateway is a keyword, flowroute is what I named my gateway, 13175551212 is the number I'm calling through my gateway flowroute, and user/1000 is the extension to send it to and 192.168.1.79 is the domain that user is attached to.
Brian Foster Endigo Computer LLC
Sent from a mobile device. On Jun 5, 2012 8:49 AM, "Sanath Prasanna" <ahe.sanath@gmail.com> wrote:
Hi, when I run originate command in fs_cli following error coming. Pls advice to resolve that.
freeswitch@internal> originate sofia/external/ivr/9179123456 9179123458 -ERR originate sofia/external/ivr/9179123456 9179123458 Command not found!
Br, Sanath
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
This is a bigger problem than originate. It looks like none of your commands are working. I would shut down FS and restart it in the foreground, i.e. don't use the "-nc" flag. Watch the console and see what errors pop up. I'm curious to know if there's an issue with mod_commands or something like that. -MC On Tue, Jun 5, 2012 at 9:31 PM, Sanath Prasanna <ahe.sanath@gmail.com>wrote:
Hi Tx for advice. Here is the my profile vi sip_profiles/external/ivr.xml <include> <gateway name="ivr"> <!-- Replace these value with your iCall Carrier Services username and password. --> <!-- Even if you use an IP-based sub-account, FreeSWITCH needs these values --> <param name="password" value="1234" /> <param name="proxy" value="$${operator_sip_ip}" /> <param name="realm" value="$${operator_realm}" /> <!-- Set to "false" for IP-based accounts, or "true" for registration based --> <!-- Here I need IP-based account.Because operator is not provided registration based sip account.--> <param name="register" value="false" /> <!-- <param name="ping" value="30" /> --> </gateway> </include>
vi dialplan/outbound.xml
<include> <context name="outbound"> <extension name="outbound"> <condition field="destination_number" expression="^(54\d{9})$"> <action application="bridge" data="sofia/gateway/ivr/$1"/> </condition> </extension> </context> </include> ~
still same problem come =================== freeswitch@internal> originate sofia/gateway/ivr/14722796816 54722796817 -ERR originate sofia/gateway/dtl/ 14722796816 54722796817 Command not found!
also when run reloadxml freeswitch@internal> reloadxml -ERR reloadxml Command not found! So when change conf, need to restart service every time.
Pls advice to resolve this problems. Br, Sanath
On Tue, Jun 5, 2012 at 10:46 PM, Brian Foster <bdfoster@endigotech.com>wrote:
Your not understanding the dialstring aspect...
Example:
originate sofia/gateway/flowroute/13175551212 user/1000@192.168.1.79
Where sofia is the channel type, gateway is a keyword, flowroute is what I named my gateway, 13175551212 is the number I'm calling through my gateway flowroute, and user/1000 is the extension to send it to and 192.168.1.79 is the domain that user is attached to.
Brian Foster Endigo Computer LLC
Sent from a mobile device. On Jun 5, 2012 8:49 AM, "Sanath Prasanna" <ahe.sanath@gmail.com> wrote:
Hi, when I run originate command in fs_cli following error coming. Pls advice to resolve that.
freeswitch@internal> originate sofia/external/ivr/9179123456 9179123458 -ERR originate sofia/external/ivr/9179123456 9179123458 Command not found!
Br, Sanath
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Dear MC, Sorry for inconvenience causes. That is happened due to comment of mod_cmmands line in the modules.conf.xml. Now out bound dialing is also work. Tx for great help. Br, Sanath On Wed, Jun 6, 2012 at 10:38 AM, Michael Collins <msc@freeswitch.org> wrote:
This is a bigger problem than originate. It looks like none of your commands are working. I would shut down FS and restart it in the foreground, i.e. don't use the "-nc" flag. Watch the console and see what errors pop up. I'm curious to know if there's an issue with mod_commands or something like that.
-MC
On Tue, Jun 5, 2012 at 9:31 PM, Sanath Prasanna <ahe.sanath@gmail.com>wrote:
Hi Tx for advice. Here is the my profile vi sip_profiles/external/ivr.xml <include> <gateway name="ivr"> <!-- Replace these value with your iCall Carrier Services username and password. --> <!-- Even if you use an IP-based sub-account, FreeSWITCH needs these values --> <param name="password" value="1234" /> <param name="proxy" value="$${operator_sip_ip}" /> <param name="realm" value="$${operator_realm}" /> <!-- Set to "false" for IP-based accounts, or "true" for registration based --> <!-- Here I need IP-based account.Because operator is not provided registration based sip account.--> <param name="register" value="false" /> <!-- <param name="ping" value="30" /> --> </gateway> </include>
vi dialplan/outbound.xml
<include> <context name="outbound"> <extension name="outbound"> <condition field="destination_number" expression="^(54\d{9})$"> <action application="bridge" data="sofia/gateway/ivr/$1"/> </condition> </extension> </context> </include> ~
still same problem come =================== freeswitch@internal> originate sofia/gateway/ivr/14722796816 54722796817 -ERR originate sofia/gateway/dtl/ 14722796816 54722796817 Command not found!
also when run reloadxml freeswitch@internal> reloadxml -ERR reloadxml Command not found! So when change conf, need to restart service every time.
Pls advice to resolve this problems. Br, Sanath
On Tue, Jun 5, 2012 at 10:46 PM, Brian Foster <bdfoster@endigotech.com>wrote:
Your not understanding the dialstring aspect...
Example:
originate sofia/gateway/flowroute/13175551212 user/1000@192.168.1.79
Where sofia is the channel type, gateway is a keyword, flowroute is what I named my gateway, 13175551212 is the number I'm calling through my gateway flowroute, and user/1000 is the extension to send it to and 192.168.1.79 is the domain that user is attached to.
Brian Foster Endigo Computer LLC
Sent from a mobile device. On Jun 5, 2012 8:49 AM, "Sanath Prasanna" <ahe.sanath@gmail.com> wrote:
Hi, when I run originate command in fs_cli following error coming. Pls advice to resolve that.
freeswitch@internal> originate sofia/external/ivr/9179123456 9179123458 -ERR originate sofia/external/ivr/9179123456 9179123458 Command not found!
Br, Sanath
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Brian Foster
-
Michael Collins
-
Samira Mh
-
Sanath Prasanna