[OpenSIPS-Users] Opensips dialplan repl_exp

Mike Claudi Pedersen mike.pedersen at ipnordic.dk
Fri Apr 4 10:33:26 CEST 2014


oh nvm i just saw that you can rewrite $rU.



2014-04-04 10:31 GMT+02:00 Mike Claudi Pedersen <mike.pedersen at ipnordic.dk>:

> are you sure that you can rewrite $rU... i do this by making another
> variable and then removing the unwanted by using {s.substr,x,y}
>
>
> 2014-04-04 10:24 GMT+02:00 Alcindo Schleder <alcindoschleder at gmail.com>:
>
>> I'm using opensips 1.10xeo dialplan module. The user send me the
>> following string: '9675#destinationNumber at serverip'.
>>
>> I want to remove only the # 9675 number and store in $rU.
>>
>> I've tried everything and can not succeed. I tried with subst_exp,
>> repl_exp and nothing.
>>
>> What could be wrong?
>>
>>
>>
>> Alcindo Schleder
>>
>> Gerente de Negócios - comercial at renovaretelecom.com.br
>>
>> (51) 3564-4156
>>
>> (51) 9790-9437
>>
>> Renovare Telecom <http://www.renovaretelecom.com.br/>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> Med venlig hilsen
> ipnordic A/S
>
> Mike Claudi Pedersen
> Tekniker
>
> Telefon: 79301033
> www.ipnordic.dk
>



-- 
Med venlig hilsen
ipnordic A/S

Mike Claudi Pedersen
Tekniker

Telefon: 79301033
www.ipnordic.dk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140404/6a097472/attachment.htm>


More information about the Users mailing list