2008/10/23 Anthony Minessale <anthony.minessale@gmail.com>:
What does 123 lead to? launching another script?
The 123 is the destination_number in the "/dialplan/default.xml". <extension name="test"> <condition field="destination_number" expression="^123$"> <action application="set" data="hangup_after_bridge=false"/> <action application="set" data="enable_heartbeat_events=10"/> <action application="socket" data="192.168.1.5:8022 async full"/> </condition> </extension>
you could make the 2nd originate lead to &park() in place of 123
I tried that... The target of the originate rings, but as soon one answers the call, nothing else happens. No events, nothing...
and you could control both legs from the same socket.
How? What do you mean? Do you now have an idea what I am trying to do, after I described the whole thing?
please please join irc and let the whole group help you. I was there today, but it seemed, that nobody could hear/read me. I will try again tomorrow.