Re: [SR-Users] Edge proxy / Registrar Script

2016-10-21 Thread Infinicalls Infinicalls
Hi, Thanks. I used dispatcher example for proxy file , populated the dispatcher table and added modparam("path", "use_received", 1) to config file. And used the kamailio-basic.cfg for registrar with modparam("registrar", "use_path", 1) modparam("registrar", "path_mode", 1) modparam("registrar",

[SR-Users] Edge proxy / Registrar Script

2016-10-20 Thread Infinicalls Infinicalls
Hi, I am trying to get a simple Edge Proxy - Registrar setup working behind NAT. Initially I tried various scripts - including the one mentioned in the Oubound page and Peter Dunkley' example - but got some errors related to PATH. Can somebody give me a working script of both proxy and registrar?

Re: [SR-Users] 420 Bad Extension error

2016-10-18 Thread Infinicalls Infinicalls
Hi Daniel, Just curious, were you able to investigate on the error message? I am still unable to get it working. regards Ganesh Kumar On 10/14/16, Infinicalls Infinicalls wrote: > Hi, > I have pasted the entire log here for your ref. > > http://paste.fedoraproject.org/449

Re: [SR-Users] 420 Bad Extension error

2016-10-14 Thread Infinicalls Infinicalls
e the reason for the t_load_contacts(). > > Cheers, > Daniel > > > On 14/10/16 10:31, Infinicalls Infinicalls wrote: >> Hi, >> >> I referred to the totag. Sorry if I mistook it for to field. >> >> regards >> Ganesh Kumar >> >> On 10/14/16,

Re: [SR-Users] 420 Bad Extension error

2016-10-14 Thread Infinicalls Infinicalls
Hi, I referred to the totag. Sorry if I mistook it for to field. regards Ganesh Kumar On 10/14/16, Daniel-Constantin Mierla wrote: > Hello, > > > On 14/10/16 10:25, Infinicalls Infinicalls wrote: >> Hi, >> >> On 10/13/16, Daniel-Constantin Mierla wrote:

Re: [SR-Users] 420 Bad Extension error

2016-10-14 Thread Infinicalls Infinicalls
Hi, On 10/13/16, Daniel-Constantin Mierla wrote: > Can you split the IF with t_load_contacts () || t_next_contacts () in two > to see which one fails? After splitting, I get this error. Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: siputils [checks.c:97]: has_totag(): no

Re: [SR-Users] 420 Bad Extension error

2016-10-13 Thread Infinicalls Infinicalls
Hi, >> Oct 13 07:41:15 infinicalls /usr/local/sbin/kamailio[32948]: ERROR: >>

Re: [SR-Users] 420 Bad Extension error

2016-10-13 Thread Infinicalls Infinicalls
Hi Daniel, I find only this error message in syslog. Rest are normal. Oct 13 07:41:15 infinicalls /usr/local/sbin/kamailio[32948]: ERROR:

Re: [SR-Users] 420 Bad Extension error

2016-10-12 Thread Infinicalls Infinicalls
typically because the address in r-uri (or outbound proxy $du) > cannot be resolved with the DNS server. Try to run with debug=3 in > kamailio.cfg and look at the logs for hints about what happens. > > Cheers, > Daniel > > > On 07/10/16 10:48, Infinicalls Infinicalls wrote:

Re: [SR-Users] 420 Bad Extension error

2016-10-07 Thread Infinicalls Infinicalls
uot;, "use_path", 1) modparam("registrar", "path_mode", 1) modparam("registrar", "path_use_received", 1) regards Ganesh Kumar On 10/7/16, Infinicalls Infinicalls wrote: > Hi Daniel, > I am pasting a fresh REGISTER request and the error messag

Re: [SR-Users] 420 Bad Extension error

2016-10-07 Thread Infinicalls Infinicalls
Hi Daniel, I am pasting a fresh REGISTER request and the error message here. The Proxy and Registrar config files are taken from http://kamailio.org/docs/modules/4.2.x/modules/outbound.html - root@infinicalls:~# ngrep -d any -qt -W byline . port 5060 interface: any filter: (ip or ip6)

