PUA Bridged Line Appearances

Table of Contents

1. Admin Guide
1.1. Overview
1.2. Dependencies
1.2.1. OpenSIPS Modules
1.2.2. External Libraries or Applications
1.3. Exported Parameters
1.3.1. default_domain(str)
1.3.2. header_name(str)
1.3.3. outbound_proxy(str)
1.3.4. server_address(str)
1.3.5. presence_server(str)
1.4. Exported Functions
1.4.1. bla_set_flag()
1.4.2. bla_handle_notify()
2. Contributors
2.1. By Commit Statistics
2.2. By Commit Activity
3. Documentation
3.1. Contributors

List of Tables

2.1. Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)
2.2. Most recently active contributors(1) to this module

List of Examples

1.1. Set default_domain parameter
1.2. Set header_name parameter
1.3. Set outbound_proxy parameter
1.4. Set server_address parameter
1.5. Set presence_server parameter
1.6. bla_set_flag usage
1.7. bla_handle_notify usage

Chapter1.Admin Guide


The pua_bla module enables Bridged Line Appearances support according to the specifications in draft-anil-sipping-bla-03.txt.


1.2.1.OpenSIPS Modules

The following modules must be loaded before this module:

  • usrloc.

  • pua.

  • presence.

1.2.2.External Libraries or Applications

The following libraries or applications must be installed before running OpenSIPS with this module loaded:

  • libxml.

1.3.Exported Parameters


The default domain for the registered users to be used when constructing the uri for the registrar callback.

Default value is NULL.

Example1.1.Set default_domain parameter

modparam("pua_bla", "default_domain", "opensips.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.

Example1.2.Set header_name parameter

modparam("pua_bla", "header_name", "Sender")


The outbound_proxy uri to be used when sending Subscribe requests.

Default value is NULL.

Example1.3.Set outbound_proxy parameter

modparam("pua_bla", "outbound_proxy", "sip:proxy@opensips.org")


The IP address of the server.

Example1.4.Set server_address parameter

modparam("pua_bla", "server_address", "sip:bla@")


The address of the presence server - will be used as an outbound proxy when sending PUBLISH requests. It is optional.

Default value is NULL.

Example1.5.Set presence_server parameter

modparam("pua_bla", "presence_server", "sip:pa@opensips.org")

1.4.Exported Functions

1.4.1. bla_set_flag()

The function is used to mark REGISTER requests made to a BLA AOR. The modules subscribes to the registered contacts for dialog;sla event.

Example1.6.bla_set_flag usage

if(is_method("REGISTER") && $tu=~"bla_aor@opensips.org") 

1.4.2. bla_handle_notify()

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.

Example1.7.bla_handle_notify usage

if(is_method("NOTIFY") && $tu=~"bla_aor@opensips.org") 
		if( bla_handle_notify() ) 
			t_reply(200, "OK");


2.1.By Commit Statistics

Table2.1.Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)

NameDevScoreCommitsLines ++Lines --
1. Anca Vamanu56271961779
2. Liviu Chircu (@liviuchircu)16135871
3. Bogdan-Andrei Iancu (@bogdan-iancu)14124260
4. Daniel-Constantin Mierla (@miconda)971715
5. Vlad Patrascu (@rvlad-patrascu)752018
6. Razvan Crainea (@razvancrainea)751011
7. Ovidiu Sas (@ovidiusas)42154
8. Vlad Paiu (@vladpaiu)31616
9. Sergio Gutierrez3144
10. Konstantin Bokarius3125

All remaining contributors: Juha Heinanen (@juha-h), Ezequiel Lovelle (@lovelle), Peter Lemenkov (@lemenkov), Edson Gellert Schubert, Stanislaw Pitucha.

(1) DevScore = author_commits + author_lines_added / (project_lines_added / project_commits) + author_lines_deleted / (project_lines_deleted / project_commits)

(2) including any documentation-related commits, excluding merge commits. Regarding imported patches/code, we do our best to count the work on behalf of the proper owner, as per the "fix_authors" and "mod_renames" arrays in opensips/doc/build-contrib.sh. If you identify any patches/commits which do not get properly attributed to you, please submit a pull request which extends "fix_authors" and/or "mod_renames".

(3) ignoring whitespace edits, renamed files and auto-generated files

2.2.By Commit Activity

Table2.2.Most recently active contributors(1) to this module

NameCommit Activity
1. Razvan Crainea (@razvancrainea)Feb 2012 - Sep 2019
2. Vlad Patrascu (@rvlad-patrascu)May 2017 - Apr 2019
3. Bogdan-Andrei Iancu (@bogdan-iancu)Jul 2007 - Apr 2019
4. Liviu Chircu (@liviuchircu)Mar 2014 - Nov 2018
5. Peter Lemenkov (@lemenkov)Jun 2018 - Jun 2018
6. Ezequiel Lovelle (@lovelle)Oct 2014 - Oct 2014
7. Ovidiu Sas (@ovidiusas)Dec 2010 - Jan 2013
8. Vlad Paiu (@vladpaiu)Aug 2011 - Aug 2011
9. Anca VamanuApr 2007 - Apr 2011
10. Stanislaw PituchaJul 2010 - Jul 2010

All remaining contributors: Sergio Gutierrez, Daniel-Constantin Mierla (@miconda), Konstantin Bokarius, Edson Gellert Schubert, Juha Heinanen (@juha-h).

(1) including any documentation-related commits, excluding merge commits



Last edited by: Vlad Patrascu (@rvlad-patrascu), Peter Lemenkov (@lemenkov), Liviu Chircu (@liviuchircu), Bogdan-Andrei Iancu (@bogdan-iancu), Razvan Crainea (@razvancrainea), Anca Vamanu, Daniel-Constantin Mierla (@miconda), Konstantin Bokarius, Edson Gellert Schubert.

Documentation Copyrights:

Copyright 2007 Voice Sistem SRL