[OpenSER-Devel] [ openser-Feature Requests-2003416 ] dialplan integer valued attributes

SourceForge.net noreply at sourceforge.net
Sun Jun 29 18:30:30 CEST 2008


Feature Requests item #2003416, was opened at 2008-06-26 19:19
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=2003416&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: modules
Group: None
Status: Open
Resolution: None
Priority: 4
Private: No
Submitted By: Juha Heinanen (juhe)
Assigned to: Nobody/Anonymous (nobody)
Summary: dialplan integer valued attributes

Initial Comment:
it should be possible to give to a dialplan rule an integer valued attribute.  this could be indicated, for example, as #integer in attrs column.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2008-06-29 16:30

Message:
Logged In: NO 

it makes no sense to do string -> int transformation at dp_translate time
when it can be done at dp_reload time.

-- juha

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

Comment By: Daniel-Constantin Mierla (miconda)
Date: 2008-06-27 07:26

Message:
Logged In: YES 
user_id=1246013
Originator: NO

Sorry, pressed by mistake submit button before finishing. All again...

Would it help more being embedded in the code, or using transformations
if
good enough?

if($(var(attrs){s.substr,0,1})=="#")
    $var(attrs) = $(var(attrs){s.substr,1,0}{s.int});

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

Comment By: Daniel-Constantin Mierla (miconda)
Date: 2008-06-27 07:24

Message:
Logged In: YES 
user_id=1246013
Originator: NO

Would it help more being embedded in the code, or using transformations if
good enough?

if($(var(attrs){s.substr,0,1})=="#")


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

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



More information about the Devel mailing list