[SR-Users] 420 Bad Extension error

2016-10-06 Thread Infinicalls Infinicalls
Hi all, I am testing Edge Proxy setup with the example given here : http://kamailio.org/docs/modules/4.2.x/modules/outbound.html and I get this error : U 2016/10/06 09:18:48.331580 10.0.0.4:5060 -> 52.233.25.164:5060 SIP/2.0 420 Bad Extension. Via: SIP/2.0/UDP 10.1.0.4;branch=z9hG4bK162a.e9f73fe

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-10-05 Thread Infinicalls Infinicalls
Hi, This problem looked strange, as even with the local IP, it throws the same error. listen=udp:PRIVATEIP:5060 advertise PUBLICIP:5060 also throws the same error, as before. I am not sure what is wrong. But by searching some posts here, I was advised to comment out the line. And it worked. Kama

[SR-Users] 484 Address Incomplete error

2016-10-05 Thread Infinicalls Infinicalls
Hi all, I am trying a simple proxy (with dispatcher) and a registrar. However, I have this issue U 2016/10/05 08:22:44.057195 10.0.0.4:5060 -> 52.233.25.164:5060 SIP/2.0 484 Address Incomplete. Via: SIP/2.0/UDP 10.1.0.4;branch=z9hG4bK8653.a9c65320.0;received=52.233.25.164.

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-10-04 Thread Infinicalls Infinicalls
Hi Daniel, Thanks very much. But I still couldn't get the system working. I get the following errors : Oct 5 06:05:03 infinicalls-proxy1 /usr/local/sbin/kamailio[4840]: ERROR: dispatcher [dispatcher.c:788]: ds_warn_fixup(): failover functions used, but required AVP parameters are NULL -- feature

Re: [SR-Users] Proxy unable to connect - 420 Bad Extension error

2016-09-30 Thread Infinicalls Infinicalls
Hi, After changing modparam("registrar", "use_path", 0) in the registrar, it connects. But I am unable to make/receive calls. It throws an "SIP/2.0 500 I'm terribly sorry, server error occurred (1/SL)." error. Any idea? thanks regards Ganesh Kumar On 10/1

[SR-Users] Proxy unable to connect - 420 Bad Extension error

2016-09-30 Thread Infinicalls Infinicalls
Hi, I have setup a proxy and able to connect to the registrar. However, after a few attempts, it throws the "420:Bad Extension" error, saying "Unsupported: path. Path: . Supported: outbound. P-Registrar-Error: No support for found Path indicated." Any idea, how to overcome this ? 10.1.0.4 is no

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-29 Thread Infinicalls Infinicalls
Hi, > You might want to take a look at you solution though. > For example you might want to introduce edge proxies, clients connect > with those directly, but they forward the requests to a (specific or > loadbalanced) registrar (essentially the machines you have up and > running now). These proxi

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-29 Thread Infinicalls Infinicalls
Hi, > You can either figure out which host was used to register by looking at > the socket value in the location table (using sqlops/avp_db_query) and > send the INVITE to the other host if socket doesn't contain a local > ipadress (by simply setting $rd to the other host and setting $du to > null

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-26 Thread Infinicalls Infinicalls
the two. > > On Sunday, September 11, 2016, Infinicalls Infinicalls < > infinica...@gmail.com> wrote: > >> Hi, >> I have two identical hosts running Kamailio with the same set of >> users. They are located in different locations. Both are running >> behind NAT and

Re: [SR-Users] Commercial SBC or Kamailio

2016-09-15 Thread Infinicalls Infinicalls
> > What is best option if money is not the problem? If seriously money is not the problem, then I would suggest you to go for Kamailio and look for commercial support. This would do more good than starting off with a purely commercial product. regards Ganesh Kumar -- --- http://www.infinicall

[SR-Users] Identical Kamailio setup on 2 hosts

