exten => 2,2,system(/opt/swift/bin/swift "hello world") should be something like:

exten => 2,2,system(/opt/swift/bin/swift -n VOICE -p audio/channels=1,audio/sampling-rate=8000 "hello world" -o -)

... where VOICE is a voice installed on your system (Frank, David, etc). -n VOICE might not be needed if you only have one voice installed.

Note - I haven't tried this in my dialplan, but it looks right.

-Steve


Mahmoud Badran wrote:

Hi i installed ceptral and i want to test it with asterisk can u plz tell me if i was wrong here>> ??

exten => 2,1,Answer
exten => 2,2,system(/opt/swift/bin/swift "hello world")
exten=> 2,3,Hangup()





*                    Mahmoud Badran*


        ATSI

        Tel:         +20 2 607 8917

        Fax:         +20 2 607 9178

        gsm:        +20 105674409

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
------------------------------------------------------------------------

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to