[SR-Users] cr default route

2011-09-02 Thread caio
Hello, The documentation of carrierroute says If flags and mask are not zero, and no match to the message flags is possible, no routing will be done. Then is there any route entry which can act as default gw (like an always-match entry)? For example this 'carrierroute' table:

[SR-Users] SIP Analysis Testing tools

2011-09-02 Thread Vladimir Broz
Hi, for sake of Vaclav's courage, let me introduce the SIP Analysis Testing tools. This is a set of very powerful utilities that may help you to do SIP call flows analysis. It can do SIP dialogs and transactions matching and analysis in large pcaps, create pretty call flow diagrams, check

[SR-Users] Check disconnected users

2011-09-02 Thread Anto
Hello I want to store in a file access and disconnections to the system. To access (registrar), I thought scheduling a perl script and executed with the perl module, the problem I find with disconnections. Since the user can be disconnected for various reasons, had planned to do a script that

[SR-Users] Nat problems

2011-09-02 Thread David Zambrano
Hi Ive been trying to configure kamailio as a loadbalancer between two transcoders that afterwards send all calls to a softswitch but I currently have two problems. My first and most important one is a NAT problem or so I think. All calls in UDP work perfectly but when dealing with calls in TCP

Re: [SR-Users] Nat problems

2011-09-02 Thread Andrew Pogrebennyk
On 09/02/2011 08:58 PM, David Zambrano wrote: After doing some traces on the network I realized that the transcoder is trying to reach the router in front of the softphone and skipping the Kamailio loadbalancer. The call never reaches the softphone so the phonecall never completes. In UDP

Re: [SR-Users] Nat problems

2011-09-02 Thread David Zambrano
Hi andrew. Thanks for your help. What module or config should I use to make sure the connection goes back through the loadbalancer? For the failover I didnt specify anything ping related. Im using the dispatcher module. Can I specify the ping config in that module or should I use another module

Re: [SR-Users] Nat problems

2011-09-02 Thread David Zambrano
Hi Heres the config Im using, I was out of the office when I answered the last email. Its a very very simple config as you can see. # -- dispatcher params -- modparam(dispatcher, list_file, /usr/local/etc/kamailio/dispatcher.list) modparam(dispatcher, flags, 2) route{ ds_select_dst(2,

Re: [SR-Users] Nat problems

2011-09-02 Thread Andrew Pogrebennyk
On 09/02/2011 10:33 PM, David Zambrano wrote: Hi andrew. Thanks for your help. What module or config should I use to make sure the connection goes back through the loadbalancer? That's simply the task for record-route like: if (is_method(INVITE)) record_route(); But you also need the

Re: [SR-Users] Nat problems

2011-09-02 Thread David Zambrano
Thanks Andrew Ill deal with the ping config once I resolve the route problem. So now this is my config: route{ if (method != REGISTER) loose_route(); if (is_method(INVITE)) record_route(); ds_select_dst(2, 4); t_relay(); } Now I can see in the sip headers