Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-18 Thread Nishar M.H
Thanks Sammy. Really Sorry for that. until now i have never used Kamailio or other SIP servers. I am trying to learn that. Once again thanks for your support. Regards, Nishar Hamsa On Sun, Aug 18, 2013 at 2:40 PM, SamyGo wrote: > Oh Dear Nishar, > > Please google and see that there is an err

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-18 Thread SamyGo
Oh Dear Nishar, Please google and see that there is an error in the regexp which gives error..don't you see an extra ( on the start..make a regexp yourself..what's the big deal? I expect that at the very least you can write dial plan in asterisk to dial call TO kamailio peer when user 5XXX dials

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-18 Thread Nishar M.H
Thanks sammy. But when i added $rU=~"^([1-5]01[0-9]$" into that code it shows some errors. Thats why remove that line and used *if **(!($rU=~"^(\+|00)[1-9][0-9]{3,20}$")**) *there.* * * * Now, I have created users in : Asterisk Server (192.168.20.196) : Kamailio Server (192.168.20.208)

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-18 Thread SamyGo
Since you've removed the second regex then only way to make call reach to Asterisk via PSTN route is when you dial anything that matches the mentioned regexp in your email I.e 001456223456 and look at your Asterisk cli for anything. -- Sammy sent from a little smart phone On Aug 18, 2013 10:13 A

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-17 Thread Nishar M.H
HI, I have used *if**(!($rU=~"^(\+|00)[1-9][0-9]{3,20}$")**)* and now i am able to start the kamailio using kamctl start Here is the log below.: Aug 18 08:24:45 kamailio-VirtualBox /usr/local/sbin/kamailio[3757]: INFO: rr [rr_mod.c:159]: outbound module not available Aug 18 08:24:45 kamailio-V

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-17 Thread SamyGo
Check regular expression as the logs state. Modify with correct one. sent from a little smart phone On Aug 17, 2013 2:03 PM, "Nishar M.H" wrote: > HI, > > I have followed the same. > > When i run : > > *kamctl start* > > I got the same error like : > > *INFO: Starting Kamailio : > > ERROR: PID f

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-17 Thread Nishar M.H
HI, I have followed the same. When i run : *kamctl start* I got the same error like : *INFO: Starting Kamailio : ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed* Here is the log file : Aug 17 12:57:31 kamailio-VirtualBox kamailio: INFO: [tcp_main.c:4846]: init

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-17 Thread Nishar M.H
Thanks Sammy.. I will let you know once i test.. Once again Thanks. Regards, Nishar Hamsa. On Sat, Aug 17, 2013 at 11:29 AM, SamyGo wrote: > Dear Nishar, > > From the mentioned URL the configurations need the following changes. > > On the top start on configs you need to use: WITH_PSTN and

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-17 Thread SamyGo
Dear Nishar, >From the mentioned URL the configurations need the following changes. On the top start on configs you need to use: WITH_PSTN and might not need WITH_ASTERISK #!KAMAILIO #!define WITH_MYSQL#!define WITH_AUTH#!define WITH_USRLOCDB#!define WITH_PSTN The insert your asterisk IP in t

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-16 Thread Victor V. Kustov
Hi, Nishar M.H! > >ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio >start failed see log for details. do not use dumb copy/paste for kamailio config. -- WBR, Victor I use FREE operation system: 3.10.4-calculate GNU/Linux ___ SIP Exp

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-16 Thread nisharmh85
[SR-Users] Issues Kamailio 4.0 and Asterisk 11 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-15 Thread Nishar M.H
Design : 5 Buildings and Data Center Extensions : Building 1: 1000 to 1010 Building 2: 2000 to 2010 Building 3: 3000 to 3010 Building 4: 4000 to 4010 Building 5: 5000 to 5010 In Data Center I going to keep the both Asterisk and Kamailio Outside Calls are going through Asterisk Server. In Aster

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-15 Thread Nishar M.H
Hi, I have Two Servers. Asterisk PBX Server : 192.168.20.196 Kamailio Server : 192.168.20.208 No. of users created in Kamailio : 10 Using command : kamctl add 1000 12345 Here i am using Kamailio as SIP Server and Asterisk as media. In Asterisk Server i am going to use Digium Telephonic Card. So

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-15 Thread SamyGo
Hi again, Please explain the whole situation and your desired setup. Once the whole picture is clear then anyone will be able to guide you. As I can imagine you might need to change the DBURL mysql://XXX:XXX@DBSERVER/DBNAME string in your kamailio.cfg ensure that the Kamailio server access the DB

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-15 Thread Nishar M.H
Dear Sammy, Here if i use defualt kamailio.cfg, Its working fine. I have created user and registered with Zoiper Soft phone. The Issue i found when i change that kamailio.cfg . I copied and pasted in the kamailio.cfg. Some changes i made like IP and Databaes in that cfg file. Regards, Nishar Ha

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-15 Thread Nishar M.H
Hi Sammy, Thanks for support. What are the changes do i have to make id DB here. One more thing i have to ask you is how the Asterisk communicate with Kamailio SIP users. Do i have to create SIP trunk in Asterisk ? Regards, Nishar Hamsa. On Thu, Aug 15, 2013 at 3:49 PM, SamyGo wrote: > Hi Ni

Re: [SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-15 Thread SamyGo
Hi Nishar, Once you've separate Asterisk and Kamailio installation you'll need to modify the variables and DB parameters in kamailio.cfg. Simply copying the configurations file may give you errors. Please see the log files "syslog" or "messages" according to your OS and see why starting of kamaili

[SR-Users] Issues Kamailio 4.0 and Asterisk 11

2013-08-15 Thread Nishar M.H
Hi, I am Trying to make a Seperate SIP Server (Kamailio) and Asterisk PBX Server. http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb But in Above link the issue is actually both are in same server. But I need to make seperate server SIP Authentication and Asterisk. I tri