Hi all,
I have OpenSER (1.2.2) acting as registrar server.
If the same user hase more than one AOR I'd like to do parallel forking
and send the INVITE to every contact I have for that user.
At the moment my configuration file looks like:
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
exit;
};
t_on_reply("1");
if (!t_relay()) {
sl_reply_error();
};
exit;
but it rely only to the AOR with the highest q value
It should be a common situation but I cannot find any doc about it.
Tnx in advance
Regards
Edoardo Serra
Hi!
I want to add rpid before sending the INVITE to the gateway, because the gateway requires it, but the problem is that clients don't send REGISTER and I don't use any authentication (like www_authorize). Probably because of that my 'subscriber' table is empty all the time.
Can I still use somehow append_rpid_hf() or I need to try to build it with append_hf() manually?
BR,
Alex.
I am trying to understand the relationship between the various module
parameters for the uac module.
Imagine I want to authenticate on a proxy user different credentials in
different situations. The credential module parameter allows specification
of the username, realm and password. I think (correct me if I'm wrong) that
I can have multiple of these specified for various realms:
modparam("uac","credential","user1:realm1:pw1")
modparam("uac","credential","user2:realm2:pw2")
According to the documentation, "This parameter is required if UAC
authentication is used." What then is the purpose of the auth_realm_avp,
auth_username_avp and auth_password_avp module parameters? Do they replace
the credential parameter or are they for something different?
Any help appreciated.
Regards
Cameron
How am I supposed to route these?
Essentially, I get an INVITE from an end-user. The uri is simply sip:XXX.XXX.XXX.XXX
What is currently happening is that the IP address represented by Xs above is the IP of my proxy. The proxy sees this URI and forwards the call back to itself. This is obviously wrong, but I am not sure how to correct it. The routing data I need is in the to_uri, but I am not sure how to place this into the uri field. rewriteuri does not work on variables, only strings. How can I accomplish this? Currently on version 0.9.6.
Thanks in advance,
Steve
_________________________________________________________________
Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
Greetings,
I have a problem passing AVPs to stored procedures (or in other SQL
contexts) that require an integer argument. It is not a show-stopper,
it just throws a warning:
0(6535) PG[get_columns]: Unhandled data type column
(my_stored_proc) OID (869), defaulting to STRING
This results from something like:
avp_db_query("SELECT my_stored_proc($avp(S:my_avp))");
Now, $avp(S:my_avp) is a numerical value, so it does end up working.
However, because AVPs are not natively "typed" as numerical or string
values in a way that is represented at the Postgres layer of the avpops
implementation, evidently, this situation arises.
Is there any way to fix this? I have tried using CAST() in the SQL
statement, but that did not appear to help.
Thanks,
--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : +1-678-954-0670
Direct : +1-678-954-0671
Hello, all,
I have one question, if in ser.cfg, loadmodule
"/home/linus/gao/usr/local/lib/ser/modules/mysql.so", does it means we must
go to mysql website and download and install it? and then create db with
name config in ser.cfg ?
I got some error when start ser.
0(13676) ERROR: load_module: could not open module
</home/linus/gao/usr/local/lib/ser/modules/mysql.so>: libmysqlclient.so.14:
cannot open shared object file: No such file or directory
0(13676) parse error (81,13-14): failed to load module
Thanks for any suggestion.
--
Best regard,
Angela
Hi Bogdan,
I don't want to change CPL's standard element specified by RFC, but only add
a new type of switch.
But Internal parser and Interpreter are included within CPL-C Module of
OpenSER, right?
So, I have to say to OpenSER how it parses and manages this new element.
Regards,
Daniel
Bogdan-Andrei Iancu wrote:
Hi Daniel,
CPL is specified by an IETF RFC, so changing it will break compatibility.
anyhow, it is not sufficient to change the DTD - you need to change the
internal parser (that converts the XML to a binary, easy to run format) and
also the interpretor itself (using the binary format).
regards,
bogdan
Daniel wrote:
Hi All,
I'd like to extend CPL functionality adding a new switch element.
How can manage it ?
I think I'd change the "cpl.dtd" file and "cpl-c" module, it's right?
Thanks,
Daniel
--
Daniel Grotti
________________________
e-mail : d.grotti(a)gmail.com <mailto:d.grotti@gmail.com> <d.grotti(a)gmail.com>
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
--
Daniel Grotti
________________________
e-mail : d.grotti(a)gmail.com
Hi Daniel,
Daniel Grotti wrote:
> Hi Bogdan,
> I don't want to change CPL's standard element specified by RFC, but
> only add a new type of switch.
OK
> But Internal parser and Interpreter are included within CPL-C Module
> of OpenSER, right?
yes, it is part of the cpl-c module.
> So, I have to say to OpenSER how it parses and manages this new element.
yes, you need to extend the parser and interpreter to recognize the new
elements.
regards,
bogdan
>
> Regards,
> Daniel
>
>
>
> Bogdan-Andrei Iancu wrote:
>> Hi Daniel,
>>
>> CPL is specified by an IETF RFC, so changing it will break
>> compatibility.
>>
>> anyhow, it is not sufficient to change the DTD - you need to change
>> the internal parser (that converts the XML to a binary, easy to run
>> format) and also the interpretor itself (using the binary format).
>>
>> regards,
>> bogdan
>>
>> Daniel wrote:
>>> Hi All,
>>> I'd like to extend CPL functionality adding a new switch element.
>>> How can manage it ?
>>> I think I'd change the "cpl.dtd" file and "cpl-c" module, it's right?
>>>
>>> Thanks,
>>> Daniel
>>>
>>> --
>>> Daniel Grotti
>>> ________________________
>>> e-mail : d.grotti(a)gmail.com <mailto:d.grotti@gmail.com>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
---------- Forwarded message ----------
From: Rogelio Serrano <rogelio.serrano(a)gmail.com>
Date: Oct 11, 2007 5:18 PM
Subject: Re: [Serusers] need help implementing sip callback
To: Atle Samuelsen <clona(a)cyberhouse.no>
On 10/11/07, Atle Samuelsen <clona(a)cyberhouse.no> wrote:
> * Rogelio Serrano <rogelio.serrano(a)gmail.com> [071011 07:51]:
> > any pointers?
>
> You could proberbly get some pointers if you would describe what you
> wanted properly. If you want a function like *393939# to make it call
> back the last caller tell us... I do not know..
>
> - ATle
>
i want to ring phone a. then when phone a picks up i would play
recording that phone a has n minutes for this call.
then i ring phone b and when he picks up connect to phone a.
so whats the best way to do this? when the two parties are pstn phones?
the most obvious method is to use an rtp proxy.
how is nat hairpin possible when i dont know which udp port both
parties are going to use?
> >
> > --
> > Lay low and nourish in obscurity
> > _______________________________________________
> > Serusers mailing list
> > Serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
--
Lay low and nourish in obscurity
--
Lay low and nourish in obscurity
---------- Forwarded message ----------
From: Angela Gao <angela.gwh(a)gmail.com>
Date: 2007-10-12 下午2:36
Subject: Error to start ser
To: serusers(a)lists.iptel.org
Hello, all,
I download ser-2.0.0-rc1_src.tar.gz source file and compile it in my own os,
and it is: Linux version 2.6.9-34.ELsmp (
bhcompile(a)hs20-bc1-7.build.redhat.com) (gcc version 3.4.5 20051201 (Red Hat
3.4.5-2)).
The compile cmd is : make group_include="standard mysql" install
I also get ser.buildsystem.latest.tar.gz and create my ser.cfg, no error
during the compile.
but error is thrown when run ser with cmd:
ser -f /home/linus/gao/usr/local/etc/ser.cfg, error will be throued as
below:
[linus@hp380mf2 sbin]$ ser -f /home/linus/gao/usr/local/etc/ser.cfg
ERROR: bad config file (1 errors)
ser.cfg is attached in this mail
why? Is there anyone can help me fix it? It would be very nice of you, thank
you.
--
Best regard,
Angela
--
Best regard,
Angela