2016-09-11 Thread Infinicalls Infinicalls
Hi, I have two identical hosts running Kamailio with the same set of users. They are located in different locations. Both are running behind NAT and I've enabled rtpproxy for that and also advertised the public IP. Both the MySQL DBs are similar and have the same data. Both the hosts have differe

Re: [SR-Users] Evapi module is not broadcasting any data

2016-08-19 Thread Infinicalls Infinicalls
Hi, Use "ngrep -t -W byline port 8448" to sniff the port and see if it helps. regards Ganesh Kumar On 8/19/16, Efelin Novak wrote: > Hi folks, > > I came into a problem with evapi module, while I was trying to make the > CGRateS tutorial work. It does not send any messages at all. > > Taken s

Re: [SR-Users] Prepaid system using dialog and sqlops

2016-08-05 Thread Infinicalls Infinicalls
Hi, Can somebody give a step by step tutorial on this. I am still not able to get it working. Thanks. regards Ganesh Kumar On 8/4/16, Infinicalls Infinicalls wrote: > Hi Daniel, > Thanks. I have added credits in Subscriber. But where exactly should > I insert the SQL stat

Re: [SR-Users] Prepaid system using dialog and sqlops

2016-08-04 Thread Infinicalls Infinicalls
check for credits > 0 in Auth and disconnect the user if this condition is not met. regards Ganesh Kumar On 8/3/16, Daniel-Constantin Mierla wrote: > Hello, > > > On 02/08/16 07:36, Infinicalls Infinicalls wrote: >> Hi, >> I am still struggling to get a prepaid system

[SR-Users] Prepaid system using dialog and sqlops

2016-08-01 Thread Infinicalls Infinicalls
Hi, I am still struggling to get a prepaid system for my service. After installing SIREMIS, I am able to get the CDRs updated. But even after adding the cron settings, the call duration doesn't get updated. And also in http://lists.sip-router.org/pipermail/sr-users/2012-January/071517.html it

[SR-Users] cnxcc-web error

2016-07-31 Thread Infinicalls Infinicalls
Hi, I am really struggling to get the cnxcc-web installed. the /var/log/apache2/error.log says [Mon Aug 01 02:52:00.177725 2016] [:error] [pid 17534] [client 115.241.40.163:1851] PHP Deprecated: ServiceManagerAwareInterface is deprecated and will be removed in version 3.0, along with the Servi

[SR-Users] CNXCC compilation errors

2016-07-07 Thread Infinicalls Infinicalls
> > > On 07/07/16 11:33, Infinicalls Infinicalls wrote: >> Hi Daniel, >> >> Thanks. I figured out later :-) >> >> I am actually trying to implement prepaid system with dialog and call >> control. In Siremis, after a call the duration and other details

Re: [SR-Users] call_control not found error

