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

2014-08-27 Thread Frank Carmickle
On Aug 27, 2014, at 5:48 AM, Eugene Prokopiev wrote: >>> 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 application features. It's more of a >> dedicated B2BUA (wi

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

2014-08-27 Thread Eugene Prokopiev
>> 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 application features. It's more of a > dedicated B2BUA (with its sbc module), in this case. I tried to use SEMS but I'v

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] 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] 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

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] 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 __

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] 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] 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 __

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

2014-08-25 Thread Eugene Prokopiev
> 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;transport=udp"; forward(); } but I can't see

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

2014-08-25 Thread Eugene Prokopiev
> Is it possible to run kamailio without database support (even dbtext)? Yes, minimal stub may be looks like: loadmodule "mi_fifo.so" loadmodule "kex.so" loadmodule "sl.so" modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo") route { sl_send_reply("503", "Server is not configured"); } Whic

[SR-Users] Minimal configuration without database support

2014-08-25 Thread Eugene Prokopiev
Hi, Is it possible to run kamailio without database support (even dbtext)? Where can I find minimal configuration example with minimal modules set only for forwarding any requests/responses from one ip address to another one? -- WBR, Eugene Prokopiev