[OpenSIPS-Users] URI PARSING

Premalatha Kuppan premalatha at ngintech.com
Tue Jul 6 15:31:05 CEST 2010


Thanks. I have tried $rU, but is executing as null,

executing [./etc/opensips/test.sh <null>]

Is exec_msg is teh correct command to use to execute shell script ?

On Tue, Jul 6, 2010 at 6:41 PM, Brett Nemeroff <brett at nemeroff.com> wrote:

> On Tue, Jul 6, 2010 at 5:43 AM, Premalatha Kuppan <premalatha at ngintech.com
> > wrote:
>
>> I have followed this link and used
>>
>> exec_msg("./test.sh '$$SIP_OUSER'");
>>
>>
> I think that is a bash variable, not a opensips pseudovar.
>
> Try examining the value of SIP_OUSER from within the shell script.
>
> The correct pseudovar for the user part of the RURI is $rU.
>
> -Brett
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100706/88721b05/attachment.htm 


More information about the Users mailing list