Hi Bogdan,<br>
<br>
It is hard to implement with multiple codecs?, eg. if I store it like this:<br>
$avp(s:codlist)="PCMA|G723|tel";<br>
<br>
So not with just one codec.<br>
<br>
Thanks,<br>
<br>
Dimitri<br>
<br><br><div class="gmail_quote">2010/7/14 Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
thanks!<br>
<div><div></div><div class="h5"><br>
Jozsef CZOMPO wrote:<br>
> Hi bogdan<br>
><br>
> Thanks for the reply. I'm opened a feature request ticket: #3029568<br>
><br>
> Czo<br>
><br>
> On 2010.07.14., at 17:33, Bogdan-Andrei Iancu wrote:<br>
><br>
><br>
>> Hi Jozsef,<br>
>><br>
>> open a feature request on the project tracker for this small add-on<br>
>> - it<br>
>> sounds useful and it is not difficult to add.<br>
>><br>
>> Regards,<br>
>> bogdan<br>
>><br>
>> Jozsef CZOMPO wrote:<br>
>><br>
>>> Hi<br>
>>><br>
>>> I need to specify in database table the codec order per sip clients.<br>
>>> So i'm created a table with some fields. But if use<br>
>>> codec_exists('PCMU') it return true, when i'm using<br>
>>> codec_exists($avp(s:codec)) i'm getting syntax error, and if i'm<br>
>>> using<br>
>>> codec_exists('$avp(s:codec)') i'm getting false. When i'm use xlog<br>
>>> ( "L_ERR", "$avp(s:codec)"); the result is PCMU, so the avp_db_query<br>
>>> is working fine.<br>
>>><br>
>>> So, how can i use this?<br>
>>><br>
>>> Thank<br>
>>> Czo<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Users mailing list<br>
>>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>>><br>
>>><br>
>>><br>
>> --<br>
>> Bogdan-Andrei Iancu<br>
>> OpenSIPS Bootcamp<br>
>> 20 - 24 September 2010, Frankfurt, Germany<br>
>> <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Bootcamp<br>
20 - 24 September 2010, Frankfurt, Germany<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>