Hi,
When the server starts I get these two messages :
1. INFO: no fifo_db_url given - fifo DB commands disabled!
2. WARNING: fix_socket_list: could not rev. resolve 64.18.11.4
other postings on the mailing say don't worry about the 1st one. cool.
What's with the second one? mysql db is local to server.
the server does authenticate and store locations I just wnat to know what
the messages mean/imply especialy the db one
thanks
Hello, I'm new to openser and am trying to get things set up with OSP
on freebsd (5.4, but I'm open to using another version).
I have one question and one suggestion:
Suggestion: the docs at http://openser.org/docs.php should point at
the manuals present at iptel.org (Admin guide and Developer's guide).
Without that info, there is an enormous gap in what one has to know.
In particular, 'man openser' says:
Full documentation on openser is available at http://www.openser.org/.
but, AFAICT, it's not "Full" without the critical foundation
provided by these documents:
http://www.iptel.org/ser/doc/seruser/seruser.pdfhttp://www.iptel.org/ser/doc/serdev/serdev.pdf
Question:
The INSTALL for openser-1.0.1 says:
>> 8) default values (database url, users and passwords) are:
>> - DEFAULT_DB_URL="mysql://openser:openserrw@localhost/openser"
>> - r/w user: openser ; passwd: openserrw
>> - r/o user: openserro ; passwd: openserro
>> NOTE: for security reasons, do change the values of passwords
>> after installation
Once the passwords are changed in mysql (using mysql directly),
what is the best and complete way to let openser know about the new
passwords?
The passwords seem to appear in openserctl and openser_mysql.sh.
Are we really supposed to edit these scripts? Where else should
we "record" these passwords?
Thanks,
-mark
I've been using the $dd variable to apply some workarounds for NAT
hairpinning problems (by forcing mediaproxy), however i just realized that
1. When the received column in the Location database isn't populated
(ie the client is using stun and a lookup() is executed for that
username, the $dd variable is null even though the ruri contains a vaild
ip:port
This makes the $dd variable not ideal to be used to check the
destination IP address of locally registered clients
Is it supposed to work this way?
As an intern solution, i was able to execute "fix_nated_register()" for
ALL registrations (previously i was only executing it for nat clients)
tavis
I've also met some other problems in log file after the new CVS setup.
Does anyone have any ide why following problems occur ? (Specially the socket problems ?)
I'm following the documentation in ftp://ftp.iptel.org/pub/ser/presence/presence-handbook but I don't have example configuration to run for presence.
I need any help possible...
Thanks,
ilker
/root/ser/sbin/ser[17662]: t_uac: no socket found
/root/ser/sbin/ser[17662]: ERROR: notify.c:398: Can't send watcherinfo notification (-7)
/root/ser/sbin/ser[17662]: send_winfo_notify returned -7
/root/ser/sbin/ser[17658]: check_message(): Unsupported event package
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:860: Error while checking message
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:948: handle_subscription about to send_reply and return -2
/root/ser/sbin/ser[17658]: check_message(): Unsupported event package
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:860: Error while checking message
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:948: handle_subscription about to send_reply and return -2
/root/ser/sbin/ser[17658]: check_message(): Unsupported event package
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:860: Error while checking message
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:948: handle_subscription about to send_reply and return -2
/root/ser/sbin/ser[17658]: t_uac: no socket found
/root/ser/sbin/ser[17658]: ERROR: notify.c:398: Can't send watcherinfo notification (-7)
/root/ser/sbin/ser[17658]: send_winfo_notify returned -7
/root/ser/sbin/ser[17658]: subscription to watcherinfo
/root/ser/sbin/ser[17658]: OFFLINE AUTH: watcherinfo dumped
/root/ser/sbin/ser[17660]: check_message(): Unsupported event package
/root/ser/sbin/ser[17660]: ERROR: subscribe.c:860: Error while checking message
/root/ser/sbin/ser[17660]: ERROR: subscribe.c:948: handle_subscription about to send_reply and return -2
________________________________
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
Sent: Wednesday, April 26, 2006 9:16 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] db problems after update to latest CVS
Hi Everyone,
I decided to update to the latest CVS version after meeting some problems on presence events.
It starts up fine but I see the following errors in the log file:
/root/ser/sbin/ser[17332]: submit_query: Unknown column 'xcap_params' in 'field list'
/root/ser/sbin/ser[17332]: db_query: Error while submitting query
/root/ser/sbin/ser[17332]: db_load_rls: Error while querying presentity
I guess some tables in the mysql needs change. How can I drop all tables and create suitable tables fonr new SER ?
Thanks,
ilker
C "-//W3C//DTD HTML 4.0 Transitional//EN">
I've also met some other problems in log file after the new CVS setup.
Does anyone have any ide why following problems occur ? (Specially the socket problems ?)
I'm following the documentation in ftp://ftp.iptel.org/pub/ser/presence/presence-handbook but I don't have example configuration to run for presence.
I need any help possible...
Thanks,
ilker
/root/ser/sbin/ser[17662]: t_uac: no socket found
/root/ser/sbin/ser[17662]: ERROR: notify.c:398: Can't send watcherinfo notification (-7)
/root/ser/sbin/ser[17662]: send_winfo_notify returned -7
/root/ser/sbin/ser[17658]: check_message(): Unsupported event package
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:860: Error while checking message
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:948: handle_subscription about to send_reply and return -2
/root/ser/sbin/ser[17658]: check_message(): Unsupported event package
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:860: Error while checking message
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:948: handle_subscription about to send_reply and return -2
/root/ser/sbin/ser[17658]: check_message(): Unsupported event package
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:860: Error while checking message
/root/ser/sbin/ser[17658]: ERROR: subscribe.c:948: handle_subscription about to send_reply and return -2
/root/ser/sbin/ser[17658]: t_uac: no socket found
/root/ser/sbin/ser[17658]: ERROR: notify.c:398: Can't send watcherinfo notification (-7)
/root/ser/sbin/ser[17658]: send_winfo_notify returned -7
/root/ser/sbin/ser[17658]: subscription to watcherinfo
/root/ser/sbin/ser[17658]: OFFLINE AUTH: watcherinfo dumped
/root/ser/sbin/ser[17660]: check_message(): Unsupported event package
/root/ser/sbin/ser[17660]: ERROR: subscribe.c:860: Error while checking message
/root/ser/sbin/ser[17660]: ERROR: subscribe.c:948: handle_subscription about to send_reply and return -2
________________________________
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
Sent: Wednesday, April 26, 2006 9:16 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] db problems after update to latest CVS
Hi Everyone,
I decided to update to the latest CVS version after meeting some problems on presence events.
It starts up fine but I see the following errors in the log file:
/root/ser/sbin/ser[17332]: submit_query: Unknown column 'xcap_params' in 'field list'
/root/ser/sbin/ser[17332]: db_query: Error while submitting query
/root/ser/sbin/ser[17332]: db_load_rls: Error while querying presentity
I guess some tables in the mysql needs change. How can I drop all tables and create suitable tables fonr new SER ?
Thanks,
ilker
<http://387555.sigclick.mailinfo.com/sigclick/02090E07/04074E02/03084500/111…>
_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________
Hello list.
I'm wondering how the "Call Forward" works in OpenSer.
As the diversion module example shows, a INVITE message is catch in
the SIP Server, the the R-URI is changed for the forwarded number:
INVITE sip:bob@sip.org SIP/2.0
Via: SIP/2.0/UDP 1.2.3.4:5060
From: "mark" <sip:mark@sip.org>;tag=ldgheoihege
To: "Bob" <sip:bob@sip.org>
Call-ID: adgasdkgjhkjha(a)1.2.3.4
CSeq: 3 INVITE
Contact: <sip:mark@1.2.3.4>
Content-Length: 0
The INVITE message is diverted and the new destination is sip:alice@sip.org
:
INVITE sip:alice@sip.org SIP/2.0
Via: SIP/2.0/UDP 5.6.7.8:5060
Via: SIP/2.0/UDP 1.2.3.4:5060
From: "mark" <sip:mark@sip.org>;tag=ldgheoihege
To: "Bob" <sip:bob@sip.org>
Call-ID: adgasdkgjhkjha(a)1.2.3.4
CSeq: 3 INVITE
Diversion: <sip:bob@sip.org>;reason=user-busy
Contact: <sip:mark@1.2.3.4>
Content-Length: 0
How this new INVITE is reflected in the Start and Stop message for the
accounting ??. How the "divertor" is billed ?
Hope that someone can clarify this.
Regards,
Ricardo Martinez
Hi Bogdan
Thanks for the reply, and I'm sorry for first writing back now, but I've
just come home from my easter holiday ;-).
I've been looking over what you've written, and there's some parts I'm
not sure how to comprehend!
You tell me not to use the from uri as a string uuid, but as a key?
How would I do this?
I'm using the OpenSER 1.0.0, and are using this format now:
avp_db_load("$from","s:pai/$scheme0");
to load the username from the alias table into memory, via the scheme below:
modparam("avpops", "db_scheme",
"scheme0:uuid_col=contact;value_col=username;
value_type=string;table=aliases")
But still I'm not able to pull out the username from the aliases table.
Am I misunderstanding what you say?
Cause as I see it my usage of the avp_db_load, is exactly the same as yours!
And when you talk about populating the username and domain fields
instead of the uuid in DB!
What do you mean by that?
As I understand, all I need is to use the from part to index the aliases
table, in order to get the alias (username), which is connected to the
from address (contact). And then push it to the P-Asserted-Header field!
So I cant see where the need to populate any username and domain fields
in the DB!
Can you help me to understand this :-).
Thank you in advance.
Kind regards
Martin
Hi Martin,
do not use the from uri as a string uuid to perform loading, but use it
as key (username, domain):
avp_db_load("$from","s:pai/$scheme0"); in 1.0.x
or
avp_db_load("$fu","s:pai/$scheme0"); in 1.1.x
in DB you will have to populate the username and domain fields instead
of uuid.
regards,
bogdan
Martin Kjeldsen wrote:
> > Hi all
> >
> > I am in the need for a little assistance on how to best use some data
> > taken from a invite request, and then create an appropriate AVP.
> >
> > My idea was to take the from header field,
> >
> > avp_write("$from", "$fromuri");
> >
> > Then use it to extract the alias which belongs to this user, and
> > create the AVP,
> >
> > avp_db_load("$fromuri","s:pai/$scheme0");
> >
> > And then incorperate it into another AVP, in order to add a callerid,
> > via P-Asserted-Identity,
> >
> > avp_printf("i:10","<sip:$avp(s:pai)@sip.domain.com>");
> > remove_hf("P-Asserted-Identity"); #remove org. hdr
> > avp_pushto("$P-Asserted-Identity/request","i:10"); # set new hdr
> >
> > My question is, how do I best remove the port (eg. :5060) indication
> > at the end of the from header field?
> > Because the clients on a private IP range and my alias table does not
> > carry the port numbers (eg. 88888888(a)sip.domain.com ).
> >
> > So I need to manipulate the $fromuri, by removing the port indication,
> > before i do the avp_db_load!
> >
> > I was thinking of using the avp_subst function, but cant quite seem to
> > get it to work.
> >
> >
> > Can anyone help me with a smart way to solve this problem?
> >
> >
> > All help greatly appreciated.
> >
> >
> > Kind regards
> > Martin Kjeldsen
Hi,
the sequential requests like ACK (for 200 OK) and BYE are routed based
on route set (RR and contact). I strongly advice you to read how this
works from the SIP RFC. It will answer to all your questions.
regards,
bogdan
Poppenhouse Kent-P28924 wrote:
>Thank you for all you help. Hopefully this will be the last time I have
>to bother you.
>I was wondering about the handling of ACKs.
>
>If userA sends an ACK to the SER, it forwards to userB rewriting the URI
>domain with IP of userB. Good, however I need this scenario:
>
>userA sends ACK to Proxy, Proxy adds via sends to SER, SER adds via
>rewrites URI domain with IP of userB sends to new proxy, new proxy gets
>ACK adds via and sends to userB. SER is using
>t_relay_to_udp("proxyIP","5060") so all messages go through another
>proxy before reaching the enduser.
>
>This works for Invites, and Bye, but for the stateless ACKs the SER does
>not forward the ACK but instead says: sl_send_reply: I won't send a
>reply for ACK!!.
>
>Is there an easy way to make the SER rewrite the URI with the IP and
>forward it on?
>I tried using if (method=="ACK") forward(proxyIP,5060), which seems to
>work but the lookup("location") does not seem to rewrite the URI with
>the IP, keeps it as a domain name.
>
>Thanks again for all your help.
>
>
Can I don't bother about the NAT test and push everything thru
mediaproxy ?
I can't quite understand why are there different NAT_Test , and the
example configs uses almost all of them...
Regards,
Sam
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
Sent: Wednesday, April 12, 2006 5:04 PM
To: Sam Lee
Cc: users(a)openser.org
Subject: Re: [Users] Force RTP stream to go through mediaproxy
Hi,
maybe you do not perform the proper nat tests. see:
http://openser.org/docs/modules/1.0.x/mediaproxy.html#AEN113
regards,
bogdan
Sam Lee wrote:
> Hi all,
>
> I got the openser and mediaproxy up working and fine.
> The mediaproxy is able to work with certain NATED configurations, but
> not all.
> When i tried to check what is the problem , those NATED configurations
> that were not working was found not to have made use of the
> mediaproxy, which causes the problem.
>
> What i am trying to do now, but without much success, is to force all
> the RTP media to go through the mediaproxy. Is there any way i can
> force all the RTP media to go through the mediaproxy without all the
> client_nat_test stuff...?
>
> Any hints will be much appreciated !
>
> Regards,
> Sam
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>Users mailing list
>Users(a)openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
Hello.
Is someone using the parameter multi_leg_eabled in the accounting
module?
modparam("acc", "multi_leg_enabled", 1)
I'm trying to account a forwarded call, as the documents explain.
If "A" call to "B", but "B" has his phone forwarded to "C" , i need
to account the call A to B and then B to C
Can someone give me an example of this feature ?
How i must construct the pair : (A,B) and (B,C) ??
Thanks in advance
Best Regards
Ricardo Martinez