Hi,
I try to obtain content of header dynamically, but with $hdr(...) i can't do
this because it accept only static parameters. For example I try to use:
$avp(s:body)=$mb;
$avp(s:HdName)="To";
avp_subst("$avp(s:corps)/$avp(s:HdContent)","/^$avp(s:HdName):(.*)\r\n(.*)/\1/");
With this manner, i can change header name ($avp(s:HdName) )dynamically from
data source (e.g database) and use his content in my script.
But until now i don't obtain what i want.
Regards,
Yazid
Hi, I'm handling with a Nortel CS2K softswitch that sends me incorrect SDP's
since it uses LF at the end of each line in SDP instead of CRLF (as it's
mandatory according to the SDP grammar). AFAIK some phones can fail when
receiving this incorrect SDP.
Unfortunatelly I can't try a workaround now but I'm thinkink about
using "textmodules" in this way:
if ($si == NORTEL_CS2K_IP)
replace_body("\n$", "\r\n");
By your experience, should it work? I assume that "Content-Length" is
automatically updated before the message leaves OpenSer. So just it, should
it work?
Thanks a lot.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
Hi Andel
Yes, it would be possible. But I'd like to hide the
code even the root user. Like Bogdan said, I want "way to run OpenSER
with script that it is not plain text or accessible for humans".
Your suggest works as well when the another users do not have the root password.
Anyway, thanks for your comment, Andel.
----- Mensagem original ----
De: Ladislav Andel <ladia6(a)centrum.cz>
Para: Bruno Machado <bsmufu(a)yahoo.com.br>
Cc: users(a)lists.openser.org
Enviadas: Segunda-feira, 26 de Maio de 2008 7:18:00
Assunto: Re: [OpenSER-Users] Hiding the config code
How about setting the user rights in your unix-based system ?
Lada
Bruno Machado wrote:
> Hi all
>
> I have been wondering if is possible to hide the Openser's config file
> or do anything else to avoid reading by another people. Possible?
>
> Tks
>
> Bruno
>
> ------------------------------------------------------------------------
> Abra sua conta no Yahoo! Mail
> <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.mail.yahoo.com/>,
> o único sem limite de espaço para armazenamento!
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users(a)lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/
Exactly, Bogdan. It would be a good feature for OpenSER considering security purposes.
Sometimes, you need to hide the script from some people, even from the same company. I think that it would be a good feature.
Thanks Bogdan
----- Mensagem original ----
De: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro>
Para: Ladislav Andel <ladia6(a)centrum.cz>
Cc: Bruno Machado <bsmufu(a)yahoo.com.br>; users(a)lists.openser.org
Enviadas: Segunda-feira, 26 de Maio de 2008 7:48:41
Assunto: Re: [OpenSER-Users] Hiding the config code
Well, that's a limited hiding - I understood the question as "if it a
way to run OpenSER with script that it is not plain text or accessible
for humans.
Regards,
Bogdan
Ladislav Andel wrote:
> How about setting the user rights in your unix-based system ?
> Lada
>
> Bruno Machado wrote:
>
>> Hi all
>>
>> I have been wondering if is possible to hide the Openser's config file
>> or do anything else to avoid reading by another people. Possible?
>>
>> Tks
>>
>> Bruno
>>
>> ------------------------------------------------------------------------
>> Abra sua conta no Yahoo! Mail
>> <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.mail.yahoo.com/>,
>> o único sem limite de espaço para armazenamento!
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users(a)lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/
Hello all,
I also found the reason reading precisely the documentation.
I use the line modparam("presence_xml", "xcap_table", "xcaps") in my configuration as Anca Vamanu said.
All is clear now.
Thank for your help.
Florent.
> Message du 26/05/08 12:20
> De : "Henning Westerholt" <henning.westerholt(a)1und1.de>
> A : "Anca Vamanu" <anca(a)voice-system.ro>
> Copie à : "Florent Le Saout" <le-saout.florent(a)laposte.net>, users(a)lists.openser.org
> Objet : Re: [OpenSER-Users] Possible problem with script presence-create.sql
>
> On Monday 26 May 2008, Anca Vamanu wrote:
> > Indeed the name of the script was wrong in the documentation and I have
> > fixed it.
> > The name of the xcap table was not misspelled as 'xcaps'.
> > /The module requires 1 table in OpenSER database: xcap. /
> > You probably refer to the line with the example of how to set the xcap
> > table name module parameter:
> > / 'modparam("presence_xml", "xcap_table", "xcaps")'. /
> > This should be used if you what the table to have a different name, and
> > of course, you should use the same when creating the database table.
>
> Thank you Anca for the clarification, and the fix.
>
> Henning
>
>
Hi everybody,
does anyone has got a tested documention on setting up freeRADIUS to
work together with openSER.
I'm currently having problems with the authentication via a MySQL DB. I
didn't get it how to tell freeRADIUS
to take the users credentials from the "subscribers" table. Could
anybody help me dealing eith this problem?
My environment:
openSER with radiusclient-ng, mysql and freeradius on a single machine,
all are up and running so far.
Without RADIUS it's prossible for a UAC to register...but with RADIUS
authentication via MySQL the UAC
just gets a "401 unauthorized".
Thanks in advance.
Patrick
Hi, if you get into:
https://sourceforge.net/projects/openser/
you won't read the word "OpenSER" but "Scalable SIP server".
Also, in the "location" line we read:
SF.net > Projects > Scalable SIP server > Summary
Scalable SIP server
I wonder: why not name it as OpenSER?
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
Hi all
I have been wondering if is possible to hide the Openser's config file or do anything else to avoid reading by another people. Possible?
Tks
Bruno
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/