Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Eugene Prokopiev
> I've read your article about Kamailio as an SBC and found uac module > description with uac_restore_from() and uac_restore_to(). It looks > like suitable for me, so I'll try to use it. uac_restore_from() and uac_restore_to() works fine, but next I need to modify ip address in SDP headers in resp

Re: [SR-Users] Presence - How to force Kamailio to use one subscription per user?

2014-08-26 Thread Veerabhara Gundu
any thoughts on this? -Veera On Tue, Aug 26, 2014 at 6:03 AM, Veerabhara Gundu wrote: > Hello Friends, > > I have a scenario, where clients are going away and re-registering with > new IP and Port numbers. Presence server keep sending NOTIFY messages for > both old Subscription and new Subscri

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Eugene Prokopiev
> ... basically no I've read your article about Kamailio as an SBC and found uac module description with uac_restore_from() and uac_restore_to(). It looks like suitable for me, so I'll try to use it. -- WBR, Eugene Prokopiev ___ SIP Express Router (SE

Re: [SR-Users] How do I translate rtpproxy bridge mode config to mediaproxy-ng/rtpengine?

2014-08-26 Thread Richard Fuchs
On 08/25/14 19:25, Alex Villací­s Lasso wrote: > I have a rtpproxy configuration that spawns several rtpproxy instances, > using bridge mode. An example is shown below: > > /usr/bin/rtpproxy -p /var/run/rtpproxy.pid-7723 -u rtpproxy -s > udp:127.0.0.1 7723 192.168.2.18/127.0.0.1 -m 1 -M 2

Re: [SR-Users] How do I translate rtpproxy bridge mode config to mediaproxy-ng/rtpengine?

2014-08-26 Thread Richard Fuchs
On 08/26/14 20:58, Alex Balashov wrote: > On 08/26/2014 08:56 PM, Paul Belanger wrote: > >> I'd agree 'drop-in' replacement is not correct. I ran into the same >> issues as you. Current there is no bridge-mode in rtpengine, I point >> you to an open issue about it [1]. > > I think the idea behind

Re: [SR-Users] How do I translate rtpproxy bridge mode config to mediaproxy-ng/rtpengine?

2014-08-26 Thread Alex Balashov
On 08/26/2014 08:56 PM, Paul Belanger wrote: I'd agree 'drop-in' replacement is not correct. I ran into the same issues as you. Current there is no bridge-mode in rtpengine, I point you to an open issue about it [1]. I think the idea behind the formulation of "drop-in replacement" is that the

Re: [SR-Users] domain not found in domain table

2014-08-26 Thread Kamrul Khan
Hi, We have a Kamalio a configuration that forwards calls to a freeswitch server (adding record-route). The SIP signaling becomes successful till Kamailio receives 200 OK with session description from our carrier. After kamailio forwards the 200 OK with session description to Freeswitch, Kamail

Re: [SR-Users] How do I translate rtpproxy bridge mode config to mediaproxy-ng/rtpengine?

2014-08-26 Thread Paul Belanger
On Tue, Aug 26, 2014 at 2:20 PM, Alex Villací­s Lasso wrote: > El 26/08/14 12:02, Alex Villací­s Lasso escribió: > >> El 25/08/14 18:28, Alex Balashov escribió: >>> >>> On 08/25/2014 07:25 PM, Alex Villací­s Lasso wrote: >>> However, I do not find an equivalent to bridge mode in the rtpengine

Re: [SR-Users] How do I translate rtpproxy bridge mode config to mediaproxy-ng/rtpengine?

2014-08-26 Thread Alex Villací­s Lasso
El 26/08/14 12:02, Alex Villací­s Lasso escribió: El 25/08/14 18:28, Alex Balashov escribió: On 08/25/2014 07:25 PM, Alex Villací­s Lasso wrote: However, I do not find an equivalent to bridge mode in the rtpengine command-line parameters. Bridging mode of this type is not supported by rtpeng

Re: [SR-Users] Presence - How to force Kamailio to use one subscription per user?

2014-08-26 Thread Veerabhara Gundu
Friends, Any thoughts... -VG On Tue, Aug 26, 2014 at 6:03 AM, Veerabhara Gundu wrote: > Hello Friends, > > I have a scenario, where clients are going away and re-registering with > new IP and Port numbers. Presence server keep sending NOTIFY messages for > both old Subscription and new Subsc

Re: [SR-Users] How do I translate rtpproxy bridge mode config to mediaproxy-ng/rtpengine?

2014-08-26 Thread Alex Villací­s Lasso
El 25/08/14 18:28, Alex Balashov escribió: On 08/25/2014 07:25 PM, Alex Villací­s Lasso wrote: However, I do not find an equivalent to bridge mode in the rtpengine command-line parameters. Bridging mode of this type is not supported by rtpengine. If this is true, then mediaproxy-ng/rtpengin

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Daniel-Constantin Mierla
On 26/08/14 18:41, Eugene Prokopiev wrote: Apart from topoh module (an experimental hack in my opinion) Why experimental? It is used in production in many places. How it can be used? Mask IP must be different than SIP server local IP, so it looks like impossible to rewrite public IP address to

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Alex Balashov
On 08/26/2014 12:45 PM, Eugene Prokopiev wrote: I have some experience with FreeSWITCH but have no one with SEMS. Have SEMS any advantages over FreeSWITCH for topology hiding? More narrow and specialised use-cases, so you don't have to deal with stripping it of PBX and miscellaneous applicati

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Eugene Prokopiev
> You are describing a b2bua, back to back user agent. Freeswitch is what I > use. There is SEMS and of course asterisk. I don't recommend asterisk. I have some experience with FreeSWITCH but have no one with SEMS. Have SEMS any advantages over FreeSWITCH for topology hiding? -- WBR, Eugene

[SR-Users] match_dialog not handling BYE

2014-08-26 Thread Satish Patel
I really want to use top hide using dialog module but having very difficult time.. [UA]--[Opensips]-[Asterisk] I want to hide UA so Asterisk doesn't know its IP. I have following config, Please correct me if anything wrong in my config, Problem is if callee whoever connected to asterisk h

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Eugene Prokopiev
>> Apart from topoh module (an experimental hack in my opinion) > > Why experimental? It is used in production in many places. How it can be used? Mask IP must be different than SIP server local IP, so it looks like impossible to rewrite public IP address to server local IP address :( -- WBR, Eu

Re: [SR-Users] gruu within dialog

2014-08-26 Thread Daniel-Constantin Mierla
Hello, can you send a trace that includes the registration as well as the call? The pub-gruu is using the AoR, iirc. Also, the line you refer to is not matching anymore with latest 4.1.x -- paste the code around it to locate it properly. Cheers, Daniel On 26/08/14 18:05, samuel wrote: Hi a

[SR-Users] gruu within dialog

2014-08-26 Thread samuel
Hi all, I'm having some issues treating requests within dialogs with gruu enabled with kamailio 4.1.2. I've got the "standard" configuration of WITHIN route with the adition of the next lines: if(is_gruu()){ route(LOCATION);

Re: [SR-Users] Kamailio 4.0.4 slow memory leak

2014-08-26 Thread Daniel-Constantin Mierla
It is not needed to see the memory operations logs. Just to dump the chunks in memory. You would need ctl and ctl_rpc modules (iirc -- they should be in the default config file), then run: kamcmd cfg.set_now_int core mem_dump_shm 1 Extract the logs of the dump from the shared memory and send

Re: [SR-Users] Kamailio 4.0.4 slow memory leak

2014-08-26 Thread Heenan, Timothy Steven
Thank you. I have recompiled with MEMDBG, however I am not observing any additional output in my log files. I think I have something set incorrectly in kamailio.cfg. Here are my log settings from Kamailio.cfg debug=3 log_stderror=no log_facility=LOG_LOCAL0 memdbg=2 memlog=2 ... modparam("debugg

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Daniel-Constantin Mierla
On 26/08/14 15:54, Alex Balashov wrote: On 26 August 2014 09:52:59 GMT-04:00, Daniel-Constantin Mierla wrote: On 26/08/14 15:48, Alex Balashov wrote: Apart from topoh module (an experimental hack in my opinion) Why experimental? It is used in production in many places. Does it still have

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Alex Balashov
On 26 August 2014 09:52:59 GMT-04:00, Daniel-Constantin Mierla wrote: > >On 26/08/14 15:48, Alex Balashov wrote: >> Apart from topoh module (an experimental hack in my opinion) >Why experimental? It is used in production in many places. Does it still have the bug where the IP of the bound int

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Frank Carmickle
On Aug 26, 2014, at 9:46 AM, Eugene Prokopiev wrote: > Is it possible at all to do double topology hiding with Kamailio? SIP > devices with public ip addresses must not know private softswitch > address and softswitch must not know any public ip address. Softswitch > must work only with Kamailio

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Daniel-Constantin Mierla
On 26/08/14 15:48, Alex Balashov wrote: Apart from topoh module (an experimental hack in my opinion) Why experimental? It is used in production in many places. Daniel , basically no. It's a proxy. Proxies are highly transparent. Logical call leg A in, logical call leg A out. There's no topo

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Olle E. Johansson
On 26 Aug 2014, at 15:46, Eugene Prokopiev wrote: > Is it possible at all to do double topology hiding with Kamailio? SIP > devices with public ip addresses must not know private softswitch > address and softswitch must not know any public ip address. Softswitch > must work only with Kamailio pr

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Alex Balashov
Apart from topoh module (an experimental hack in my opinion), basically no. It's a proxy. Proxies are highly transparent. Logical call leg A in, logical call leg A out. There's no topology to hide, really. On 26 August 2014 09:46:29 GMT-04:00, Eugene Prokopiev wrote: >Is it possible at all to

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Eugene Prokopiev
Is it possible at all to do double topology hiding with Kamailio? SIP devices with public ip addresses must not know private softswitch address and softswitch must not know any public ip address. Softswitch must work only with Kamailio private address. -- WBR, Eugene Prokopiev __

[SR-Users] Presence - How to force Kamailio to use one subscription per user?

2014-08-26 Thread Veerabhara Gundu
Hello Friends, I have a scenario, where clients are going away and re-registering with new IP and Port numbers. Presence server keep sending NOTIFY messages for both old Subscription and new Subscription for same clients till the old subscription expires. It's unnecessary traffic and processing o

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Eugene Prokopiev
> If you want a different ip address in VIA than the local socket of kamailio, > then look at set_advertise_address() from core cookbook. No, it is more important to rewrite To and From headers to source interface ip address for proxied requests and responses. What is the right way to do it? Where

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Daniel-Constantin Mierla
Each hop in the path of a SIP request has to add a Via header with its own address. If you want a different ip address in VIA than the local socket of kamailio, then look at set_advertise_address() from core cookbook. Cheers, Daniel On 26/08/14 12:31, Eugene Prokopiev wrote: Now I need to h

Re: [SR-Users] Not able to start tls on port 5061

2014-08-26 Thread Daniel-Constantin Mierla
That is not an error message, but an INFO. If kamailio is starting, then check if its listening on port 5061: netstat -altpn | grep kamailio Cheers, Daniel On 26/08/14 12:48, Debojit Kakoti wrote: I am getting error INFO: tls [tls_init.c:385]: init_tls_compression(): tls: init_tls: disablin

Re: [SR-Users] [Kamailio-4.1.5] [/etc/init.d/kamailio/start] Error

2014-08-26 Thread Djamel Bahamid
Hello, Now, when I try to execute the /etc/init.d/kamailio start, I have the following message : /etc/init.d/kamailio: line 131: log_daemon_msg: command not found Thank you for your help, Best Regards, Djamel BAHAMID. Le 18/08/2014 17:39, Djamel Bahamid a écrit : Le 18/08/2014 16:38, Oll

[SR-Users] Not able to start tls on port 5061

2014-08-26 Thread Debojit Kakoti
I am getting error INFO: tls [tls_init.c:385]: init_tls_compression(): tls: init_tls: disabling compression... -- Debojit Kakoti Mobile : +91 9650654870 Email : debojkakot...@gmail.com Skype: deboj1988 ___ SIP Express Router (SER) and Kamaili

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Eugene Prokopiev
Now I need to hide local topology: rewrite public ip addresses in sip/sdp headers with internal kamailio address (10.10.10.7) for incoming requests, rewrite internal softswitch address with public kamailio ip address (10.7.7.7) and forward rtp packets. So, I have rtpproxy running: $ ps aux | grep

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Eugene Prokopiev
> The above config should work, but you need to load pv module. Thanks, this helps -- WBR, Eugene Prokopiev ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/m

Re: [SR-Users] Kamailio 4.0.4 slow memory leak

2014-08-26 Thread Daniel-Constantin Mierla
Hello, I quickly looked over the modules that use shared memory and I couldn't spot a commit related to any leak. Have you had the chance to compile with MEMDBG? Cheers, Daniel On 19/08/14 19:14, Heenan, Timothy Steven wrote: Do you think any of these modules possibly causing this issue?

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Daniel-Constantin Mierla
On 26/08/14 08:55, Eugene Prokopiev wrote: Which module/function need I use to simple forward any request/responce to another sip server? Is forward function enought for me - http://www.kamailio.org/wiki/cookbooks/4.1.x/core#forward ? I tried to use: route { $du = "sip:10.10.10.50:5060;trans

Re: [SR-Users] Minimal configuration without database support

2014-08-26 Thread Eugene Prokopiev
> route { > $du = "sip:10.10.10.50:5060;transport=udp"; > forward(); > } similar opensips configuration: route { forward("10.10.10.50:5060"); } works as expected - opensips forwards requests and even responses back how to do the same in kamailio? -- WBR, Eugene Prokopiev __