Thanks in advance,
Frank
--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To post to this group, send email to adhea...@googlegroups.com.
To unsubscribe from this group, send email to adhearsion+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adhearsion?hl=en.
I'll try to clarify my earlier post -
I have an asterisk extension:
[robocall]
exten => _X.,1,AGI(agi://127.0.0.1)
and this ahn dialplan context:
robocall {
answer
dial("WOOMERA/conf:#{extension}")
hangup
}
Now, let's say there's an active conference in room/extension 8621
running. I want to play a sound into it.
I tried to do something like this:
Ahn.originate channel: 'SIP/1234', context: 'robocall', exten: '8621',
priority: '1', application: 'PlayBack', data: 'hello-world'
Hi Ben, I implemented your gist example, and it works well when I use
ConfBridge instead of the Woomera-Application.
However when I drop in Woomera, asterisk complains about the codecs
beeing used:
[Oct 15 09:25:16] NOTICE[17798]: channel.c:4128 __ast_read: Dropping
incompatible voice frame on WOOMERA/conf:1/
role=presenter:tiles=0:position=none-c328 of format alaw since our
native format has changed to 0x40 (slin)
Is there a way to define the codecs for local channels or is this
merely a sign of something else going wrong?
Thanks,
Frank
2) If you are using something like app_konference, there are CLI commands that can be used to play sound files to a conference participant directly. CLI commands can also be invoked via AMI. For an example of this seehttps://github.com/bklang/ahn_appkonference/blob/master/lib/appkonfer....