Hi!
I'm running ser-0.9.6, on FreeBSD 6.1-stable, database backend
is postgresql version 8.1.3.
Today I got errors in logfiles, saying:
messages.2.bz2:May 29 14:35:03 <XXX> /usr/local/sbin/ser[51448]:
ERROR:avpops:dbrow2avp: dbrow contains NULL fields
The similar problem reported in:
http://lists.iptel.org/pipermail/serusers/2005-May/019681.html
with much more detailed description of error, database contents
and config samples.
Patch is trivial, and looks more like a fix to copy'n'paste error:
in mysql/val.c function str2val states:
if (!_s) {
memset(_v, 0, sizeof(db_val_t));
VAL_TYPE(_v) = _t;
VAL_NULL(_v) = 1;
return 0;
}
VAL_NULL(_v) = 0;
and the last line mentions that 'well, that's value is not NULL'.
In postgresql/db_val.c, line 182, function str2valp, the same statement is the:
if (!_s) {
DLOG("str2valp", "got a null value");
VAL_TYPE(_v) = _t;
VAL_NULL(_v) = 1;
return 0;
}
without explicit notification that this is not-NULL value.
More than, nowhere else in this function VAL_NULL(_v) not set to 0.
So, if a value _v.val contained anyting but 0 at the function start,
resulting value will be threated as NULL despite the fact, that _s is NOT NULL.
Patch is obvious, just add VAL_NULL(_v)=0; after cited block (line 188) and
everyting will be ok.
At least for me it's ok for some hours :)
Hi ,
I tried to call from one nokia sip (E61 and other models )phone to another nokia sip phone. The call works fine. The problem comes only when I call from Phone A to Phone B and then immediately cancel the call(from Phone A). The Phone A will hangup the call as it sent CANCEL but the SER will ignore this CANCEL and still send INVITE to Phone B resulting in a ghost call situation.
I tried to capture a log of message and found that Phone A "CANCEL" message is received on SER even before any provisional response from Phone B. Therefor SER doesnot relay this CANCEL request to Phone B. I even checked RFC which clearly says that UAC should not send CANCEL untill it receives any provisional response. I talked to Nokia expert and they said the 100 Trying message from your server is considered as provisional response, therefor behaviour of client is absolutely correct.
Is there any way I can stop 100 Trying message and still run statefull SER, so that I can verify what nokia said. Any ideas suggestions are welcome.
Thanking you all in advance.
Best Regards,
Abdul Qadir
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
> Hi all,
>
> Is there an easy way to disable RTPProxy for certain calls eg. based
> on called number?
> Am using the ser.cfg from
> http://www.iptel.org/ser/howtos/optimizing_the_use_of_rtp_proxy.
>
> For whatever reason all calls are passing the RTPProxy.
> - I would like to disable the RTPProxy for calls where I know the
> destination is able to handle NAT.
> - For calls where I know both UAT are behind the same NAT.
> As soon as I update the realm of those clients with whatever
> value beside the ser IP adress, those useres cannot login anymore.
>
> Is this sufficient information - do you need the ser.cfg?
>
> Thanks
> Patrick
>
>
>
*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security(a)colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
Hi friends,
I was trying to install Openser and Mediaproxy. but when i am starting media proxy using
/etc/init.d/mediaproxy star
I am getting some error in syslog.
Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: warning: accounting is enabled but the accounting module is missing. accounting is not available!
Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Listening for commands on local socket `/var/run/mediaproxy.sock'
Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Listening for remote commands on `212.XXXXXXXXXXXXXx:25060'
Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Remote commands are allowed from: 212.XXXXXXXXXXXXXXXXXX, 127.0.0.1
Jan 22 12:18:27 hatifserver4 mediaproxy[14707]: Using IP address `XXXXXXXXXXXXX' for the RTP/RTCP proxy
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: Traceback (most recent call last):
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: File "/usr/local/mediaproxy/proxydispatcher.py", line 65, in <module>
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: import dispatcher
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: File "/usr/local/mediaproxy/modules/dispatcher.py", line 39, in <module>
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: from accounting import accounting, StopRecordSerializer, UnserializeError
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: File "/usr/local/mediaproxy/modules/accounting.py", line 17, in <module>
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: from radius import *
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: File "/usr/local/mediaproxy/modules/radius.py", line 10, in <module>
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]:
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: import pyrad.client
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: ImportError
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: :
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: No module named pyrad.client
Jan 22 12:18:27 hatifserver4 proxydispatcher[14710]: exiting.
this is our Mediaproxy.ini file i am not using any kind of accounting or radius in INI file
but i don't kow why it is shwoing accounting is enable
[Dispatcher]
start = yes
socket = /var/run/proxydispatcher.sock
group = openser
defaultProxy = /var/run/mediaproxy.sock
[MediaProxy]
start = yes
socket = /var/run/mediaproxy.sock
group = openser
listen = XXXXXXXXXXXXXx
allow = XXXXXXXXXXXXXXXXXXXXXXXXxx
proxyIP = XXXXXXXXXXXXXXXXXXXXXX
portRange = 20000:65000
TOS = 0xb8
idleTimeout = 60
holdTimeout = 3600
forceClose = 0
accounting = none
[Accounting]
accounting = none
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Which version do you use?
Does it work at all with current version of openser (1.3)?
PS: this is to find out if serweb supported can be removed from openser
regards
klaus
My testbed is combination of openser and openxcap. openser.cfg file is similar with the example on
the website of OpenXCAP. After updating published information by sending PUBLISH, no NOTIFY
message is sent to client-side. I got the following errors(debug=3) in syslog file. Any ideas anyone?
---------------------------------------------------------------------------------------
ERROR:presence_xml:get_final_notify_body: while extracting the transformation node
ERROR:presence_xml:pres_apply_auth: in function get_final_notify_body
ERROR:presence:send_notify_request: in function apply_auth_nbody
ERROR:presence:notify: sending Notify not successful
ERROR:presence:publ_notify: Could not send notify for presence
---------------------------------------------------------------------------------------
Regards,
Kevin
_________________________________________________________________
手机也能上 MSN 聊天了,快来试试吧!
http://mobile.msn.com.cn/
Greger, et. al.,
I like your idea enough to volunteer as a tester + documentation writer.
I do a lot of tech and user writing. Active in VoIP since the beginning.
I am active VoIP engineer and developer. Also PSTN & VoIP network
designer-builder.
I have my own private machines, network, and VoIP gateway resources.
Prefer CentOS or FC*
..mike..
>Hi guys,
>I have been playing with the following idea:
>Create a ready-to-run OS image with everything that is needed for
>iptel.org apps pre-installed + a complete installation of:
>* SER 2.0 (release)
>* rtpproxy
>* SEMS
>* SERweb
>* maybe sipsak, some monitoring tools, etc
>
>
>The idea is to create a small script 'config_iptelorg' for
>configuring the installation to your needs. You should then be able
>to download the ready image, boot it, go through the script and have
>an up and running iptel.org proxy and app server just like the
>iptel.org free SIP service in maybe 10-15 minutes. This way you
>could host a SIP service for your own domain with close to no setup at all.
>
>Some questions to you:
>* Is there any interest for this at all?
>* I was thinking about using Ubuntu 7.10 server as the OS. Any
>thoughts/preferences?
>* Should the image be an Amazon EC3 image (you could use
>http://www.rightscale.com and get it running in no time with 10
>run-hours free) or should it be a VMware appliance to be run with
>free VMware Player?
>* Other suggestions/comments?
>
>I could need some help with this, anyone interested in lending me a
>hand? (could be anything, documentation, testing, installation, etc)
>g-)
My testplatform is openser+openxcap. Only using action/sub-handling as permission rules passed the test.
But neither sphere and validity rules works. The file "xcap_auth.c" in presence_xml directory can't give me
any clue about sphere and validity.
Does openser(presence_xml) support sphere and validity as presence auth rules when fetching xcap doc
from OpenXCAP server?
Thank you!
Kevin,
_________________________________________________________________
MSN 中文网,最新时尚生活资讯,白领聚集门户。
http://cn.msn.com
Hi!
Since my last question on this list I have set up the OpenXCAP and put
the necessery documents in the database. I however still have the same
problem.
On subscribe requests the server responds 481 Subscription does not
exist and logs:
Jan 21 16:04:24 m2lin3 ./openser[5109]:
ERROR:presence:get_stored_info: record not found in hash_table
Jan 21 16:04:24 m2lin3 ./openser[5109]:
ERROR:presence:handle_subscribe: getting stored info
Anyone that can tell me why it's behaving like this?
Leo
Dear,
I would like to test the open xcap service. So i have installed the openser
presence module 1.2 and also the openxcap package but it does not work
properly. I have a few questions :
Where can I find an up to date installation documentation ?
How to make the link between the openser module and the openxcap package ?
I have the following errors, someone can help me ?
0(24573) PRESENCE:get_xcap_tree:The query in table xcap for [username]=bob ,
domain=open-ims.test returned no result
0(24573) PRESENCE: get_subs_dialog:The query for subscribtion for [user]=
vno,[domain]= open-ims.test for [event]= presence.winfo returned no result
0(24573) PRESENCE:query_db_notify: Could not get subs_dialog from database
0(24573) PRESENCE:update_subscription:Could not send notify for
presence.winfo
0(24573) PRESENCE:get_xcap_tree:The query in table xcap for [username]=vno
, domain=open-ims.test returned no result
1(24574) PRESENCE:get_xcap_tree:The query in table xcap for
[username]=alice , domain=open-ims.test returned no result
1(24574) PRESENCE:get_xcap_tree:The query in table xcap for [username]=vno
, domain=open-ims.test returned no result
1(24574) PRESENCE:get_xcap_tree:The query in table xcap for [username]=bob
, domain= open-ims.test returned no result
Thanks,
Vincent