bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bayonne-devel] Re: How to use join in bayonne2?


From: David Sugar
Subject: [Bayonne-devel] Re: How to use join in bayonne2?
Date: Thu, 02 Mar 2006 07:03:15 -0500
User-agent: Thunderbird 1.5 (X11/20051201)

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]