[SR-Users] set host as inactive and probing in dispatcher

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 13 09:31:10 CET 2011


Hello,

On 12/12/11 7:38 PM, Uri Shacked wrote:
> I installed with those instructions once... from scratch....
> I thought mayby there is a quicker way (like update in windows 
> msi..... :-)) when my system is already configured nicely..
it is even better than windo$. For example, if you use debian (or 
ubuntu), just set the apt repository to our debs server where we have 
nighlty builds, see this page:

    * http://www.kamailio.org/wiki/packages/debs

The you do:

apt-get install kamailio kamailio-mysql-modules ...

Whenever you need upgrade, just do:

apt-get update
apt-get upgrade

The better part is that the uninstall really works and you don't get 
trojans/viruses.

Cheers,
Daniel

> Thanks,
> I must say i think kamailio is great !! a real SIP application server, 
> perfect for many implementations.
> Cheers!
>
>
> On Mon, Dec 12, 2011 at 2:51 PM, Daniel-Constantin Mierla 
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     Hello,
>
>
>     On 12/12/11 1:35 PM, Uri Shacked wrote:
>>
>>     thanks,
>>     since i am not so good with linux... :-( sorry....
>>     after doing GIT like :
>>       # git clone --depth 1 git://git.sip-router.org/sip-router  <http://git.sip-router.org/sip-router>  kamailio
>>       # cd kamailio
>>       # git checkout -b 3.2 origin/3.2
>>       # make FLAVOUR=kamailio cfg
>>     what do i do next?
>>     make install?
>
>     yes, make install. You can read a tutorial about installing
>     kamailio 3.2 from git at:
>
>       * http://www.kamailio.org/wiki/install/3.2.x/git
>
>     Cheers,
>     Daniel
>
>
>>     On Mon, Dec 12, 2011 at 12:18 PM, Daniel-Constantin Mierla
>>     <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>
>>         Hello,
>>
>>         you have to upgrade to 3.2.1 (or use the latest git branch
>>         3.2). The current keepalive mechanism was refactored a bit
>>         after the release of 3.2.0, as they were overlapping cases.
>>
>>         Cheers,
>>         Daniel
>>
>>
>>         On 12/12/11 11:13 AM, Uri Shacked wrote:
>>>         version :
>>>         version: kamailio 3.2.0 (i386/linux) e19bb8
>>>         flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS,
>>>         USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
>>>         SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX,
>>>         FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER,
>>>         USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
>>>         ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
>>>         MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT
>>>         PKG_SIZE 4MB
>>>         poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
>>>         id: e19bb8
>>>         compiled on 18:43:11 Oct 24 2011 with gcc 4.1.2
>>>         and with log level 3 :
>>>         13(11897) ERROR: <script>:  OSPRPL is 408 now disable
>>>         destination
>>>         13(11897) ERROR: *** cfgtrace:
>>>         c=[/usr/local/etc/kamailio/kamailio.cfg] l=1266 a=26
>>>         n=ds_mark_dst
>>>         13(11897) DEBUG: dispatcher [dispatch.c:1994]: mode [1] grp
>>>         [47] dst [sip:10.10.21.28]
>>>         13(11897) ERROR: *** cfgtrace:
>>>         c=[/usr/local/etc/kamailio/kamailio.cfg] l=1267 a=26 n=xlog
>>>         13(11897) ERROR: <script>:  after disabling destination
>>>
>>>         On Mon, Dec 12, 2011 at 11:14 AM, Daniel-Constantin Mierla
>>>         <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>>
>>>             Hello,
>>>
>>>             cn you give output of 'kamailio -V' and the log messages
>>>             with debug=3 in config file?
>>>
>>>             Note that from the moment you set the gateway in some
>>>             state and you dump the list via mi, there can be
>>>             keepalives that change the state.
>>>
>>>             Cheers,
>>>             Daniel
>>>
>>>
>>>             On 12/11/11 3:42 PM, Uri Shacked wrote:
>>>>             Hi,
>>>>             i tried to change the ds_probing_mode as well. it
>>>>             didn't do any good.
>>>>             i need the probing mode to be set to 1 anyway.
>>>>             so,
>>>>             any ideas?
>>>>             here is the cfg again:
>>>>             after the failure route i turn to this route
>>>>             "route[OSPRPLERR] {
>>>>             xlog("$C(rg) SCRIPT : in OSPRPLERR $ru $C(xx)\n");
>>>>             if($avp(OSPRPL)!=404) {
>>>>              xlog("$C(rg) OSPRPL is $avp(OSPRPL)*now disable
>>>>             destination* $C(xx)\n");
>>>>              ds_mark_dst("AP");
>>>>              xlog("$C(rg) *after disabling destination* $C(xx)\n");
>>>>              }"
>>>>             here is the log:
>>>>
>>>>             13(5760) ERROR: <script>:  SCRIPT : in OSPRPLERR
>>>>             sip:36264529 at 10.10.21.29
>>>>             <mailto:sip%3A36264529 at 10.10.21.29>
>>>>             13(5760) ERROR: *** cfgtrace:
>>>>             c=[/usr/local/etc/kamailio/kamailio.cfg] l=1264 a=17 n=if
>>>>             13(5760) ERROR: *** cfgtrace:
>>>>             c=[/usr/local/etc/kamailio/kamailio.cfg] l=1259 a=26 n=xlog
>>>>             13(5760) ERROR: <script>:  OSPRPL is 408 *now disable
>>>>             destination
>>>>             *13(5760) ERROR: *** cfgtrace:
>>>>             c=[/usr/local/etc/kamailio/kamailio.cfg] l=1260 a=26
>>>>             n=ds_mark_dst
>>>>             13(5760) ERROR: *** cfgtrace:
>>>>             c=[/usr/local/etc/kamailio/kamailio.cfg] l=1261 a=26 n=xlog
>>>>             13(5760) ERROR: <script>: *after disabling destination*
>>>>
>>>>             now i check the dispatcher list status:
>>>>             kamctl fifo ds_list
>>>>
>>>>             SET:: 47
>>>>                     URI:: sip:10.10.21.20 flags=AX priority=25
>>>>             attrs=OSP_B4
>>>>                     URI:: sip:10.10.21.22 flags=AX priority=25
>>>>             attrs=OSP_B3
>>>>                     URI:: sip:10.10.21.23 flags=AX priority=25
>>>>             attrs=OSP_B2
>>>>                     URI:: sip:10.10.21.21 flags=AX priority=25
>>>>             attrs=OSP_B1
>>>>             SET:: 41
>>>>                     URI:: sip:10.10.21.29 flags=AX priority=25
>>>>             attrs=OSP_A4
>>>>                     URI:: sip:10.10.21.27 flags=AX priority=25
>>>>             attrs=OSP_A3
>>>>                     URI:: sip:10.10.21.25 flags=AX priority=25
>>>>             attrs=OSP_A1
>>>>                     URI:: sip:10.10.21.24 flags=AX priority=25
>>>>             attrs=OSP_A2
>>>>
>>>>
>>>>             _______________________________________________
>>>>             SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>>             sr-users at lists.sip-router.org  <mailto:sr-users at lists.sip-router.org>
>>>>             http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>             -- 
>>>             Daniel-Constantin Mierla --http://www.asipto.com  <http://www.asipto.com/>
>>>             http://linkedin.com/in/miconda  -- http://twitter.com/miconda
>>>
>>>
>>>
>>>
>>>         _______________________________________________
>>>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>         sr-users at lists.sip-router.org  <mailto:sr-users at lists.sip-router.org>
>>>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>         -- 
>>         Daniel-Constantin Mierla --http://www.asipto.com  <http://www.asipto.com/>
>>         http://linkedin.com/in/miconda  -- http://twitter.com/miconda
>>
>>
>
>     -- 
>     Daniel-Constantin Mierla --http://www.asipto.com  <http://www.asipto.com/>
>     http://linkedin.com/in/miconda  -- http://twitter.com/miconda
>
>
>
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111213/4dfcf4a8/attachment-0001.htm>


More information about the sr-users mailing list