[Kamailio-Users] get sdp audio port in a script variable

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 16 21:07:06 CEST 2009


Hello,

On 04/15/2009 06:01 PM, antonroman wrote:
> Hi all,
>
> I need to get the INVITE sdp audio port in a script variable to be used in
> an external command.
> Is this possible without modifying the source code? I think it can't be done
> with the TEXTOP module, can be?
>   
yes, you can use re.subst transformation to get it:
http://www.kamailio.org/dokuwiki/doku.php/transformations:1.5.x#re.subst_expression

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com/





More information about the sr-users mailing list