| Class | SIP::B2buaController |
| In: |
sipper/b2bua_controller.rb
|
| Parent: | SIP::BaseController |
Creates the b2bua request based on the original request. Also creates the peer session if it does not already exist.
Creates a b2bua response based on an original response. If there is no peer session then this fails.
Gets or creates a peer b2bua leg (session). The session passed in as the argument becomes the anchor leg which is the main leg.
Marks this b2bua as transparent which allows the relaying of requests and responses between legs without any controller involvement.
While linking the two sessions to create a b2bua the first argument is treated as the main or anchor leg.
if there exists a peer session then we transparently send the request as a b2bua if transparent flag is on.