ConfBridge Sample

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ConfBridge Sample

bb.boston929
Hi, Long time Asterisk\RoR developer but looking to jump into Adhearsion. We have Asterisk 11 and Adhearsion 2.5 running and working Asterisk ConfBridge dial plan working:

[test]
exten => 200,1,Answer()
exten => 200,n,Playback(hello-world)
exten => 200,n,ConfBridge(200)

Looking for docs, sample code to start porting that to Adhearsion but not seeing much.

Can anyone recommend something to read or good place to start?

Thanks
BB



--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: ConfBridge Sample

Justin Aiken
For ConfBridge, you’ll need the adhearsion-asterisk gem, so you can run arbitrary asterisk applications… 

Then, the controller for that example would look something like:

class ConfBridgeController < Adhearsion::CallController

  def run
    answer
    play 'hello-world'
    execute 'Confbridge', 200
  end
end


Good luck!

-Justin


On Jul 21, 2014, at 8:22 PM, [hidden email] wrote:

Hi, Long time Asterisk\RoR developer but looking to jump into Adhearsion. We have Asterisk 11 and Adhearsion 2.5 running and working Asterisk ConfBridge dial plan working:

[test]
exten => 200,1,Answer()
exten => 200,n,Playback(hello-world)
exten => 200,n,ConfBridge(200)

Looking for docs, sample code to start porting that to Adhearsion but not seeing much.

Can anyone recommend something to read or good place to start?

Thanks
BB




--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: ConfBridge Sample

Ben Klang-2
Pointers to some docs you can use to get even further:

http://adhearsion.com/api (Pay special attention to the section on CallControllers)

For adhearsion-asterisk, which provides a bit of extra functionality when working with Asterisk:

General docs on Adhearsion (check out Getting Started, Routing and Best Practices):

/BAK/
-- 
Ben Klang
Principal/Technology Strategist, Mojo Lingo
+1.404.475.4841

Mojo Lingo -- Voice applications that work like magic
Twitter: @MojoLingo

Il giorno Jul 21, 2014, alle ore 10:28 PM, Justin Aiken <[hidden email]> ha scritto:

For ConfBridge, you’ll need the adhearsion-asterisk gem, so you can run arbitrary asterisk applications… 

Then, the controller for that example would look something like:

class ConfBridgeController < Adhearsion::CallController

  def run
    answer
    play 'hello-world'
    execute 'Confbridge', 200
  end
end


Good luck!

-Justin


On Jul 21, 2014, at 8:22 PM, [hidden email] wrote:

Hi, Long time Asterisk\RoR developer but looking to jump into Adhearsion. We have Asterisk 11 and Adhearsion 2.5 running and working Asterisk ConfBridge dial plan working:

[test]
exten => 200,1,Answer()
exten => 200,n,Playback(hello-world)
exten => 200,n,ConfBridge(200)

Looking for docs, sample code to start porting that to Adhearsion but not seeing much.

Can anyone recommend something to read or good place to start?

Thanks
BB




--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.


signature.asc (858 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ConfBridge Sample

bb.boston929
In reply to this post by Justin Aiken
Thank you Justin and Ben, that was easy enough! Ready to take it further though like adding rails app to create and manage rooms. I don't see anything in the docs in that regard. The only reference I see are in older versions and posts. How does Adhearsion community handle that these days?

BB

On Monday, July 21, 2014 7:29:05 PM UTC-7, Justin Aiken wrote:
For ConfBridge, you’ll need the adhearsion-asterisk gem, so you can run arbitrary asterisk applications… 

Then, the controller for that example would look something like:

class ConfBridgeController < Adhearsion::CallController

  def run
    answer
    play 'hello-world'
    execute 'Confbridge', 200
  end
end


Good luck!

-Justin


On Jul 21, 2014, at 8:22 PM, <a href="javascript:" target="_blank" gdf-obfuscated-mailto="uHc_qCsS-KUJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">bb.bos...@... wrote:

Hi, Long time Asterisk\RoR developer but looking to jump into Adhearsion. We have Asterisk 11 and Adhearsion 2.5 running and working Asterisk ConfBridge dial plan working:

[test]
exten => 200,1,Answer()
exten => 200,n,Playback(hello-world)
exten => 200,n,ConfBridge(200)

Looking for docs, sample code to start porting that to Adhearsion but not seeing much.

Can anyone recommend something to read or good place to start?

Thanks
BB




--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="uHc_qCsS-KUJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">adhearsion+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.