[Kamailio-Devel] [ openser-Feature Requests-1685807 ] Separate caller/callee attribute branches

SourceForge.net noreply at sourceforge.net
Sat Nov 22 17:13:16 CET 2008


Feature Requests item #1685807, was opened at 2007-03-22 08:28
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1685807&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andreas Granig (agranig)
Assigned to: Nobody/Anonymous (nobody)
Summary: Separate caller/callee attribute branches

Initial Comment:
When using caller and callee attributes in OpenSER <= 1.2, you have to "rename" each loaded caller avp using avp_copy(...) to avoid name collisions when loading the callee avps (important if callee does a call-forward and thus becomes the new "caller").

In SER 2.0 there are separate from- and to-branches for attributes, which can be selected when loading the attributes, like lookup_user("$tu","@ruri") to load all callee attributes. You can then use them by prefixing $tu or $fu respectively, like $tu.ringtimeout, or $fu.clir or something like that.

It would be great to see such a feature in OpenSER 1.3 too. 

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-11-22 16:13

Message:
lookup_user("$tu","@ruri") fails if ruri is like this :
'sip:user at domain;user=phone'.
Es. if the call is coming from PSTN.

Has someone the solution???
g.ricca at csinfo.net 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1685807&group_id=139143



More information about the Devel mailing list