I’ll try to keep this as simple and short as possible.
I have three devices; a speaker/mic combo, an intercom with a single button and a VOIP phone. All three are VOIP/SIP devices. The speaker/mic monitors a room and sends audio via multicast which can be heard on the intercom (not through asterisk). When someone wants to speak to the room they can pick up the VOIP phone and establish a SIP call with the speaker/mic combo; the speaker auto answers the call. Multicast stops and the phone now has two way communication with the room speaker through the asterisk server.
The intercom has a button that is also capable of making a SIP call to a single extension and here is what I want to do…When the intercom button is pressed the asterisk server answers the call and then hangs up, it then calls the the VOIP phone. When someone answers the voip phone it then calls the speaker and connects the two calls.
I’m using Trixbox but creating a dial plan in the custom config for this. I’ve tried a few things but haven’t had much luck. From my research it seems like the place to start would be to use the Originate() command to originate a call from within the dial plan but anything I did would just connect the intercom to the phone or fail out.
Any help on this would be greatly appreciated.