I have a SER 0.9.7-pre3 system which is working fine except for call transfers. It turns out that when the NOTIFY is sent after the REFER method the proxy performs a queried for only A records not SRV. This results in an IP address being returned which is a non-SIP host. This is because the domain name is being used by different services some of which use A records for resolving the name and some, like SIP, are suppose to use SRV. How can I make this version of SER perform an SRV lookup instead of an A record lookup when initiating SIP messages?
Thanks, Steve
Hi!
I'm trying to get openser working properly - it starts up, I can even
regiter from softphone (linphone / twinkle)
but I cannot make calls.
OpenSer is running on 10.99.8.103:5060 (this is my machine, IP is bound to
eth0), when I try to call to e.g.:
sip:demovoice@10.99.8.48
I get some errors as in this log:
http://files.myopera.com/kriko/code/openser.tar.gz
Configuration is included too. Softphone clients are properly configured -
it is the proxy that is causing me problems.
Any kind of information is appreciated.
--
kriko
Hi all,
We are working here on a solution for a large scale VoIP system to cover
our entire state, using both openSER and Asterisk. The project is on an
initial stage, basically deciding architecture, so I would like to share our
thoughts here in the mailing list and hopefully get some feedback to get
starting on the right foot.
We have our own private network (internet only on a further first step, no
NAT), and we think about two possible scenarios:
1: The SIP accounts would register on the local Asterisk and those would
talk to a SER core to connect them all, something like "Asterisk: Oh! this
account is not mine so I'll send it to the core to take care for me" and the
SER core would try to reach the other endpoint or return some error code.
2: All SIP accounts would be registered on the SER core, using the local
asterisk servers as mediaservers and backup SIP proxies, where the SIP
accounts would be registering on them only when there is some problem on the
link with the SER core (and here they would have to have their own local
PSTN gateways)
This is the two basic ideas, so we would like to have any thoughts about the
"pros and cons" of them.
We have also planned many PSTN gateways that would be used for LCR (making
all PSTN calls = local) for the entire system, that should be considered on
a failure event.
Thanks,
Gabriel Ortiz
PS.: Any help/thoughts are very welcome, as we will share all the experience
and development on this project with the FOSS community. We are a government
IT company from Paraná, Brasil aligned with the Free Software movement, and
the aim is to document and package every aspect of this project.
I'm still troubleshooting this issue and this morning I added more outputs
in the source code of auth_mod.c. And I discovered:
1) when I set the configuration parameter "secret" of the module auth
(modparam("auth", "secret", "secretphrase) ) in openser.cfg everything works
fine !
2) when I remove the configuration parameter "secret", the auth_mod.c calls
the method generate_random_secret() as stated in the documentation. It
enters in the loop
for(i = 0; i < RAND_SECRET_LEN; i++) {
LM_INFO("(3a)\n");
sec_rand[i] = 32 + (int)(95.0 * rand() / (RAND_MAX + 1.0));
}
LM_INFO("(4)\n");
but never exit ! This is the reason why my server does not start and keeps
blocked there. I modified the code above to print more logs, I can see in
the logs the string (3a) once but I never (4): IMHO it is blocked somewhere
in the first random computation.
I'm running openser on Redhat Enterprise v4.
Is there anything else I should configure in my environment ? Or I found a
bug ?
Regards,
Pascal
On Tue, Apr 1, 2008 at 12:45 PM, Pascal Maugeri <pascal.maugeri1(a)gmail.com>
wrote:
> Hi
>
> I'm still unable to have a working server 1.3 that loads the module
> auth.so.
>
> It is weird because there is no error message in my log file also I set
> the debug level to maximum. But after starting the openser service, it says
> it is successful but there is no running process (pgrep openser does not
> show anything, when it does if I remove the load auth.so)!
>
> How can I get more debugging info about the loading and initialization of
> auth ?
>
> Can anybody share with me his or her configuration file ? I may miss
> something in mine:
> loadmodule "sl.so"
> [...]
> loadmodule "auth.so"
> (I believe it is sufficient).
>
> Is there any known issue using Redhat Enterprise 4 ?
>
> Regards,
> Pascal
>
>
>
Hi Victor,
if a UAC wants to have asymmetric signalling, just send from IP_A:PORT_A
and put in top most via IP_B:PORT_B - via is used for routing back the
reply.
regards,
Bogdan
Victor Cartes wrote:
> Thanks, Iñaki. But It is not what I really need.
>
> I need to send to an UAS a SIP Request, like OPTIONS, and tell it to
> send the reply to a different transport address (IP Addr + Port) than
> the source address of the request.
>
> This is, basically, in order to perform NAT discovering and typing
> from the server.
>
> Thanks in advance,
>
> Víctor
>
>
>
>
> 2008/4/7, Victor Cartes <ietf.sip(a)tivatechnologies.com
> <mailto:ietf.sip@tivatechnologies.com>>:
>
> Actually not. What I need the UAS exactly to do is to send the SIP
> reply to a different IP address than the source of the SIP Request
> that it is replying to. Just how it sends the replies to the UDP
> port specified in top most Via HF.
>
>
> 2008/4/7, Bogdan-Andrei Iancu <bogdan(a)voice-system.ro
> <mailto:bogdan@voice-system.ro>>:
>
> Hi Victor,
>
> Not sure I got your question correctly, but you mean like
> something like "received" via param used to route back the
> replies?
>
> Regards,
> Bogdan
>
> Victor Cartes wrote:
>
> Hello to all,
>
> About SIP/UDP: Is there any way to specify the IP address
> for SIP responses, in a similar fashion as port specified
> on top most Via HF?
>
> Thanks in advance,
>
> Víctor
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users(a)lists.openser.org <mailto:Users@lists.openser.org>
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>
Hi all,
i have a lotus sametime server (SIP) and a Jabber
server (XMPP). Is it possible messaging with each
other using xmpp Module ?
Thanks in advance.
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
Hmm....that is something strange - probably there is something mixed
with the postgres data types.....
Could you open a bug report for further investigation?
Regards,
Bogdan
Ola Karlsson wrote:
> It was TEXT and I changed it to BYTEA and that seemed to do the trick.
>
> /Ola
>
> On Mon, Apr 7, 2008 at 11:57 AM, Bogdan-Andrei Iancu
> <bogdan(a)voice-system.ro <mailto:bogdan@voice-system.ro>> wrote:
>
> So, you only changed the column type (for cpl_bin) from BLOB to
> BYTEA ?
>
> Regards,
> Bogdan
>
> Ola Karlsson wrote:
> > Bogdan..
> >
> > I changed the column type in the database to bytea for cgi-bin and
> > stuff started working , seems the decode only happened for BLOB type
> > not for text.
> >
> > When debugging I got a \ instead of 0x01 så figured something was
> > wrong getting stuff out of the database.
> >
> > /Ola
> >
> > On Mon, Apr 7, 2008 at 10:50 AM, Bogdan-Andrei Iancu
> > <bogdan(a)voice-system.ro <mailto:bogdan@voice-system.ro>
> <mailto:bogdan@voice-system.ro <mailto:bogdan@voice-system.ro>>>
> wrote:
> >
> > Hello Ola,
> >
> > That is strange as the len of the script is taken from the
> > postgres driver (via openser API) - the returned columns must be
> > BLOB type. Check the types of the cpl_* columns; otherwise I
> > suspect a postgres driver (in openser) issue.
> >
> > Best regards,
> > Bogdan
> >
> > Ola Karlsson wrote:
> >
> > Hi Users!
> >
> > Have a problem with CPL scripts and postgres.
> > I've tried to make the simplest possible script for
> debugging
> > which resulted in the following in the 'cpl_xml' column.
> >
> > '<cpl>\012 <incoming>\012 <reject status="reject"
> > reason="I reject anonymous calls"/>\012
> > </incoming>\012</cpl>\012\012'
> >
> > Loading it with openserctl that gets translated to this
> in the
> > cpl_bin field.
> >
> >
> '\001\001\000\000\000\006\002\001\000\000\000\006\026\000\002\000\000\000\002[\000\001\000\031I
> > reject anonymous calls\000\000'
> >
> > The reason I figure that postgres could have something to do
> > with this is that I've got this working before(before being
> > quite a while ago though. ) with MySQL.
> >
> > Turning on debugging gives this information.
> >
> > Mar 31 18:13:18 fuj /sbin/openser[601]: cpl-c B4script
> > Mar 31 18:13:18 fuj /sbin/openser[601]:
> > DBG:cpl-c:get_dest_user: trying to get user from new_uri
> > Mar 31 18:13:18 fuj /sbin/openser[601]:
> > DBG:cpl-c:get_dest_user: trying to get user from R_uri
> > Mar 31 18:13:18 fuj /sbin/openser[601]:
> > DBG:cpl-c:get_user_script: fetching script for user <olak>
> > Mar 31 18:13:18 fuj /sbin/openser[601]:
> > DBG:cpl-c:get_user_script: we got the script len=0
> > Mar 31 18:13:18 fuj /sbin/openser[601]: cpl-c After Script
> >
> > OpenSER says that the length of the script is 0 whatever
> > script I load?.
> > I changed that in the CPL-C module so we get the right
> length
> > of the compiled script but then it falls over on the sanity
> > check for NODE_CPL = 001 , and if you skip that check it
> > starts complaining about unknown nodes ( in my case 92 ) ...
> >
> > So my question is if anyone uses postgres and CPL, if so can
> > you give me some pointers?
> > Would be good to know if this happens to be a bug or an
> > untested area in that case I have no problem fixing the
> > problem just don't want to burn alot of time on something
> > already fixed or me doing something stupid with
> configuration.
> >
> > Regards
> > /Ola Karlsson
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users(a)lists.openser.org <mailto:Users@lists.openser.org>
> <mailto:Users@lists.openser.org <mailto:Users@lists.openser.org>>
> > http://lists.openser.org/cgi-bin/mailman/listinfo/users
> >
> >
> >
> >
>
>
> _______________________________________________
> Users mailing list
> Users(a)lists.openser.org <mailto:Users@lists.openser.org>
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
Hi,
I am trying to add user authentication through mySQL database to my SER
(0.9.7-pre1). When I tried to run SER with the modifed ser.cfg file, it gave
the error that it could not locate the 'mysql.so' module. Then I tried to
'make' the mysql module following the instructions given here:
http://www.iptel.org/faq/why_does_ser_fail_to_start_with_an_error_load_modu…
When I typed 'make modules=modules/mysql modules' at the SER source
directory, it gives me the error message saying that it could not locate
'mysql.h' and 'errmsg.h' (complete log given at the end of this email). I've
tried to locate these files on my computer but couldn't find them. Note that
mySQL is working fine on its own. I need your suggestions as to how I should
proceed.
Thanks in advance for any help.
Frq
-------- Original Message --------
Subject: Re: [OpenSER-Users] Bug with OpenSER 1.3 Presence module :
event handling.
Date: Wed, 09 Apr 2008 11:20:04 +0300
From: Anca Vamanu <anca(a)voice-system.ro>
To: Jeremy McNamara <jj(a)nufone.net>
CC: Iñaki Baz Castillo <ibc(a)aliax.net>, users(a)openser.org
References:
<b769badb0710240220pe56ebe2mf617230fdb667586(a)mail.gmail.com>
<200710241333.09880.ibc(a)aliax.net> <471F34B5.6040806(a)voice-system.ro>
<47FBB0CE.4000909(a)nufone.net>
Hi Jeremy,
Firstly, no, the message: '"Missing or unsupported event header field
value / ^Ievent= message-summary"' has nothing to do with presence. It
is about another feature - notifications about whether the user has
voice mail messages pending.
Now, since presence does not work for you with xlite, I am wandering if
you have clicked the option Show contact availability , or something
like this, when editing the buddy details. It is at the end of the form.
regards,
Anca Vamanu
Jeremy McNamara wrote:
> Anca Vamanu wrote:
>
>> Hello,
>>
>> A major change in the presence structure occurred in openser 1.3. You
>> now need to load two modules to have presence running: presence and
>> presence_xml.
>> Most probably you didn't load the presence_xml module and this is why
>> the error message appears.
>>
>>
>
> Currently I am at Interop HotStage in Belmont, CA trying to deploy a
> 'unified communication' situation to demonstrate for the Interop Vegas
> show here in a few weeks. I am in charge of the OpenSER/Asterisk
> components and presence is giving me a huge headache.
>
> Hopefully someone out there can show me what I am doing wrong.
>
> I am running Openser v1.3.1 from tarball on Ubuntu Gutsy, no xcap
> server (haven't figured out if we really need one or not for our demo...)
>
> I have loaded both presence and presence_xml. As documented in the
> reply (down below) if you notice there is a 'tab' character in the
> event= presence, I too experience this, however mine is with
> message-summary.
>
> I see the Subscribe/Publish messages coming into openser and they are
> getting routed to the appropriate config block and processed as I have
> seen documented, but every so often the "Missing or unsupported event
> header field value / ^Ievent= message-summary" error pops up.
>
> Between two X-Lite softclients using "presence agent' method, we never
> seem to get any presence notifications, I presume due to this error,
> but I am unsure.
>
> All dependencies on both presence.so and presence_xml.so seem to be
> met (verified with ldd)
>
> # ldd presence_xml.so
> linux-gate.so.1 => (0xffffe000)
> libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7e76000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d2c000)
> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d27000)
> libz.so.1 => /usr/lib/libz.so.1 (0xb7d12000)
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ced000)
> /lib/ld-linux.so.2 (0x80000000)
>
> (identical for presence.so)
>
>
> Here are the relevant portions of my config:
>
> loadmodule "presence.so"
> modparam("presence", "db_url", "mysql://XXX:XXX@localhost/openser")
> modparam("presence", "max_expires", 60)
> modparam("presence", "server_address", "sip:valid.ip.address:5060")
>
> loadmodule "presence_xml.so"
> modparam("presence_xml", "db_url","mysql://XXX:XXX@localhost/openser")
> modparam("presence_xml", "force_active", 1)
>
> ...
>
> if(is_method("PUBLISH|SUBSCRIBE")) {
> route(2);
> }
>
> ...
>
> route[2] {
> xlog("L_INFO", "Dealing with $rm F:$fu T:$tu\n");
> sl_send_reply("100","trying");
> if (!t_newtran()) {
> sl_reply_error();
> exit;
> };
>
> append_to_reply("Contact: <sip:valid.ip.address:5060>\r\n");
> if(is_method("PUBLISH")) {
> if($hdr(Sender)!= NULL) {
> handle_publish("$hdr(Sender)");
> } else {
> handle_publish("");
> }
> t_release();
> } else {
> if( is_method("SUBSCRIBE")) {
> handle_subscribe();
> t_release();
> }
> }
> exit;
> }
>
>
>
>
> If anyone wants to help me troubleshoot and make this work, I will
> make sure you get credit for assisting us here at Interop.
>
>
>
>
> Jeremy McNamara
>
>
>
>>> El Miércoles, 24 de Octubre de 2007, Antoine Fressancourt escribió:
>>>
>>> I've now installed SVN version and same erro occurs to me:
>>>
>>> Oct 24 13:32:37 [4653] ERROR:presence:handle_subscribe: Missing or
>>> unsupported event header field value
>>> Oct 24 13:32:37 [4653] ERROR:presence:handle_subscribe:
>>> event= presence
>>>
>>> The client is Twinkle and presence worked well in 1.2.X.
>>
>
>
>
>
>