2016-07-07 Thread Infinicalls Infinicalls
? regards Ganesh Kumar On 7/7/16, Daniel Tryba wrote: > On Wed, Jul 06, 2016 at 11:01:17PM +0530, Infinicalls Infinicalls wrote: >> " ERROR: [modparam.c:150]: set_mod_param_regex(): No module >> matching found >> " >> while adding modparam("ca

[SR-Users] call_control not found error

2016-07-06 Thread Infinicalls Infinicalls
Hi, I am trying to implement a prepaid system and get this error " ERROR: [modparam.c:150]: set_mod_param_regex(): No module matching found " while adding modparam("call_control", "disable", 1). I have already included pv and dialog in the modules list. Any idea? regards Ganesh Kumar __

[SR-Users] cgrates - cdrs_tables.sql error

2016-06-27 Thread Infinicalls Infinicalls
Hi, I am trying to install cgrates , but face this issue with database. " ERROR 1067 (42000) at line 7: Invalid default value for 'deleted_at' " is encountered in create_cdrs_tables.sql . Can somebody let me know how to overcome this? regards Ganesh Kumar __

Re: [SR-Users] Flaky & unstable RTP connections

2015-11-13 Thread Infinicalls Infinicalls
Hi, I have started RTP with # ./rtpproxy -F -l localhost -s udp:*:7890 and when I issue #netstat -pln | grep rtpp I get, udp0 0 0.0.0.0:78900.0.0.0:* 8759/rtpproxy I am using another similar instance of RTP also. Still my connection seems to be flaky. This do

Re: [SR-Users] Examples

2015-11-06 Thread Infinicalls Infinicalls
Hi, If you simply want to send calls to another provider and if that provider uses IP based auth, use WITH_PSTN and substitute the PSTN gw IP and port in the cfg file. This will send all the calls from your Kamailio server to the trunk directly. This will also avoid a asterisk/freeswitch layer to

Re: [SR-Users] Webpage Display

2015-11-05 Thread Infinicalls Infinicalls
Hi, I had the same problem, which was discussed here sometime back also. Try to update php GD and restart web server. It should work fine. thanks. regards Ganesh Kumar On 11/5/15, Ryan Holbein wrote: > Hello, > > > I have installed: > > > CentOS 6 > Kamailio v4.2 > >

[SR-Users] issues with RTP on different hosts & dispatcher mod

2015-11-01 Thread Infinicalls Infinicalls
Hi, I whenever I try to add rtpproxy to my config file modparam("nathelper", "rtpproxy_sock", "udp:firsthost:12221 udp:secondhost:12221") , I get this error. 0(45810) ERROR: [modparam.c:139]: set_mod_param_regex(): parameter of type <1> not found in module 0(45810) : [cfg.y:3435]: yyerro

Re: [SR-Users] Routing outgoing call from asterisk to registered SIP provider

2015-10-27 Thread Infinicalls Infinicalls
> It seems that when i route the call outbound, i get a 407. So i would like > to react to this using uac_auth() as described here: > http://kamailio.org/docs/modules/4.3.x/modules/uac.html#uac.f.uac_auth() > > Is this the right way? Can someone help me, giving hints and some working > example? Us

Re: [SR-Users] Siremis debug window

2015-10-08 Thread Infinicalls Infinicalls
rs, > Daniel > > On 07/10/15 05:03, Infinicalls Infinicalls wrote: >> Hi, >> The /var/log/apache2/other_vhosts_access.log says >> " >> 10.0.0.4:80 91.196.50.33 - - [07/Oct/2015:02:55:44 +] "GET >> http://testp5.mielno.lubin.pl/testproxy.ph

Re: [SR-Users] Siremis debug window

2015-10-06 Thread Infinicalls Infinicalls
Hi, The /var/log/apache2/other_vhosts_access.log says " 10.0.0.4:80 91.196.50.33 - - [07/Oct/2015:02:55:44 +] "GET http://testp5.mielno.lubin.pl/testproxy.php HTTP/1.1" 404 458 "-" "Mozilla/5.0 (Windows NT 5.1; rv:32.0) Gecko/20100101 Firefox/31.0" 10.0.0.4:80 115.241.39.15 - - [07/Oct/2015:0

Re: [SR-Users] Siremis debug window

2015-10-06 Thread Infinicalls Infinicalls
/siremis/ Still the same problem. Any idea? Thanks. regards Ganesh Kumar On 10/5/15, Daniel-Constantin Mierla wrote: > Hello, > > are there any errors in the logs of the web server? > > Cheers, > Daniel > > On 05/10/15 12:02, Infinicalls Infinicalls wrote: >> Hi,

Re: [SR-Users] Prepend values to PSTN gateway?

2015-10-05 Thread Infinicalls Infinicalls
Hi, Thanks. I added directly to $ru and it worked. Thanks again. regards Ganesh Kumar On 10/5/15, Infinicalls Infinicalls wrote: > Hi, > I am able to successfully connect to a PSTN gw from Kamailio. Now, he > says I need to prepend a value (eg.123123) before the number(ENUM) > a

[SR-Users] Prepend values to PSTN gateway?

2015-10-05 Thread Infinicalls Infinicalls
Hi, I am able to successfully connect to a PSTN gw from Kamailio. Now, he says I need to prepend a value (eg.123123) before the number(ENUM) and then only terminate the calls. Where do I add this? Can somebody help me? thanks Ganesh Kumar ___ SIP Expr

Re: [SR-Users] Siremis debug window

2015-10-05 Thread Infinicalls Infinicalls
sh Kumar On 10/5/15, Daniel-Constantin Mierla wrote: > Hello, > > look at the log file inside siremis/logs/ folder as well as in the > syslog files for your web server -- there you should get more details > about what went wrong. > > Cheers, > Daniel > > On 04/10/15 05:

[SR-Users] Siremis debug window

2015-10-03 Thread Infinicalls Infinicalls
Hi, I have installed Siremis and modified it for public user registration. I have added a new user. When I try to log in it opens up a new (debug) window and prints "1". It doesn't allow me to log in. But I can log in as admin;admin. And siremis/user/register doesn't load properly. It redirects t

Re: [SR-Users] Siremis-4.2.0 - error with Alias and login page

2015-10-02 Thread Infinicalls Infinicalls
; part? Also be sure that mod rewrite is enabled for apache. > > Cheers, > Daniel > > On 21/09/15 09:20, Infinicalls Infinicalls wrote: >> Hi, >> I tried installing siremis-4.2.0 following the step given.The Alias >> was not working. So, I installed it in the /html

[SR-Users] GeoIP and multiple rtp

2015-09-28 Thread Infinicalls Infinicalls
Hi, I have installed Kamailio in one instance and want to have multiple RTP instances for geo loadbalancing. I can understand that rtp_cluster will do that based on number of parameters, but geo_IP is missing. Can somebody tell me how do I go about with it? Is it possible to get with Kamailio's g

Re: [SR-Users] Kamailio PSTN with User/Pass authentication

2015-09-24 Thread Infinicalls Infinicalls
Hi, I am still struggling with setting up the PSTN auth part. Can anyone post a working code? Thanks. regards Ganesh Kumar On 9/23/15, Infinicalls Infinicalls wrote: > Hi, > I moved the uac_auth to the failure route and it compiled without > errors. Thanks. But the problem is call

Re: [SR-Users] Kamailio PSTN with User/Pass authentication

2015-09-23 Thread Infinicalls Infinicalls
Hi, I moved the uac_auth to the failure route and it compiled without errors. Thanks. But the problem is calls are not getting through. And users are unable to connect. Here is my config file. " # - UAC - modparam("uac","auth_realm_avp","$avp(s:auth_realm_avp)") modparam("uac","auth_usern

Re: [SR-Users] Kamailio PSTN with User/Pass authentication

2015-09-23 Thread Infinicalls Infinicalls
Hi, Uncommented / Added these two lines: # - mi_fifo params - modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo") # - ctl params - modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl") Still the same

Re: [SR-Users] Kamailio PSTN with User/Pass authentication

2015-09-23 Thread Infinicalls Infinicalls
20 > 70442 Stuttgart > GERMANY > www.bosch.com > > Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000; > Aufsichtsratsvorsitzender: Franz Fehrenbach; Geschäftsführung: Dr. Volkmar > Denner, > Dr. Stefan Asenkerschbaumer, Dr. Rolf Bulander, Dr. Stefan Ha

[SR-Users] Kamailio PSTN with User/Pass authentication

2015-09-21 Thread Infinicalls Infinicalls
Hi, I am trying to add PSTN gw for terminating my calls. I have changed the IP in the kamailio.cfg file, but this provider wants digest auth and so I need to pass api/pass to them. Can somebody guide me how and where to add the username+pass to the config file. thanks regards Ganesh Kuamr _

[SR-Users] Siremis-4.2.0 - error with Alias and login page

2015-09-21 Thread Infinicalls Infinicalls
Hi, I tried installing siremis-4.2.0 following the step given.The Alias was not working. So, I installed it in the /html folder and the installation was completed. But the login page looked strange. There was no logo displayed and the submit button was not there. Mine is apache 4.2 on Ubuntu LTS