[sr-dev] [tracker] Task opened: Kamailio 1.5 Dispatcher (minor) problem.

sip-router admin at sip-router.org
Mon Mar 8 02:38:55 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Geoff Mina (geoff2010) 

Attached to Project - sip-router
Summary - Kamailio 1.5 Dispatcher (minor) problem.  
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - I am experiencing an issue with Kamailio 1.5 and the Dispatcher module.  

I have 2 network cards

eth0 - public network interface.  I actually have eth0 and eth0:1 with two public IPs bound to the interface
eth1 - private network interface.   


The issue is that when I do not explicitly specify the "listen" configuration parameter, all my dispatch destinations NOT on the same public subnet get stuck in "P" state and never have calls routed to them.  I have two datacenters which house racks of asterisk servers.  My carriers send all SIP traffic to my primary SIP gateway, which then distributes the INVITE requests across the public internet to distribute the load between my two facilities.  If I leave out the listen statements below, the asterisk servers outside of my 208.X.X.X network won't receive calls.  When I include those lines, everything works fine.


###### Global Parameters #####
debug=1
log_stderror=no
log_facility=LOG_LOCAL0
fork=yes
children=16
disable_tcp=yes

#####
## These are the lines in question. 
## Remove and things break, include and we are OK
#####
listen=208.X.X.X:5060
listen=208.X.X.Y:5060
listen=10.3.200.201:5060

## Enable Dispatcher module ##
loadmodule "dispatcher.so"
modparam("dispatcher","flags",2)
modparam("dispatcher","db_url","mysql://appservers:appservers@localhost/kamailio")
modparam("dispatcher","table_name","dispatcher")
modparam("dispatcher","dst_avp","$avp(i:271)")
modparam("dispatcher","grp_avp","$avp(i:272)")
modparam("dispatcher","cnt_avp","$avp(i:273)")
modparam("dispatcher","ds_ping_method","OPTIONS")
modparam("dispatcher","ds_ping_from","sip:monitoring at mydomain.com")
modparam("dispatcher","ds_ping_interval",30)
modparam("dispatcher","ds_probing_mode",1)
modparam("dispatcher","ds_probing_threshhold", 2)



More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=40

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list