[asterisk-dev] Using Asterisk modules in external application
North Antara
north at ntbox.com
Wed Apr 19 11:29:24 MST 2006
>> asterisk -x <cmd> Execute command <cmd> (only valid with -r)
>>
>>
>> [root]#asterisk -x convert /root/in.ilbc /root/out.pcm
>> Asterisk already running on /var/run/asterisk.ctl. Use 'asterisk -r'
>> to connect.
>> [root]#
>> [root]#
>>
>>
>>
>> [root]#asterisk -r -x convert /root/in.ilbc /root/out.pcm
>> Usage: convert <file_in> <file_out>
>> -- Remote UNIX connection
>> [root]#
>> [root]#
>>
>>
>> As I could test, the "-x" flag can't be used at prompt...
>>
>>
>>
>>
>>
>> 2006/4/19, Andrey S. Pankov <casper at casper.org.ua>:
>>> Write your own format which will do output in the format you need.
>>>
>>> Use asterisk -x command to to convertions.
>>>
>>> Regards,
>>> casper
>
> asterisk -x -r "convert /root/in.ilbc /root/out.pcm"
>
ugh...sorry. Accidently switched the args around. -x should be after -r
More information about the asterisk-dev
mailing list