Hi all
i have windows messenger to register with SER
0.9.3,but SER get the URI contain private IP
address(8808@192.168.2.2:5060) so that 8808 can't as
called party, i have rport config in ser.cfg and
windows messenger have got rport and received
information in 401 and 200 ok messages .ip phone have
same problem.
how to solve the problem? please help me ?
thanks
___________________________________________________________
雅虎免费G邮箱-No.1的防毒防垃圾超大邮箱
http://cn.mail.yahoo.com
We are testing stress testing SER with location and subscriber databases
containing 500K to 1 million entries through an artificially generated
workload.
With the stock SER configuration when we stop and restart SER and it runs
out of memory almost immediately upon startup.
It runs out of memory in convert_rows() at around row #2740 out of many (>
500000) rows.
If we bump up PKG_MEM_POOL_SIZE from 1024*1024 to 100*1024*1024 ser starts
up successfully. However, my concern is that the memory pool is allocated in
each of the 20 or 30 children, sucking up a lot of resources.
So, my question is this: why isn't this memory allocation truly dynamic
rather than pre-allocated at startup? Or is there some better solution that
I am missing completely?
We also have similar issues with shared memory, and need to bump this
allocation via the -m command line option to ser.
FWIW, we are running SER 0.8.14 with a couple of local modifications.
Any advice would be appreciated
Thanks.
Bruce Bauman
Sr. Principal S/W Engineer
WorldGate Communications, Inc.
3190 Tremont Avenue
Trevose, PA 19053
Office: 215.354.5124
Cell: 215.768.8613
hi
I get following exception when I added code for forced rtp proxy is ser.cfg. I am using sip communicator as user agent.
net.java.sip.communicator.media.MediaException: Incorrect SDP data!
at net.java.sip.communicator.media.MediaManager.openMediaStreams(MediaManager.java:307)
at net.java.sip.communicator.SipCommunicator.callStateChanged(SipCommunicator.java:758)
at net.java.sip.communicator.sip.Call.fireCallStatusChangedEvent(Call.java:250)
at net.java.sip.communicator.sip.Call.setState(Call.java:156)
at net.java.sip.communicator.sip.CallProcessing.processAck(CallProcessing.java:566)
at net.java.sip.communicator.sip.SipManager.processRequest(SipManager.java:1532)
at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:204)
at gov.nist.javax.sip.EventScanner.run(EventScanner.java:352)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.sdp.SdpParseException: Could not parse message
at javax.sdp.SdpFactory.createSessionDescription(SdpFactory.java:114)
at net.java.sip.communicator.media.MediaManager.openMediaStreams(MediaManager.java:302)
... 8 more
Please help me resolve this problem
Thanks
Rajesh
---------------------------------
Enjoy this Diwali with Y! India Click here
Hi,
I'm a newbie in OpenSER usage and in SIP in general so perhaps it's very
simple questions.
I understand that TLS can be activated/disactivated from the configuration
file but can not be used only according SIP number for example or call
streams(internet), that's right ?
What about SRTP ? In order to have SRTP working, I think I "just" need
device phone/softphone with this feature. It's not dependant of the OpenSER
configuration, is it ? Is it possible to force the use of SRTP when it's
possible ? For this, perhaps, I need to configure "mediaproxy" or "rtpproxy"
module or something else ( mediaproxy daemon for example) ?
Thanks,
Christophe.
Hello,
I am having some problems configuring memory for SER..
Here is what I have in my test instance:
Server: Linux x64
Real Memory: 4GB
Database: MySQL/NDB
SER Shared memory: 256M
Children: 16
Subscribers: 40000
In test environment:
Registrations per sec: 120
Call per second: 120
When the SER process was started last week, it had only 4000 subscribers
provisioned. Then another 36000 subscribers were provisioned. The SER
was running fine. But when I decided to bounce SER, it would not
restart.
It seems from the log file that SER ran out of memory trying to load the
LOCATION database into memory upon startup, failing around row #3500.
LOCATION table had in excess of 10000 records at that point.
The related piece of the logfile is below..
I wonder whether it is a matter of configuration or is it a bug.. The
system definitely seem to have enough memory to store those few tens of
thousands of records.. Even at 1K each, it amounts to nothing..
Especially given that at runtime it handles that amount of location info
easily.. It's only a startup that seems to be a problem. I tried to play
with giving it more or less of shared memory.. It does not seem to be
relevant..
For now I just have to clean up the LOCATION table each time before
restarting SER. Obviously, it is not a nice workaround..
Thanks,
Sergei
Mon Nov 7 12:29:59.281894 200: 0
(0):DEBUG:fixing /usr/local/ser/lib/ser/modules/registrar.so lookup
Mon Nov 7 12:29:59.281964 200: 0(0):DEBUG:get_connection(): Connection
not found in the pool
Mon Nov 7 12:29:59.282329 200: 0(0):DEBUG:preload_udomain(): Table is
empty
Mon Nov 7 12:29:59.282342 200: 0(0):DEBUG:release_connection():
Removing connection from the pool
Mon Nov 7 12:29:59.282360 200: 0
(0):DEBUG:fixing /usr/local/ser/lib/ser/modules/registrar.so save
Mon Nov 7 12:29:59.282414 200: 0(0):DEBUG:get_connection(): Connection
not found in the pool
Mon Nov 7 12:29:59.357157 200: 0(0):WARNING:convert_row(): No memory
left
Mon Nov 7 12:29:59.357189 200: 0(0):WARNING:convert_rows(): Error while
converting row #3445
Mon Nov 7 12:29:59.357413 200: 0(0):WARNING:convert_result(): Error
while converting rows
Mon Nov 7 12:29:59.357424 200: 0(0):WARNING:store_result(): Error while
converting result
Mon Nov 7 12:29:59.357432 200: 0(0):WARNING:preload_udomain(): Error
while doing db_query
Mon Nov 7 12:29:59.357438 200: 0(0):WARNING:register_udomain(): Error
while preloading domain 'location'
Mon Nov 7 12:29:59.357447 200: 0(0):DEBUG:release_connection():
Removing connection from the pool
Mon Nov 7 12:29:59.357856 200: 0(0):WARNING:domain_fixup(): Error while
registering domain
ERROR: error -1 while trying to fix configuration
Mon Nov 7 12:29:59.357901 200: 0(0)::DEBUG: tm_shutdown : start
Mon Nov 7 12:29:59.357913 200: 0(0)::DEBUG: unlink_timer_lists :
emptying DELETE list
Mon Nov 7 12:29:59.357920 200: 0(0)::DEBUG: tm_shutdown : emptying hash
table
Mon Nov 7 12:29:59.359085 200: 0(0)::DEBUG: tm_shutdown : releasing
timers
Mon Nov 7 12:29:59.359108 200: 0(0)::DEBUG: tm_shutdown : removing
semaphores
Mon Nov 7 12:29:59.359114 200: 0(0)::DEBUG: tm_shutdown : destroying
tmcb lists
Mon Nov 7 12:29:59.359122 200: 0(0)::DEBUG: tm_shutdown : done
Mon Nov 7 12:29:59.359143 200: 0(11662):DEBUG:shm_mem_destroy
Mon Nov 7 12:29:59.359154 200: 0(11662):DEBUG:destroying the shared
memory lock
First I want to say thank you to everyone for all the kind help I've
received as I start to dig into OpenSER.
I think I'm starting to get a grasp of avps, as I've worked with SER
for a while, but I am seriously struggling to understand the proper
use of pseudo variables in OpenSER.
My thought was to try something like this...
if (avp_check("s:myavp", "eq/$fU/i")) {
# do something here...
};
I was hoping to match against the From URI username with the $fU
pseudo-variable, but this doesn't appear to work. I read the doc but
it's still pretty gray to me.
- Daryl
hi all,
I compiled the latest version od openser from cvs head. I've set the acc. I've loaded module after tm and mysql module. I added the db_url parameter, db_flag, db_table_acc, db_extra, radius_config, service_type and radius_flag.
I've compiled acc with both mysql and radius support.
But while starting openserctl I get the following error:
Oct 27 10:41:06 localhost /usr/local/sbin/openser[6575]: ACC - initializing
Oct 27 10:41:06 localhost /usr/local/sbin/openser[6575]: ERROR: acc: can't get code for the Sip-Method attribute
Oct 27 10:41:06 localhost /usr/local/sbin/openser[6575]: init_mod(): Error while initializing module acc
can somebody pls help me with error as I need accounting in both radius and acc.
I am eagerly waiting for the 1.0 release. Its tommorow right!!!!
jayesh
---------------------------------
Enjoy this Diwali with Y! India Click here
Hi,
I would like to make run openser as a sip client when a client is connecting
to it but with an unmanaged domain. I tried with the following configuration
but with no result:
if (!uri==myself) {
# mark routing logic in request
append_hf("P-hint: outbound\r\n");
# if you have some interdomain connections via TLS
if(uri=~"iptel.org <http://iptel.org>") {
forward("iptel.org <http://iptel.org>",5060);
exit;
} #else if(uri=~"@tls_domain2.net") {
# t_relay_to_tls("IP_domain2","port_domain2");
# exit;
#}
route(1);
};
Thanks for any help.