[SR-Users] no destination sets in dispatcher module

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 11 13:44:17 CET 2013


Hello,

first you should use the config file from readme, it is more complete in 
what you need.

http://kamailio.org/docs/modules/stable/modules_k/dispatcher.html#id2523101

Then it seems there are no records in the database table dispatcher, or 
they are wrong. Can you paste them here?

Cheers,
Daniel

On 3/7/13 12:57 PM, Ali Jawad wrote:
> Hi
> I am using carrieroute to distribute traffic, I am not sure if there 
> is a way for carrieroute to detect if a destination is down or not, 
> but I read that the dispatcher module does that so I did compile it 
> into the existing kamailio installation and added the following settings :
>
> loadmodule "dispatcher.so"
>
>
>
> modparam("dispatcher","db_url", "mysql://connectionstring")
> modparam("dispatcher", "table_name", "dispatcher")
> modparam("dispatcher", "setid_col", "setid")
> modparam("dispatcher", "destination_col", "destination")
> modparam("dispatcher", "flags_col", "flags")
> modparam("dispatcher", "priority_col", "priority")
>
> modparam("dispatcher", "force_dst", 1)
>
> and under ROUTE
>
>
>         if ( !mf_process_maxfwd_header("10") )
>         {
>                 sl_send_reply("483","To Many Hops");
>                 drop();
>         };
>
> xlog("L_ERR","************************AFTER TOO MANY 
> HOPS******************************************* cr\n");
>
>         ds_select_dst("1", "0");
>
>         forward();
>         # t_relay();
>
>
> All I get is too many hops in ngrep and kamailio reports : (26467) 
> ERROR: dispatcher [dispatch.c:1564]: no destination sets
>
>
> In the DB I do have a setid 1 and sip:ip.of.carrer:5060 as destination.
>
>
> Regards
>
>
>
> _______________________________________________
> 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://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
  - http://conference.kamailio.com -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130311/66514c6e/attachment.htm>


More information about the sr-users mailing list