[SR-Users] Using the iptel Switch for both home & office environments...

2015-01-09 Thread H. KAIMARAH
Hello there, Kindly advise me on how i can download and install the iptel soft switch for both Windows and Linux platforms. I intend to install a hosted Sip VoiP service using your open source switch for both home and office environments. I have jst been checking out the documentation from t

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-09 Thread Daniel-Constantin Mierla
Hello, I am not sure if path and received from location will be of any information for the redirect. At least received is the proto, source and port of incoming REGISTER. Then, the Path is to be used by location server when forwarding requests. Can you give more details of how path and received f

Re: [SR-Users] dialog timeout reinvite

2015-01-09 Thread Daniel-Constantin Mierla
Hello, ok, thanks for reporting. I backported the patch to 4.2 branch. Cheers, Daniel On 09/01/15 03:37, Kelvin Chua wrote: > Hi Daniel, > > Thanks for the patch. working perfectly > Kelvin Chua > > > On Thu, Jan 8, 2015 at 5:32 AM, Daniel-Constantin Mierla > wrote: >> On 07/01/15 12:24, Kelvi

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-09 Thread Asgaroth
Hi, I am hoping to have the redirect server not be in the signalling path, so when a media server asterisk/freeswitch sends an invite over to the redirect server, I need to respond with the 302 and include the contact information, outbound path (via proxy loadbalancer) and the recieved inform

Re: [SR-Users] Camarillo 4.2 as outbound proxy with TLS support

2015-01-09 Thread Daniel-Constantin Mierla
You have to run rtpproxy (or rtpengine) in bridging mode and instruct it to do bridging from kamailio cfg using 'e' and 'i' flags (iirc, there is an alg.cfg inside nathelper examples folder that gives some hints, good for starting -- also searching on web for rtpproxy in brdige mode may reveal some

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-09 Thread Daniel-Constantin Mierla
Hello, where is the media server located and the signaling flow for it? Cheers, Daniel On 09/01/15 14:41, Asgaroth wrote: > Hi, > > I am hoping to have the redirect server not be in the signalling path, > so when a media server asterisk/freeswitch sends an invite over to the > redirect server, I

Re: [SR-Users] Problem with tag field with using a custom table for the permissions module.

2015-01-09 Thread Daniel-Constantin Mierla
Looking closer at the log messages, the error is when loading the 'address' table. Apparently the tag column name parameter is shared between address and trusted tables. Cheers, Daniel On 07/01/15 19:27, Jan Hazenberg wrote: > Daniel, > > No i do not use the lcr module. It is kamailio 4.2.1 runni

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-09 Thread Alex Hermann
On Thursday 08 January 2015, Asgaroth wrote: > I am attempting to setup a standalone redirect server which will lookup > contact info and redirect to appropriate outbound proxy. > > The problem I am having is that the registrar is storing the path and > recieved information, however, when I perfor

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-09 Thread Ben Langfeld
For the ease of future reference, it would appear that post was http://sr-dev.sip-router.narkive.com/bfyDpQ36/git-alexh-master-core-modules-tm-modules-sl-make-adding-path-and-flags-to-redirected-contacts#post4 On 9 January 2015 at 09:32, Alex Hermann wrote: > On Thursday 08 January 2015, Asgarot

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-09 Thread Asgaroth
Hi, The media server, redirect server and proxy/loadbalancer are all on the same local LAN, signaling is direct in local LAN, between media server and redirect server, and again from media server to proxy loadbalancer. Thanks On 09/01/2015 14:22, Daniel-Constantin Mierla wrote: Hello, whe

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-09 Thread Daniel-Constantin Mierla
Hello, I saw others commenting regarding some patch -- not sure if merged or not. But, if there is no other specific requirement to get the 30x to media server (like extra processing on received contact), an option could be to just forward on the 'redirect' server without doing the record_route()

Re: [SR-Users] Can't start Kamailio with both db_postgres and tls

2015-01-09 Thread Øyvind Kolbu
On 07.01.2015 14:27, Daniel-Constantin Mierla wrote: So it complains that the ssl lib is not initialized completely. Can you try the following: - edit modules/tls/tls_init.c and add at the beginning of function 'int init_tls_h(void)': if(tls_mod_initialized > 0) return 0; - in modules/db_pos

[SR-Users] Dispatcher Failover algorithm

2015-01-09 Thread Yuriy Gorlichenko
I as wrote before - we find dispatcher algorithm than can do mechanism something like this: Try call to fist server with max priority or weight. OIf this server unavailible then call second server with less weight and etc. Does anyone know what ling of algorithm we can use for this? __

Re: [SR-Users] Dispatcher Failover algorithm

2015-01-09 Thread Daniel-Constantin Mierla
You probably look for priority based routing -- see the readme of dispatcher module. Cheers, Daniel On 09/01/15 17:52, Yuriy Gorlichenko wrote: > I as wrote before - we find dispatcher algorithm than can do mechanism > something like this: > Try call to fist server with max priority or weight. OI

Re: [SR-Users] Can't start Kamailio with both db_postgres and tls

2015-01-09 Thread Daniel-Constantin Mierla
Do you have a testbed server where I can login and try couple of patches? It might be faster to try to get it solved this way ... Or maybe someone can make one server available with postgress and you configure it there in a similar way -- I am not a postgres user and no resourse to setup something

[SR-Users] pua_subscribe and force_send_socket trouble

2015-01-09 Thread Mikko Lehto
Hi I am having strange behavior on local port assignment when proxying out locally generated request. Kamailio is 4.2.1 from git. I use MI pua_subscribe to create subscription to be handled by external presence server. In event_route[tm:local-request] I set $du to point back to proxy itself. W

Re: [SR-Users] pua_subscribe and force_send_socket trouble

2015-01-09 Thread Mikko Lehto
Some additional information: OS is Linux Debian Wheezy 7.6 on amd64 pua_subscribe is launched like this: kamcmd mi pua_subscribe sip:+35812345789@A.B.C.D:5041 sip:myproxy.fqdn.invalid presence 3600 -- Mikko ___ SIP Express Router (SER) and Kamailio

Re: [SR-Users] Problem with tag field with using a custom table for the permissions module.

2015-01-09 Thread Jan Hazenberg
Daniel, Thanks, i will try to configure that table as well. Jan Daniel-Constantin Mierla schreef op 2015-01-09 15:25: Looking closer at the log messages, the error is when loading the 'address' table. Apparently the tag column name parameter is shared between address and trusted tables. Cheer

Re: [SR-Users] Dispatcher Failover algorithm

2015-01-09 Thread Yuriy Gorlichenko
Priority bassed? I've read about all algorithms of disatcher and can not find that anone use priority... - “0” - hash over callid - “1” - hash over from URI. - “2” - hash over to URI. - “3” - hash over request-URI. - “4” - round-robin (next destination). -