Re: [SR-Users] pkg.stats problem
Additional info: - kamailio-4.0.2 started with -m 128 -M 16 - Process:: ID=36 PID=2599 Type=tcp main process - this server works as a websocket(ws,wss) to udp/tcp gateway. PKG: Also top output showed that RES column of tcp workers was constantly growing. SHM: After some time kamailio stoped to accept wss connections and printed "ssl bug #1491 workaround: not enough memory for safe operation". According to tls_server.c it's a sign of shm leak. Master branch has a lot of fixes to websocket module which solve problems with pkg and shm memory: Is it a good a good idea to use websocket module from the master branch with a 4.0 verion ? Hello, can you get the type of the process with 'kamctl ps'? Cheers, Daniel On 9/20/13 6:51 PM, Vitaliy Aleksandrov wrote: Didn't check master branch before writing previous email. There were some commits about memory leaks in websocket module. Will try master. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Caller ID using From header
2013-09-19 21:25, Daniel W. Graham skrev: My issue is I have 1 carrier that doesn't support PAI or RPID for caller ID. Second carrier supports RPID but not PAI. Still waiting verification from the others. This definitely seems like a big mess, I'd prefer to use PAI since it follows active RFC but the lack of support is surprising. I'm assuming my two options I'm left with are using DID as usernames to avoid From header changes, or modifying From header. If I'm forced to modify From header, where would be the place to do so with least negative affects? All CDR is performed on Asterisk. UA >> Proxy >> Asterisk >> Proxy >> Carrier You can use the uac-module to change the From-header: http://kamailio.org/docs/modules/stable/modules/uac.html More specific the function: uac_replace_from I use this for normalizing the format from my carriers and to my carriers (to the format they expect) so all calls from my Asterisks use the same format, regardless of carrier used for the call. Make sure you only call uac_replace_from ONCE. From the doc: "Known limitations: The “uac_replace_*” functions can only be run once on the same SIP request. Try to save needed changes in a pseudovariable and apply them once." /Johan ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] db_mysql module on different interface
I am setting up my kamailio and mysql server on separate machines. They are connected via a private network on the eth1. The public interfaces are on eth0. I can use the mysql client to log in the mysql server via the private network but kamailio will not connect. If I change the mysql to communicate on the public network it works (where the sip messaging and mysql are on the same interface). Is there a setting or something that I have to change so the sip messaging and mysql can be on different interfaces. Thanks in advance, Sam ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users