[SR-Users] Issues Kamailio 4.0 and Asterisk 11
Nishar M.H
nisharmh85 at gmail.com
Sat Aug 17 11:03:25 CEST 2013
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: <core>
[tcp_main.c:4846]: init_tcp: using epoll_lt as the io watch method (auto
detected)
Aug 17 12:57:31 kamailio-VirtualBox /usr/local/sbin/kamailio[2110]: INFO:
rr [../outbound/api.h:49]: Failed to import bind_ob
Aug 17 12:57:31 kamailio-VirtualBox /usr/local/sbin/kamailio[2110]: INFO:
rr [rr_mod.c:159]: outbound module not available
Aug 17 12:57:31 kamailio-VirtualBox /usr/local/sbin/kamailio[2110]: INFO:
usrloc [hslot.c:53]: locks array size 512
Aug 17 12:57:31 kamailio-VirtualBox /usr/local/sbin/kamailio[2110]: INFO:
auth [auth_mod.c:350]: auth: qop set, but nonce-count (nc_enabled) support
disabled
Aug 17 12:57:31 kamailio-VirtualBox /usr/local/sbin/kamailio[2110]: ERROR:
<core> [rvalue.c:3026]: Bad regular expression
"^([1-5]01[0-9]$"(853,50-853,66)
Aug 17 12:57:31 kamailio-VirtualBox /usr/local/sbin/kamailio[2110]: ERROR:
<core> [route.c:1214]: fixing failed (code=-1) at
cfg:/usr/local/etc/kamailio//kamailio.cfg:857
Some issues is there with the pattern.
Regards,
Nishar Hamsa
On Sat, Aug 17, 2013 at 11:29 AM, SamyGo <govoiper at gmail.com> 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 might not need
> WITH_ASTERISK
>
> #!KAMAILIO
> #!define WITH_MYSQL#!define WITH_AUTH#!define WITH_USRLOCDB#!define WITH_PSTN
>
> The insert your asterisk IP in the following line:
>
> pstn.gw_ip = "<AsteriskIPHere>" desc "PSTN GW Address"
>
>
> Next your route[LOCATION] is called after the route[PSTN] from default
> config file so you'll have to put proper regexp/conditions to avoid your
> regular Extension to Extension calls to go out to PSTN-Asterisk.
>
> Now in route[PSTN] add another condition to return from PSTN route when a
> local extension is dialed.
>
> if(!($rU=~"^(\+|00)[1-9][0-9]{3,20}$") || $rU=~"^([1-5]01[0-9]$"))
>
> return;
>
>
> That will ensure that your regular extensions set don't route out to PSTN
> asterisk and infact will enter the route[LOCATION] where a user location DB
> search is made and an online user is found for the dialed destination and a
> successful call will be established.
>
> I think that should be all for now.
>
> BR,
> Sammy
>
>
>
>
>
> On Fri, Aug 16, 2013 at 4:06 AM, Victor V. Kustov <coyote at bks.tv> wrote:
>
>> 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 Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
--
Thanks & Regards,
--------------------------------------------------------------------------------------------
*Nishar Hamsa
*
--------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130817/bd015cd8/attachment.html>
More information about the sr-users
mailing list