Development -> Sand Box -> B2BUA
How it should be used?
Emmanuel BUU's proposal
1. In the proxy part, we should have a new 'core?) function that would engage the B2BUA but message could be modified / twicked before getting into b2bua. It would be the configuration's responsibility to properly call this new function.
if (is_method("INVITE") && ...) b2bua_process(route_number) The function would pass on the message to the b2bua and stop further processing of the message.
2. New routes or instruction blocks should be defined possibily in a separate conf file.
b2b_arm_timer( tick ); b2b_initiate_outcall( uri );
3. Inside b2bua routes,
modules functions dedicated to b2bua could be called and a way to delegate also: a call context should be defined and it should be possible to define variables that lives during the whole call duration.
for multi party calls, provision should be made to enable one context to influence another context for instance by sending events .
B2BUA should be able to enable the implementation of the following
4. New proxy routes should be define
that would process messages issued by b2bua
a b2bua_reply() function would be available in case the proxy logic chose to direcly reply to the b2bua logic