Re: How to use join in bayonne2?

David Sugar <[email protected]> Thu, 02 Mar 2006 07:03:15 -0500
Newsgroups gmane.comp.gnu.bayonne.devel
Message-ID <[email protected]>
Yes, there is a simple example in /etc/bayonne/sip.conf for using join 
in Bayonne2 (1.2 or later).  Basically you do a connect request, which 
starts another script dialing.  When the other script starts (which 
happens on successful dial), it then performs a "join" to join the 
script that is connecting.  For sip this has to be done in sip.conf 
because select must be used to indicitate the outbound proxy for the 
dialing script, and select for sip is only usable there.  In traditional 
drivers, your joinable script can be anything with select records 
attached, which is used to select the timeslots and spans for outbound 
calls.  Select can be thought of as the bayonne2 way of defining 
Bayonne1 style trunk groups.

??? wrote:
> In bayonne1, there is an example of joining:
> 
> #script 1
> answer
> sleep 10
> ^1
> start.group group=default script="script2"
> ^2
> wait id=322 maxTime=1000
> 
> #script 2
> sleep 3
> send %session.parent message="hello"
> join id=322
> exit
> 
> But it seem there no "start.group" and "%session.parent" in bayonne2, Is 
> there any
> 
> example for bayonne2?

_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel