[Freeswitch-users] "originate" Command not found in fs_cli
Sanath Prasanna
ahe.sanath at gmail.com
Wed Jun 6 08:31:24 MSD 2012
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 at internal> originate sofia/gateway/ivr/14722796816 54722796817
-ERR originate sofia/gateway/dtl/ 14722796816 54722796817 Command not
found!
also when run reloadxml
freeswitch at 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 at endigotech.com>wrote:
> Your not understanding the dialstring aspect...
>
> Example:
>
> originate sofia/gateway/flowroute/13175551212 user/1000 at 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 at gmail.com> wrote:
>
>> Hi,
>> when I run originate command in fs_cli following error coming. Pls advice
>> to resolve that.
>>
>> freeswitch at internal> originate sofia/external/ivr/9179123456 9179123458
>> -ERR originate sofia/external/ivr/9179123456 9179123458 Command not
>> found!
>>
>> Br,
>> Sanath
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.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 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://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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/20120606/1386eb58/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list