<br><br><div class="gmail_quote">On 24 January 2013 08:16, <span dir="ltr"><<a href="mailto:sr-users-request@lists.sip-router.org" target="_blank">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: Asterisk and dispatcher (SamyGo)<br>
2. Re: Asterisk and dispatcher (SamyGo)<br>
3. Kamailio Multi tenant as registrar server ony (andrea mucci)<br>
4. help me about siremis. (???)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 23 Jan 2013 22:26:26 -0800<br>
From: SamyGo <<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>><br>
Subject: Re: [SR-Users] Asterisk and dispatcher<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:CAJUJwtjjg%2BiGH6%2BQuDtRkEH%2Bmn%2BdkiObUFcPyNMKTv-0xHnYMQ@mail.gmail.com">CAJUJwtjjg+iGH6+QuDtRkEH+mn+dkiObUFcPyNMKTv-0xHnYMQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
You've metioned this already in your code:<br>
<br>
if(ds_is_from_list("1"))<br>
<br>
Is this not working for you?<br>
<br>
Regards,<br>
Sammy<br>
<br>
<br>
<br>
On Wed, Jan 23, 2013 at 10:44 AM, Ian French <<a href="mailto:fretec@gmail.com">fretec@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
>> I've been working my way through this tutorial (<br>
>> <a href="http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb</a>)<br>
>> and all it working well thanks. In the other benifits section you mention<br>
>> that this configuration can be used with multiple instances of Asterisk.<br>
>> I've configured my [TOASTERISK] route<br>
><br>
><br>
> route[TOASTERISK] {<br>
> ds_select_dst("1","4");<br>
> $sht(forw=>$ft)=$du;<br>
> sl_send_reply("100","Trying");<br>
> xlog("L_INFO","INVITE: INVITE [$tU] Passed to [$du] Asterisk<br>
> Cluster [$rm:$au].\n");<br>
> route(RELAY);<br>
> exit;<br>
><br>
> How can i achieve the same for my [FROMASTERISK] route as now with<br>
><br>
> asterisk.bindip = "x.x.x.x" desc "Asterisk IP Address"<br>
> asterisk.bindport = "5060" desc "Asterisk Port"<br>
><br>
> and<br>
><br>
> route[FROMASTERISK] {<br>
> if($si==$sel(cfg_get.asterisk.bindip)<br>
> && $sp==$sel(cfg_get.asterisk.bindport))<br>
> xlog("L_INFO","INVITE: INVITE Passed From [$fu] Asterisk<br>
> Cluster To [$rm:$au].\n");<br>
> return 1;<br>
> return -1;<br>
> }<br>
><br>
> This allows calls only from cfg_get.asterisk.bindip (single gateway) where<br>
> I would like gateways in the dispatcher list to be selected and marked as a<br>
> positive match<br>
><br>
> if(ds_is_from_list("1"))<br>
> $sht(forw=>$ft)=$si;<br>
> xlog("L_INFO","INVITE: INVITE Passed From [$fu] Asterisk<br>
> Cluster To [$rm:$au].\n");<br>
> return 1;<br>
> return -1;<br>
> }<br>
><br>
> Can you help?<br>
><br>
> Thanks in advance<br>
> Ian<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>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20130123/41c3694d/attachment-0001.htm" target="_blank">http://lists.sip-router.org/pipermail/sr-users/attachments/20130123/41c3694d/attachment-0001.htm</a>><br>
<br>
------------------------------</blockquote><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Sammy but I am confused what curly brackets am i missing<br>
</blockquote><div><br>if(ds_is_from_list("1"))<br>
$sht(forw=>$ft)=$si;<br>
xlog("L_INFO","INVITE: INVITE Passed From [$fu] Asterisk Cluster To [$rm:$au].\n");<br>
return 1;<br>
return -1;<br>
<br></div><div>Thks in advance <br> Ian</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Message: 2<br>
Date: Wed, 23 Jan 2013 22:29:25 -0800<br>
From: SamyGo <<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>><br>
Subject: Re: [SR-Users] Asterisk and dispatcher<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:CAJUJwtgMna%2B5S5WF29pn__xpb-NQoSyCCYibZyRRGGT2K0r3Ng@mail.gmail.com">CAJUJwtgMna+5S5WF29pn__xpb-NQoSyCCYibZyRRGGT2K0r3Ng@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Except that I find missing curly brackets for the if() condition which will<br>
always return 1/positive.<br>
<br>
<br>
On Wed, Jan 23, 2013 at 10:26 PM, SamyGo <<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> You've metioned this already in your code:<br>
><br>
> if(ds_is_from_list("1"))<br>
><br>
> Is this not working for you?<br>
><br>
> Regards,<br>
> Sammy<br>
><br>
><br>
><br>
> On Wed, Jan 23, 2013 at 10:44 AM, Ian French <<a href="mailto:fretec@gmail.com">fretec@gmail.com</a>> wrote:<br>
><br>
>> Hi,<br>
>>> I've been working my way through this tutorial (<br>
>>> <a href="http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb</a>)<br>
>>> and all it working well thanks. In the other benifits section you mention<br>
>>> that this configuration can be used with multiple instances of Asterisk.<br>
>>> I've configured my [TOASTERISK] route<br>
>><br>
>><br>
>> route[TOASTERISK] {<br>
>> ds_select_dst("1","4");<br>
>> $sht(forw=>$ft)=$du;<br>
>> sl_send_reply("100","Trying");<br>
>> xlog("L_INFO","INVITE: INVITE [$tU] Passed to [$du] Asterisk<br>
>> Cluster [$rm:$au].\n");<br>
>> route(RELAY);<br>
>> exit;<br>
>><br>
>> How can i achieve the same for my [FROMASTERISK] route as now with<br>
>><br>
>> asterisk.bindip = "x.x.x.x" desc "Asterisk IP Address"<br>
>> asterisk.bindport = "5060" desc "Asterisk Port"<br>
>><br>
>> and<br>
>><br>
>> route[FROMASTERISK] {<br>
>> if($si==$sel(cfg_get.asterisk.bindip)<br>
>> && $sp==$sel(cfg_get.asterisk.bindport))<br>
>> xlog("L_INFO","INVITE: INVITE Passed From [$fu] Asterisk<br>
>> Cluster To [$rm:$au].\n");<br>
>> return 1;<br>
>> return -1;<br>
>> }<br>
>><br>
>> This allows calls only from cfg_get.asterisk.bindip (single gateway)<br>
>> where I would like gateways in the dispatcher list to be selected and<br>
>> marked as a positive match<br>
>><br>
>> if(ds_is_from_list("1"))<br>
>> $sht(forw=>$ft)=$si;<br>
>> xlog("L_INFO","INVITE: INVITE Passed From [$fu] Asterisk<br>
>> Cluster To [$rm:$au].\n");<br>
>> return 1;<br>
>> return -1;<br>
>> }<br>
>><br>
>> Can you help?<br>
>><br>
>> Thanks in advance<br>
>> Ian<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>
>><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20130123/5d18521f/attachment-0001.htm" target="_blank">http://lists.sip-router.org/pipermail/sr-users/attachments/20130123/5d18521f/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 23 Jan 2013 22:37:54 +0100<br>
From: andrea mucci <<a href="mailto:amucci@hotmail.es">amucci@hotmail.es</a>><br>
Subject: [SR-Users] Kamailio Multi tenant as registrar server ony<br>
To: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
Message-ID: <BLU0-SMTP39596AF0F6043976A9F3860A8150@phx.gbl><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi Gurus,<br>
<br>
i have a basic question.<br>
<br>
i have a SIP PBX server that don't have the Multi Tenant Feature or Multi Company Feature.<br>
i now that Kamailio support this feature, so<br>
<br>
is possible to use the kamailio as registrar server and redirect all the services, SUBSCRIBE, NOTIFY, and RTP to the SIP PBX with corrects headers?<br>
<br>
Thanks for your help<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 24 Jan 2013 14:11:43 +0900 (KST)<br>
From: ??? <<a href="mailto:whdals0@naver.com">whdals0@naver.com</a>><br>
Subject: [SR-Users] help me about siremis.<br>
To: <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
Message-ID: <<a href="mailto:47ea2c39c02e2ff4796fa2165b853b45@tweb10.nm.nhnsystem.com">47ea2c39c02e2ff4796fa2165b853b45@tweb10.nm.nhnsystem.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I'm developers who trying to install siremis.<br>
<br>
will go in there and install siremis website.<br>
<br>
However, server-services -&gt; domain list by pressing will get the following error.<br>
?<br>
?<br>
<br>
<br>
What can I do to fix this?<br>
?<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20130124/6310de8e/attachment.htm" target="_blank">http://lists.sip-router.org/pipermail/sr-users/attachments/20130124/6310de8e/attachment.htm</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: 11.png<br>
Type: image/png<br>
Size: 53285 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20130124/6310de8e/attachment.png" target="_blank">http://lists.sip-router.org/pipermail/sr-users/attachments/20130124/6310de8e/attachment.png</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: 22.png<br>
Type: image/png<br>
Size: 19592 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20130124/6310de8e/attachment-0001.png" target="_blank">http://lists.sip-router.org/pipermail/sr-users/attachments/20130124/6310de8e/attachment-0001.png</a>><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 92, Issue 55<br>
****************************************<br>
</blockquote></div><br>