Copyright © 2007 voice-system
Revision History | |
---|---|
Revision $Revision: 1294 $ | $Date: 2007-03-13 14:05:07 +0200 (Thu, 13 March 2007) $ |
Table of Contents
List of Examples
Table of Contents
The pua_bla module enables Bridged Line Appearances support according to the specifications in draft-anil-sipping-bla-03.txt.
The following modules must be loaded before this module:
usrloc.
pua.
presence.
The default domain for the registered users to be used when constructing the uri for the registrar callback.
Default value is “NULL”.
Example 1.1. Set default_domain
parameter
... modparam("pua_bla", "default_domain", "kamailio.org") ...
The name of the header to be added to Publish requests. It will contain the uri of the user agent that sent the Notify that is transformed into Publish. It stops sending a Notification with the same information to the sender.
Default value is “NULL”.
The function is used to mark REGISTER requests made to a BLA AOR. The modules subscribes to the registered contacts for dialog;sla event.
Example 1.5. bla_set_flag
usage
... if(is_method("REGISTER") && to_uri=~"bla_aor@kamailio.org") bla_set_flag(); ...
The function handles Notify requests sent from phones on the same BLA to the server. The message is transformed in Publish request and passed to presence module for further handling. in case of a successful processing a 2xx reply should be sent.
Example 1.6. bla_handle_notify
usage
... if(is_method("NOTIFY") && to_uri=~"bla_aor@kamailio.org") { if( bla_handle_notify() ) t_reply("200", "OK"); } ...