<br><br><div class="gmail_quote">On Thu, Jul 14, 2011 at 9:51 AM, <span dir="ltr"><<a href="mailto:sr-users-request@lists.sip-router.org">sr-users-request@lists.sip-router.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Send sr-users mailing list submissions to<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:sr-users-request@lists.sip-router.org">sr-users-request@lists.sip-router.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:sr-users-owner@lists.sip-router.org">sr-users-owner@lists.sip-router.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of sr-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: memory requirements for a registrar server<br>
(Henning Westerholt)<br>
2. Re: kamailio - proxy/relay (Sunny)<br>
3. Syntax error - custom parameter (Skyler)<br>
4. Syntax error - custom parameter (Skyler)<br>
5. Re: kamailio - proxy/relay (I?aki Baz Castillo)<br>
6. Re: topoh module - query about operation (Pete Kelly)<br>
7. Re: Call several different subscribers, first to pickup gets<br>
the call. (Klaus Darilion)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 14 Jul 2011 00:27:18 +0200<br>
From: Henning Westerholt <<a href="mailto:Henning.Westerholt@1und1.de">Henning.Westerholt@1und1.de</a>><br>
Subject: Re: [SR-Users] memory requirements for a registrar server<br>
To: Fabian Borot <<a href="mailto:fborot@hotmail.com">fborot@hotmail.com</a>><br>
Cc: "<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>" <<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>><br>
Message-ID:<br>
<D3B36E097FE87E44A5CDE7C1AB61682C3CED2EC9@EXCHANGE03.webde.local><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Fabian wrote:<br>
> ok, great...this is, I think, the relevant section on config.h<br>
<br>
Hi Fabian,<br>
<br>
> #define PKG_MEM_SIZE 4<br>
> #define PKG_MEM_POOL_SIZE PKG_MEM_SIZE*1024*1024 /*!< used only if PKG_MALLOC is defined*/<br>
> #define SHM_MEM_SIZE 32 /*!< used if SH_MEM is defined*/<br>
><br>
><br>
> SHM_MEM_SIZE 32 --> this looks like 32 MB<br>
> and PKG_MEM_SIZE 4 looks like Bytes, that is why the PKG_MEM_POOL_SIZE is multiplied by 1024*1024 to get MBs I assume.<br>
<br>
Correct, 4MB and 32MB. I'll have a look to to the file to document it a bit better in the next days.<br>
<br>
You don't need to change config.h to change the shared pool. There exists a cmd line parameter,<br>
have a look to 'man kamailio' or run 'kamailio -h' for more informations. The specified values are<br>
just used in the case nothing else is configured. They are also some cfg script parameters, i think.<br>
<br>
Regards,<br>
<br>
Henning<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 13 Jul 2011 23:39:57 +0100<br>
From: Sunny <<a href="mailto:no7find@gmail.com">no7find@gmail.com</a>><br>
Subject: Re: [SR-Users] kamailio - proxy/relay<br>
To: <a href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
Cc: "SIP Router - Kamailio \(OpenSER\) and SIP Express Router \(SER\)<br>
- Users Mailing List" <<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>><br>
Message-ID:<br>
<CAE_sWtEE4qv5u7bBWyhMSAjMWYB6hKpO6G=_<a href="mailto:DGyoCK7Jt0OKEA@mail.gmail.com">DGyoCK7Jt0OKEA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Daniel,<br>
<br>
I was using:<br>
$ru = $(ru{re.subst,/[KAMAILIO]/[IP-PBX ]/});<br>
t_relay_to_udp("[IP-PBX ]", "5060");<br>
but your way looks better.<br>
<br>
This works fine in this direction:<br>
[UA] --> [KAMAILIO] --> [IP-PBX ]<br>
<br>
but not in this:<br>
[UA] <-- [KAMAILIO] <-- [IP-PBX ]<br>
because Kamailio is not keeping the location of the UA.<br>
<br>
I want to register UA's on Kamailio, but the authentication is done by<br>
[IP-PBX]...<br>
So Kamailio as Outbound Proxy + Location Server ... any idea on how I can<br>
achieve this configuration?<br>
<br>
Thanks,<br>
Sunny<br>
<br>
<br>
<br>
On 8 July 2011 09:38, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br>
<br>
> Hello,<br>
><br>
><br>
> On 7/5/11 8:46 PM, Sunny wrote:<br>
><br>
>> Hi list,<br>
>><br>
>> I'm trying to configure kamailio to work as a OBP (Outbound Proxy).<br>
>><br>
>> Basically KAMAILIO receive requests from UAs, after that it acts like a<br>
>> client and send those requests to the IP-PBX.<br>
>> On the same way the responses are forwarded from IP-PBX to the UAs.<br>
>><br>
>><br>
>> [UA] --> [KAMAILIO] --> [IP-PBX ]<br>
>> [UA] <-- [KAMAILIO] <-- [IP-PBX ]<br>
>><br>
>> Following possible call flow:<br>
>><br>
>> [UA ] -> [KAMAILIO] SIP/SDP Request: INVITE sip:<a href="tel:12345678909" value="+12345678909">12345678909</a>@[KAMAILIO],<br>
>> with session description<br>
>> [KAMAILIO] -> [UA ] SIP Status: 100 Trying<br>
>> [KAMAILIO] -> [IP-PBX ] SIP/SDP Request: INVITE sip:<a href="tel:12345678909" value="+12345678909">12345678909</a>@[IP-PBX<br>
>> ], with session description<br>
>> [IP-PBX ] -> [KAMAILIO] SIP Status: 100 Trying<br>
>> [IP-PBX ] -> [KAMAILIO] SIP Status: 407 Proxy Authentication Required<br>
>> [KAMAILIO] -> [IP-PBX ] SIP Request: ACK sip:<a href="tel:12345678909" value="+12345678909">12345678909</a>@[IP-PBX ]<br>
>> [KAMAILIO] -> [UA ] SIP Status: 407 Proxy Authentication Required<br>
>> [UA ] -> [KAMAILIO] SIP Request: ACK sip:<a href="tel:12345678909" value="+12345678909">12345678909</a>@[KAMAILIO]<br>
>> [UA ] -> [KAMAILIO] SIP/SDP Request: INVITE sip:<a href="tel:12345678909" value="+12345678909">12345678909</a>@[KAMAILIO],<br>
>> with session description<br>
>> [KAMAILIO] -> [UA ] SIP Status: 100 Trying<br>
>> [KAMAILIO] -> [IP-PBX ] SIP/SDP Request: INVITE sip:<a href="tel:12345678909" value="+12345678909">12345678909</a>@[IP-PBX<br>
>> ], with session description<br>
>> [IP-PBX ] -> [KAMAILIO] SIP Status: 100 Trying<br>
>> [IP-PBX ] -> [KAMAILIO] SIP/SDP Status: 183 Session Progress, with<br>
>> session description<br>
>> [KAMAILIO] -> [UA ] SIP/SDP Status: 183 Session Progress, with<br>
>> session description<br>
>> [IP-PBX ] -> [KAMAILIO] SIP/SDP Status: 180 Ringing, with session<br>
>> description<br>
>> [KAMAILIO] -> [UA ] SIP/SDP Status: 180 Ringing, with session<br>
>> description<br>
>> (...)<br>
>> [UA ] -> [KAMAILIO] SIP Request: CANCEL sip:<a href="tel:12345678909" value="+12345678909">12345678909</a>@[KAMAILIO]<br>
>> [KAMAILIO] -> [UA ] SIP Status: 200 OK<br>
>> [KAMAILIO] -> [IP-PBX ] SIP Request: CANCEL sip:<a href="tel:12345678909" value="+12345678909">12345678909</a>@[IP-PBX ]<br>
>> [IP-PBX ] -> [KAMAILIO] SIP Status: 200 OK<br>
>> [IP-PBX ] -> [KAMAILIO] SIP Status: 487 Request Terminated<br>
>> [KAMAILIO] -> [IP-PBX ] SIP Request: ACK sip:<a href="tel:12345678909" value="+12345678909">12345678909</a>@[IP-PBX ]<br>
>> [KAMAILIO] -> [UA ] SIP Status: 487 Request Terminated<br>
>> [UA ] -> [KAMAILIO] SIP Request: ACK sip:<a href="tel:12345678909" value="+12345678909">12345678909</a>@[KAMAILIO]<br>
>><br>
>> Wondering if anyone could help to make this configuration work?<br>
>><br>
><br>
> what I understood from above is that you need to update the domain in R-URI<br>
> from [kamailio] to [ip-pbx]. This is easy to do:<br>
><br>
> $rd = [ip-pbx];<br>
><br>
> You have to do this for initial requests (register, invite).<br>
><br>
> If you need to update From header URI, look at uac module,<br>
> uac_replace_from().<br>
><br>
> Cheers,<br>
> Daniel<br>
><br>
> --<br>
> Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
> Kamailio Advanced Training, Oct 10-13, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a><br>
> <a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20110713/5e933286/attachment-0001.htm" target="_blank">http://lists.sip-router.org/pipermail/sr-users/attachments/20110713/5e933286/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 13 Jul 2011 15:59:30 -0700<br>
From: Skyler <<a href="mailto:skchopperguy@gmail.com">skchopperguy@gmail.com</a>><br>
Subject: [SR-Users] Syntax error - custom parameter<br>
To: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
Message-ID: <1310597970.7281.7.camel@vbox><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
Hi all,<br>
<br>
I'm getting this error when using custom parameters and I don't why.<br>
when I use #!define WITH_ASTERISK the script throws the below error and<br>
when I remove the #!define WITH_ASTERISK the script loads without<br>
errors. I'm running kamailio-3.1.4-2.1.i386.rpm on Centos 5.6<br>
<br>
<br>
Does anyone know why this might be happening?<br>
<br>
parse error in config file //etc/kamailio/kamailio.cfg, line 123, column<br>
16: syntax error<br>
0(2907) : <core> [cfg.y:3412]: parse error in config<br>
file //etc/kamailio/kamailio.cfg, line 123, column 16: unknown config<br>
variable<br>
0(2907) : <core> [cfg.y:3409]: parse error in config<br>
file //etc/kamailio/kamailio.cfg, line 123, column 17-19:<br>
ERROR: bad config file (3 errors)<br>
<br>
<br>
kamailio.cfg::: lines 122-127<br>
<br>
#!ifdef WITH_ASTERISK<br>
asterisk.bindip = "127.0.0.1" desc "Asterisk IP Address"<br>
asterisk.bindport = "5070" desc "Asterisk Port"<br>
kamailio.bindip = "209.15.226.21" desc "Kamailio IP Address"<br>
kamailio.bindport = "5060" desc "Kamailio Port"<br>
#!endif<br>
# This follows as described here:<br>
<a href="http://by-miconda.blogspot.com/2010/04/kamailio-30x-dyk-07-custom-cfg.html" target="_blank">http://by-miconda.blogspot.com/2010/04/kamailio-30x-dyk-07-custom-cfg.html</a><br>
<br>
<br>
Thanks in advance<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 13 Jul 2011 16:00:28 -0700<br>
From: Skyler <<a href="mailto:skchopperguy@gmail.com">skchopperguy@gmail.com</a>><br>
Subject: [SR-Users] Syntax error - custom parameter<br>
To: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
Message-ID: <1310598028.7281.8.camel@vbox><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
Hi all,<br>
<br>
I'm getting this error when using custom parameters and I don't why.<br>
when I use #!define WITH_ASTERISK the script throws the below error and<br>
when I remove the #!define WITH_ASTERISK the script loads without<br>
errors. I'm running kamailio-3.1.4-2.1.i386.rpm on Centos 5.6<br>
<br>
<br>
Does anyone know why this might be happening?<br>
<br>
parse error in config file //etc/kamailio/kamailio.cfg, line 123, column<br>
16: syntax error<br>
0(2907) : <core> [cfg.y:3412]: parse error in config<br>
file //etc/kamailio/kamailio.cfg, line 123, column 16: unknown config<br>
variable<br>
0(2907) : <core> [cfg.y:3409]: parse error in config<br>
file //etc/kamailio/kamailio.cfg, line 123, column 17-19:<br>
ERROR: bad config file (3 errors)<br>
<br>
<br>
kamailio.cfg::: lines 122-127<br>
<br>
#!ifdef WITH_ASTERISK<br>
asterisk.bindip = "127.0.0.1" desc "Asterisk IP Address"<br>
asterisk.bindport = "5070" desc "Asterisk Port"<br>
kamailio.bindip = "209.15.226.21" desc "Kamailio IP Address"<br>
kamailio.bindport = "5060" desc "Kamailio Port"<br>
#!endif<br>
# This follows as described here:<br>
<a href="http://by-miconda.blogspot.com/2010/04/kamailio-30x-dyk-07-custom-cfg.html" target="_blank">http://by-miconda.blogspot.com/2010/04/kamailio-30x-dyk-07-custom-cfg.html</a><br>
<br>
<br>
Thanks in advance<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 14 Jul 2011 01:36:32 +0200<br>
From: I?aki Baz Castillo <<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
Subject: Re: [SR-Users] kamailio - proxy/relay<br>
To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -<br>
Users Mailing List" <<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>><br>
Message-ID:<br>
<CALiegfn2DCz+RmLsFPos-rXRHDyKM_XP1G=<a href="mailto:BM%2B6V2NcJtWAhUA@mail.gmail.com">BM+6V2NcJtWAhUA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
2011/7/14 Sunny <<a href="mailto:no7find@gmail.com">no7find@gmail.com</a>>:<br>
> but not in this:<br>
> [UA] <-- [KAMAILIO] <-- [IP-PBX? ]<br>
> because Kamailio is not keeping the location of the UA.<br>
><br>
> I want to register UA's on Kamailio, but the authentication is done by<br>
> [IP-PBX]...<br>
> So Kamailio as Outbound Proxy + Location Server ... any idea on how I can<br>
> achieve this configuration?<br>
<br>
Use Path mechanism so Kamailio would add a "Path" header in the<br>
REGISTER before relaying it to the PBX. But the PBX MUST support Path<br>
mechanism (RFC 3327).<br>
<br>
Anyhow, for sure you would do much better by making Kamailio also<br>
acting as a registrar. Why do you need the PBX to be the registrar?<br>
<br>
--<br>
I?aki Baz Castillo<br>
<<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Thu, 14 Jul 2011 08:01:57 +0100<br>
From: Pete Kelly <<a href="mailto:pkelly@gmail.com">pkelly@gmail.com</a>><br>
Subject: Re: [SR-Users] topoh module - query about operation<br>
To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -<br>
Users Mailing List" <<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>><br>
Message-ID:<br>
<<a href="mailto:CAEWH9M-5qhuqAkFcOLyntn%2BwgdnZZRRhHRPqPZOHG9%2BH3q8PVQ@mail.gmail.com">CAEWH9M-5qhuqAkFcOLyntn+wgdnZZRRhHRPqPZOHG9+H3q8PVQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I see, I'll give it a try and check the result then. Thanks.<br>
<br>
On 13 July 2011 16:43, Klaus Darilion <<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>> wrote:<br>
<br>
><br>
><br>
> Am 13.07.2011 16:56, schrieb Pete Kelly:<br>
> > Hi<br>
> ><br>
> > I have been researching the topoh module which I understand is stateless<br>
> > and can persist across a server restart.<br>
> ><br>
> > From what I can gather it does this by adding some extra, encrypted<br>
> > headers to the INVITE as it passes through the proxy- is this correct?<br>
><br>
> IIRC then there are no extra headers, but the existing headers will be<br>
> "mangled".<br>
><br>
> regards<br>
> klaus<br>
><br>
> _______________________________________________<br>
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20110714/0872bc9b/attachment-0001.htm" target="_blank">http://lists.sip-router.org/pipermail/sr-users/attachments/20110714/0872bc9b/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Thu, 14 Jul 2011 09:51:18 +0200<br>
From: Klaus Darilion <<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>><br>
Subject: Re: [SR-Users] Call several different subscribers, first to<br>
pickup gets the call.<br>
To: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
Message-ID: <<a href="mailto:4E1E9FF6.9040905@pernau.at">4E1E9FF6.9040905@pernau.at</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
<br>
<br>
Am 13.07.2011 18:18, schrieb Henrik Aagaard S?rensen:<br>
> I'm new to Kamailio.<br>
><br>
> Is it possible to have a group of subscribers (with different<br>
> extensions) that you can call? And the first to pickup the call gets it.<br>
<br>
Yes. That's called "parallel forking".<br>
<br>
regards<br>
Klaus<br></blockquote><div><br></div><div>I've googled a lot after <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">parallel forking in Kamailio and figured out that the best way of implementing this is by adding a new table in MySQL called fork where I somehow store all users into groups. Correct?</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">How does I retrieve this table in kamailio.cfg and call the different subscribers?</span></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
<br>
End of sr-users Digest, Vol 74, Issue 38<br>
****************************************<br>
</blockquote></div><br>