[Kamailio-Devel] presence and pua_bla module question

Klaus Darilion klaus.mailinglists at pernau.at
Thu Aug 28 23:59:50 CEST 2008


Hi!

Sorry for crossposting, but I want to reach all developers which have 
knowledge of these modules.

I just wrote a small module which registers the "dialog" event package 
and somehow it did not worked. After some time I found out that for 
incoming SUBSCRIBEs with Event: dialog the presence module does build 
the pres-URI from the username from the Contact header from the 
SUBSCRIBE. Why? Is this related to the BLA implementation?

I read the BLA-draft now 3 times and I still do not understand it 
completely - in the example in section 6.1.2 in F13 Bob uses "Alice" as 
username in the contact. Is this the reason why the presentity is built 
from the Contact-username? If this is really the case then IMO this is a 
bug in the draft and against all logic. Further it breaks usage of 
dialog event without "bla" extension. In this case maybe event-header 
parser and presence module should be extended to check if the dialog 
event has the ";bla" parameter and build the pres-URI only in this case 
from the SUBSCRIBEs Contact username.

Or am I completely wrong?

regards
klaus



More information about the Devel mailing list