Re: [SR-Users] Kamailio.cfg file woes

2011-10-24 Thread Klaus Darilion
btw: it is really preferred to use the default config file. Creating a new one from scratch or simpler ones is only useful if you really understand all details of Kamailio and SIP. Otherwise your config can easily be insecure and exploited. regards klaus On 18.10.2011 14:26, Peter Schrock wro

Re: [SR-Users] best way to start kamailio at boot

2011-10-24 Thread Klaus Darilion
Test the startupscript if they work: /etc/init.d/kamailio start /etc/init.d/kamailio stop If this works, then make sure to have proper symlinks from the corresponding runlevel to the startup script. Do it manually or use the chkconfig tool. klaus On 24.10.2011 08:00, Uri Shacked wrote: hi

Re: [SR-Users] BYE processing info

2011-10-24 Thread Klaus Darilion
If Kamailio founds out that the topmost Router header is itself, then it will remove it and use the nexxt Route header or the Request-URI. If Kamailio fails to recognize that the Route header is itself, then it will forward the request to the address in the Route header (loop). (considering t

[SR-Users] BYE processing info (was: sip-router listen address)

2011-10-24 Thread Claudio Furrer
Hello, How does sip-router process this BYE? BYE sip:321456@:7080 SIP/2.0 Via: SIP/2.0/UDP :5060;branch=z9hG4bK7fb4c2325A0617FF From: ;tag=19C8FD8-72B75A25 To: "321456" :7080>;tag=as28777464 Route: ;lr=on> CSeq: 1 BYE Call-ID: 2b9512ef7ea290f07c54db1808e32211@:7080 Contact: :5060>

Re: [SR-Users] onsend_route and replies

2011-10-24 Thread Asgaroth
OK, I found the documentation on this routing block, it is only executed when forwarding requests. (Core Cookbook) :) On 24/10/2011 21:15, Asgaroth wrote: > Hi All, > > Does the onsend route get executed for all messages? I'm just performing > some xlog's in the onsend_route, but I'm not seeing it

[SR-Users] onsend_route and replies

2011-10-24 Thread Asgaroth
Hi All, Does the onsend route get executed for all messages? I'm just performing some xlog's in the onsend_route, but I'm not seeing it being called for replies. Currently my onsend_route looks like: onsend_route { xlog("onsend_route : $rm : Recieve Details $si:$sp -> $Ri:$Rp");

[SR-Users] IM

2011-10-24 Thread roman dmytriv
Can some one point me in the right direction to kamailio config template and steps needed to enable and configure IM? thank you Roman ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://l

Re: [SR-Users] kamctl dialplan addrule

2011-10-24 Thread Arthur Alkhasyan
Thank you Daniel, I tried different combination but still have problem: kamctl dialplan addrule \\ 10 100 1 ^123+ 0 '^(123)(.+)' \2 ERROR: dialplan - unexpected 100 for operating matching. Use 'equal' or 'regexp'! I proceed with PHPMyAdmin and was able to insert values directly to db: kamctl di

Re: [SR-Users] best way to start kamailio at boot

2011-10-24 Thread Alex Balashov
On 10/24/2011 10:00 AM, Uri Shacked wrote: hi again, i found out that on my centos 5.4 the command start-stop-daemon that the /etc/init.d/kamailio uses is not recognized. it is kamailio3.2 any ideas? Sounds like you are trying to use the Debian init script. Use the one intended for CentOS/Re

Re: [SR-Users] best way to start kamailio at boot

2011-10-24 Thread Uri Shacked
hi again, i found out that on my centos 5.4 the command start-stop-daemon that the /etc/init.d/kamailio uses is not recognized. it is kamailio3.2 any ideas? On Mon, Oct 24, 2011 at 3:03 PM, Uri Shacked wrote: > Hi, > what is the best way to start kamailio at boot? > the example in the insta

Re: [SR-Users] best way to start kamailio at boot

2011-10-24 Thread Alex Balashov
On 10/24/2011 09:23 AM, Sammy Govind wrote: if chkconfig isn't working you can add the kamalio startup command in etc/rc.local file. Yes, but there is a reason why a service management layer exists on all Linux distributions. Many things can go wrong by starting complex services ad hoc that

Re: [SR-Users] best way to start kamailio at boot

2011-10-24 Thread Sammy Govind
if chkconfig isn't working you can add the kamalio startup command in etc/rc.local file. On Mon, Oct 24, 2011 at 6:03 PM, Uri Shacked wrote: > Hi, > what is the best way to start kamailio at boot? > the example in the install is not working for me > > > >

[SR-Users] best way to start kamailio at boot

2011-10-24 Thread Uri Shacked
Hi, what is the best way to start kamailio at boot? the example in the install is not working for me ___ 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/

Re: [SR-Users] module version mismatch for carrierroute

2011-10-24 Thread Uri Shacked
Hi, i found out the mistake i made... didn't add the carrierroute to the include modules when making cfg file. thanks ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cg

Re: [SR-Users] module version mismatch for carrierroute

2011-10-24 Thread davy van de moere
As a quicky, just remove (or move) that folder /usr/local/lib/kamailio/ modules/ and have the 3.2 redo the installation of modules. (make install) 2011/10/24 Henning Westerholt > On Monday 24 October 2011, Uri Shacked wrote: > > i installed 3.2 from git. > > when starting kamailio i get t

Re: [SR-Users] Daily tarballs not being created anymore?

2011-10-24 Thread Henning Westerholt
On Saturday 22 October 2011, Daniel-Constantin Mierla wrote: > [..] > > Is there a reason why tarball creation has ceased? > > none that I am aware, perhaps when there was some distro upgrade or so. > I can look into it if nobody else does it, but probably not that very soon. Hey, i'll take a lo

Re: [SR-Users] module version mismatch for carrierroute

2011-10-24 Thread Henning Westerholt
On Monday 24 October 2011, Uri Shacked wrote: > i installed 3.2 from git. > when starting kamailio i get the following: > "ERROR: module version mismatch for > /usr/local/lib/kamailio/modules/carrierroute.so; core: kamailio 3.2.0 > (i386/linux); module: kamailio 3.1.4 (i386/linux)" any ideas what t

[SR-Users] module version mismatch for carrierroute

2011-10-24 Thread Uri Shacked
Hi, i installed 3.2 from git. when starting kamailio i get the following: "ERROR: module version mismatch for /usr/local/lib/kamailio/modules/carrierroute.so; core: kamailio 3.2.0 (i386/linux); module: kamailio 3.1.4 (i386/linux)" any ideas what to do? thanks, Uri ___