Hi all,
I configured the presence module in OpenSER v1.2 and it looks like ok. But
when tested with EyeBeam 1.5 (buil 30037) it doesn't work. I used the
WireShark to see the SIP messages and observed that in NOTIFY messages there
aren't PIDF document, neither message body. Furthermore, OpenSER didn't
parse xml BODY from PRESENTITY table when try to build notify. The PIDF
document that EyeBeam creates and the error that OpenSER gave me when try to
parser this document are below. Can someone help me with this problem? Is it
a bug from OpenSER?
Regards,
Hildebrando
PIDF Document
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<pr:presence xmlns:pr="urn:ietf:params:xml:ns:pidf"
entity="sip:hildebrando@voip.maritaca"
xmlns:caps="urn:ietf:params:xml:ns:pidf:caps"
xmlns:cipid="urn:ietf:params:xml:ns:pidf:cipid"
xmlns:counterpath="www.counterpath.com/presence/ext"
xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model"
xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid">
<pr:tuple id="se43ac217">
<pr:status>
<pr:basic>open</pr:basic>
</pr:status>
<pr:note>Busy</pr:note>
<rpid:user-input last-input="2007-03-19T19:21:49Z">active</rpid:user-input>
<pr:timestamp>2007-03-19T19:21:49Z</pr:timestamp>
</pr:tuple>
<dm:person id="p0d4e4429">
<rpid:activities>
<rpid:busy/>
</rpid:activities>
<dm:note>Busy</dm:note>
</dm:person>
</pr:presence>
OpenSER Error
2(6498) Chegou um PUBLISH de (hildebrando) para
(sip:hildebrando@voip.maritaca)
2(6498) PRESENCE:update_presentity: querying presentity
2(6498) PRESENCE:get_subs_dialog:querying database table = active_watchers
2(6498) PRESENCE:get_p_notify_body: querying presentity
2(6498) PRESENCE:agregate_xmls: ERROR while parsing xml body message
2(6498) PRESENCE:notify:dialog informations:
2(6498)
[p_user]= hildebrando [p_domain]= voip.maritaca
[w_user]= gustavo [w_domain]= voip.maritaca
2(6498) [event]= presence
[staus]= active
[expires]= 3340
2(6498) [to_tag]= 10.6503.1174328485.15
[from_tag]= 80746145
Hi,
I just have a question about the new xmpp module.
I have set up an OpenSER box as a presence server using the presence module,
and everything is working fine, messaging and presence. Now I would like to
allow those users to communicate with users logged into a jabber server. My
first question is can presence information be exchanged between OpenSER and
the jabber server? If so, how is this achieved since the xmpp module only
has an xmpp_send_message() method.
Also, just to make sure I understand how the module works, would this be a
correct summary of the module's functionality for a SIP to Jabber message
with a response:
User A registers with OpenSER.
User B registers with jabber server (OpenFire)
User A sends a message to sip:User B*<jabber_domain>@<gateway_domain> with
from details :
sip:User A*<openser_domain>@<gateway_domain>
OpenSER forwards the request to the gateway
Gateway translates the message and sends it to the jabber server
Jabber server delivers message to User B
Jabber server sends response to gateway with to details: User
A*<openser_domain>@<gateway_domain>
Gateway forwards response to sip:User A@<openser_domain>
Is that more or less correct, or am I off the mark?
Finally, if that is the case, would User A need to be registered on the
jabber server already?
I've never worked with presence before, so I'm still trying to get to grips
with it. Any comments/insights are much appreciated.
Many thanks,
Sebastian
--
Sebastian Murray-Roberts (B.Sc Hons)
Server Developer
Yeigo Communications
http://www.yeigo.com
Tel: +27 21 409 7807
Fax: +27 21 409 7050
Mobile: +27 72 183 5998
CONFIDENTIALITY NOTICE: E-MAIL
This e-mail is confidential. If you receive it by mistake, please delete it
and notify the sender immediately. If you are not the intended recipient,
you may not use, disclose, distribute, copy or publish any information
contained herein.
Hello
Is there a way to know which commercial SIP servers are based on openser
or ser?
Or if a specific SIP server is based on openser or ser?
Thanks.
Regards,
Michel.
Why don't you use openserctl add ....to add new user?
-----邮件原件-----
发件人: alper ozbilen [mailto:alperbilen@hotmail.com]
发送时间: 2007年3月21日 16:45
收件人: users(a)openser.org
主题: [Users] ERROR 1062 (23000): Duplicate entry
Dear All,
I can not insert a new subscriber from mysql console.
When I look at subscireber table, ha1 & ha1b & and phplib_id fields looks
null. So, i can only insert one new subscriber. When i attempt to insert
second one, i get error written below:
ERROR 1062 (23000): Duplicate entry '' for key 3
Note : My insert sentence like that:
insert into subscriber (username, domain, password, email_address) values
("testuser","myfon.com","testpasswd","emailoftestuser(a)myfon.com");
I am confused about what i should to do to fix null statement of ha1 & ha2 &
and phplib_id fields.
on the other side, there is no probem to add new user through openserctl
What was the problem? I will wait your kind suggestion.
Regards,
Alper Ozbilen
_________________________________________________________________
Exercise your brain! Try Flexicon.
http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglinema…
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
The BuildPrereq lines in the RPM SPEC file for Fedora Core
(openser.spec.fedora) supplied with 1.2.0 references debian names for
the package (e.g. libxml2-dev -> libxml2-devel). Before I waste too
much time finding the equivalent RHEL and/or Fedora Core packages that
do the job, I thought I would ask her if anyone else has done so.
If not, I'll make sure to submit patches for the SPECs once I figure
them out. I am really looking to build on RHEL4 but clearly will need
to grab some RPMs from Fedora Core....
Please no religious rants about Debian vs. RHEL vs. Fedora vs. SuSE and
so on:-)
/a
Hi,
Could we please change the color of minfo from yellow to, say, orange in
openserctl? It's impossible to read on a console with white background.
Cheers,
Andreas
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation.
Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
Hi,
In openser 1.1, when I use db_mode=0 (no caching) for domain module, I
get this error:
/usr/local/openser-1.1# ./sbin/openserctl domain show
500 command 'domain_dump' not available
In openser 1.2, the first time I execute the command, I get nothing, the
second time openserctl just hangs until I terminate it with ctrl-c:
/usr/local/openser-1.2# ./sbin/openserctl domain show
/usr/local/openser-1.2# ./sbin/openserctl domain show
./sbin/openserctl: line 83: /tmp/openser_fifo: Interrupted system call
Terminated
Same thing for "domain reload" btw.
Cheers,
Andreas
This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your cooperation.
Information pursuant to paragraph 14 Austrian Companies Code: UPC Austria GmbH; Registered Office: Wolfganggasse 58-60, 1120 Vienna Company Register Number: FN 189858d at the Commercial Court of Vienna
When using db_mode=1,2 or 3 I get the following error when starting
OpenSER 1.2 using dbtext as the usrloc DB.
1(23052) preload_udomain(): Error while doing db_query
1(23052) ERROR:ul:child_init(1): Error while preloading domain 'location'
1(23052) ERROR:init_mod_child: Error while initializing module usrloc, rank 1
I am wondering if their may be a problem with the columns in the
location table file.
I tried two different methods of creating the initial table files...
1.) sc.dbtext dbtext /usr/local/etc/openser/dbtext/
2.) textdb.sh create /usr/local/etc/openser/dbtext/
The first method has problems with the version file that I tried to
repair by trying to mimic the mysql table structure.
The second method seems to work ok with the exception of the error I
mentioned above when starting OpenSER.
Any help would be greatly appreciated!
Thanks,
Daryl
Thank you, Brad.
I missed MySQL RENAME DATABASE command. It is because the option appears
in MySQL starting from version 5.1 only and I have version 5.0.
It seems that for older MySQL the following sequence will work:
openser_mysqldb.sh migrate openser openser12
mysqldump -u root -pxxxxx -c -t --ignore-table=openser12.version
openser12 > /tmp/openser12.bak
openser_mysqldb.sh reinit
echo "delete from subscriber;" | mysql -u openser -pxxxxx openser
echo "delete from admin_priveleges;" | mysql -u openser -pxxxxx openser
mysql -u openser -pxxxxx openser < /tmp/openser12.bak
Leonid
-----Original Message-----
From: Watkins, Bradley [mailto:Bradley.Watkins@compuware.com]
Sent: Tuesday, March 20, 2007 7:23 PM
To: Leonid Fainshtein; users(a)openser.org
Subject: RE: [Users] DB migration
In MySQL at least: rename database <old name> <new name>
Once you've confirmed that the migration was successful, you can run a
backup of the old datbase, drop it, and then rename the new one.
- Brad
> -----Original Message-----
> From: users-bounces(a)openser.org
> [mailto:users-bounces@openser.org] On Behalf Of Leonid Fainshtein
> Sent: Tuesday, March 20, 2007 12:43 PM
> To: users(a)openser.org
> Subject: [Users] DB migration
>
> Hi,
> I didn't understand the proposed process of MySQL DB migration from
> ver.1.1 to 1.2
> For example, the result of "openser_mysqldb.sh migrate
> openser openser12" will be a new database openser12.
> But how can I copy/rename openser12 to openser? Does it mean
> that from now, all of my auxiliary software must work with openser12?
>
> Thank you,
> Leonid Fainshtein
>
>
> ********************************************
> This outgoing mail message was scanned by McAfee GroupShield Engine
>
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
The contents of this e-mail are intended for the named addressee only.
It contains information that may be confidential. Unless you are the
named addressee or an authorized designee, you may not copy or use it,
or disclose it to anyone else. If you received it in error please notify
us immediately and then destroy it.
********************************************
This outgoing mail message was scanned by McAfee GroupShield Engine
I just to tested the issue discussed in
http://openser.org/pipermail/users/2007-March/009777.html
(OpenSer removes the did parameter from re-INVITE) with version 1.2.0.
Unfortunatelly the problem still exists...
Leonid
********************************************
This outgoing mail message was scanned by McAfee GroupShield Engine