I tried example of rfc 4825. Creating resource-lists is ok, but not rls-services, 404 not found response is received. And, there is not any new log appearing in the syslog, I can't debug where I am wrong.
HTTP URI is: http://xcap-root/rls-services/users/sip:alice@open-ims.test/index
XML is:
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<rls-services xmlns=\"urn:ietf:params:xml:ns:rls-services\">
<service uri=\"sip:myfriends@open-ims.test\">
<resource-list>http://xcap-root/resource-lists/users/sip:alice@open-ims.test/index/~~/reso…</resource-list>
<packages>
<package>presence</package>
</packages>
</service>
</rls-services>
Regards,
Kevin
_________________________________________________________________
手机也能上 MSN 聊天了,快来试试吧!
http://mobile.msn.com.cn/
Dear all
This week, I tried again to bring up finally the OpenXCAP server. I
tried it first acc. the instruction on OpenXCAP.org on my local virtual
VMWare Server 1.0 (before, I always used virtualized ESX server). It
worked without major issues, meaning I could install lenny, all required
files even via apt-get and the OpenXCAP was running. Surprising for me
though, because it never worked yet.
Now, when I take _the same_ virtual disk and export it to VMWare ESX
server, I get the previously discussed errors:
Sep 25 17:01:21 openxcap openxcap[11876]: [-] Log opened.
Sep 25 17:01:21 openxcap openxcap[11876]: [-] Starting Open XCAP 0.9.3
Sep 25 17:01:27 openxcap openxcap[11876]: [-] Traceback (most recent
call last):
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File
"/usr/bin/openxcap", line 56, in ?
Sep 25 17:01:27 openxcap openxcap[11876]: [-] from xcap.server
import XCAPServer
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File
"/usr/lib/python2.4/site-packages/xcap/server.py", line 21, in ?
Sep 25 17:01:27 openxcap openxcap[11876]: [-] from xcap import
authentication
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File
"/usr/lib/python2.4/site-packages/xcap/authentication.py", line 21, in ?
Sep 25 17:01:27 openxcap openxcap[11876]: [-] from xcap.appusage
import getApplicationForURI
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File
"/usr/lib/python2.4/site-packages/xcap/appusage/__init__.py", line 466,
in ?
Sep 25 17:01:27 openxcap openxcap[11876]: [-] applications =
{'xcap-caps': XCAPCapabilitiesApplication(),
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File
"/usr/lib/python2.4/site-packages/xcap/appusage/__init__.py", line 64,
in __init__
Sep 25 17:01:27 openxcap openxcap[11876]: [-] self.xml_schema =
etree.XMLSchema(xml_schema_doc)
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File "xmlschema.pxi",
line 67, in etree.XMLSchema.__init__
Sep 25 17:01:27 openxcap openxcap[11876]: [-] etree.XMLSchemaParseError:
Document is not valid XML Schema
How can this be possible? I tried three times with three different
machines. They work in VMware Server but not in ESX server. I don't find
any answer at all neither can I imagine anyhow, how an application error
like this occurs running the program on the very same, identical
virtualized system with just two different virtualization platforms
around.
Anybody else has experiences in that, encountered somehow same strange
behaviour with the application or has any other advice? I would really
welcome every hint in somehow a direction to solve this. I didn't plan
to extend my virtual OpenSER testing platform with a local PC, but it
seems I have no other possibility so far...
Thanks for your help! A nice weekend to all of you.
Best regards
Sebastian
Is the list working?
Haven't seen much traffic on list today.
First post was ok.
Second went to list and archive, but I never received it via email.
Third has gone nowhere!
This is my 4th...
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Hi,all
I met a strange problem while I am testing TLS connection between minisip
and openser.
The following is my openser.cfg (part of that)
.........
fork=no
log_stderror=yes
# Uncomment this to prevent the blacklisting of temporary not available
destinations
#disable_dns_blacklist=yes
# # Uncomment this to prevent the IPv6 lookup after v4 dns lookup failures
#dns_try_ipv6=no
# uncomment the following lines for TLS support
disable_tls = 0
listen = tls:10.11.57.197:5060
tls_verify_client = 1
tls_method = TLSv1
tls_certificate = "/usr/local/etc/openser//tls/user/user-cert.pem"
tls_private_key = "/usr/local/etc/openser//tls/user/user-privkey.pem"
tls_ca_list = "/usr/local/etc/openser//tls/user/user-calist.pem"
tls_ciphers_list="NULL-SHA:NULL-MD5:AES256-SHA:AES128-SHA"
......
When I set "tls:10.11.57.197:5061" the registration never succeed. But if I
set it to 5060 the registration over TLS is OK.
I compared the log of two scenarioes and found the TLS session both are
OK,but the difference is that:
when the port is 5061 there is an error of forwarding. but the forwarding is
because openser think it's not the destination of
the registration request. See bellow:
Jan 10 16:46:56 [9199] DBG:rr:after_loose: No next URI found
Jan 10 16:46:56 [9199] DBG:core:grep_sock_info: checking if host==us: 12==12
&& [10.11.57.197] == [10.11.57.197]
Jan 10 16:46:56 [9199] DBG:core:grep_sock_info: checking if port 5061
matches port 5060
Jan 10 16:46:56 [9199] DBG:core:check_self: host != me
Jan 10 16:46:56 [9199] DBG:core:parse_headers: flags=ffffffffffffffff
Jan 10 16:46:56 [9199] DBG:tm:t_newtran: T on entrance=0xffffffff
Jan 10 16:46:56 [9199] DBG:core:parse_headers: flags=ffffffffffffffff
Jan 10 16:46:56 [9199] DBG:core:parse_headers: flags=78
Jan 10 16:46:56 [9199] DBG:tm:t_lookup_request: start searching: hash=58073,
isACK=0
Jan 10 16:46:56 [9199] DBG:tm:matching_3261: RFC3261 transaction matching
failed
Jan 10 16:46:56 [9199] DBG:tm:t_lookup_request: no transaction found
Jan 10 16:46:56 [9199] DBG:core:mk_proxy: doing DNS lookup...
Jan 10 16:46:56 [9199] ERROR:tm:update_uac_dst: failed to fwd to af 2, proto
1 (no corresponding listening socket)
Jan 10 16:46:56 [9199] ERROR:tm:t_forward_nonack: failure to add branches
With comparition to that when the port is set to 5060 the trace is :
Jan 10 17:07:59 [9410] DBG:rr:find_next_route: No next Route HF found
Jan 10 17:07:59 [9410] DBG:rr:after_loose: No next URI found
Jan 10 17:07:59 [9410] DBG:core:grep_sock_info: checking if host==us: 12==12
&& [10.11.57.197] == [10.11.57.197]
Jan 10 17:07:59 [9410] DBG:core:grep_sock_info: checking if port 5060
matches port 5060
Jan 10 17:07:59 [9410] DBG:core:grep_sock_info: checking if host==us: 12==12
&& [10.11.57.197] == [10.11.57.197]
Jan 10 17:07:59 [9410] DBG:core:grep_sock_info: checking if port 5060
matches port 5060
Jan 10 17:07:59 [9410] DBG:core:parse_headers: flags=ffffffffffffffff
Jan 10 17:07:59 [9410] DBG:core:parse_headers: flags=8000000
Jan 10 17:07:59 [9410] DBG:core:parse_headers: flags=ffffffffffffffff
Jan 10 17:07:59 [9410] DBG:registrar:build_contact: created Contact HF:
Contact: <sip:888@10.11.57.192:5061;transport=TLS>;expires=1000
And there is no fwd needed then.So the error didnt occur.
Its a little bit strange that when I set the port to 5061,why did openser
check the port 5060?????
Can anyone help me to figure it out?
THX
BR
--
Fengbin
Hello,
I wanted someones honest opinion. I have ran across and read a little on
SER and OpenSER have not yet had much time. But would you recommend
OpenSER for a service provider who is wanting or thinking about
deploying VoIP service for its customers? What other products would you
recommend to work along with OpenSER such as billing and accounting
interfacing. We have used Asterisk for our internal PBX for about two
years and love it.
Or would you recommend staying with a commercial product like Cisco or
Sonus? We prefer open source since our base will be small to start and
not large enough to justify a Sonus which is the preferred commercial
product.
Any advice is definitely appreciated.
Otis.
I need a way in OpenSER to store some simple configuration data.
For example, if a parameter is set, I might perform database updates with avp_db_query().
I looked at the dbtext, db_berkeley and flatstore modules and realise that they cannot be used for storing generic information. They are designed to be used as a db store for userloc info etc.
So, simple question, how can I store global persistent (on disk is ok) information and retrieve it with OpenSER?
Thanks,
Doug.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
I want to provide for forwarding of calls to voicemail in various
circumstances, one of which is when the user is not registered with the
registrar. I've looked at various example configuration files that include
forwarding (e.g. http://www.sipwise.com/wizard, onsip.org) and have not seen
an implementation of this. Could anyone provide any tips regarding this or
is it as simple as:
route[3] {
# -----------------------------------------------------------------
# INVITE Message Handler
# -----------------------------------------------------------------
<snip>
if (!lookup("location")) {
if (avp_db_load("$ruri/username", "$avp(i:20116)")) {
avp_pushto("$ruri", "$avp(i:20116)");
t_relay;
return;
} else {
sl_send_reply("404", "User Not Found");
return;
};
<snip>
Am I missing something obvious or is this really quite simple?
Regards
Cameron
Hi there,
What about openser 1.3 and serweb 0.9.6 ? Do they work fine together ?
any experiences ?
Regards,
daniel
--
Daniel Grotti
________________________
e-mail : d.grotti(a)gmail.com
Hi,
I encountered the following error:
Jun 15 08:57:21 rd ser[12680]: ERROR: slow timer too slow: overflow (7997 - 6974 = 1023)
Jun 15 08:57:24 rd last message repeated 46 times
Could you please point me what could be the reason?
Thanks in advance.
Tomasz