[SR-Users] kamailio dispatcher can not forward call in Amazon EC2

Huân Nguyễn Duy huancomputer at yahoo.com
Thu Dec 22 10:15:56 CET 2016


Hi everybody,
I have difficult time when configure load balancing for kamailio servers, i’m very appreciated if you help me figure out the problem.

This email contain images, if you can see images please read problem_detail.pdf.

I want to setup the system as following:

Both Load Balancer (LB) and Sip Server (SIP) run on Amazon EC2, (LB) using dispatcher module.
I enclose here config files for both (LB) and (SIP). Please view the files attached.

Figure (1) is what i saw when run kamctl dispatcher dump:


Figure (1)

I created 2 users with following information (extract from mysql cluster database, table subscriber):


Figure (2)


Then use sip client (Linphone) connect to (LB), registration is success, below is records from location table:

Figure (3)

But i can’t make call between 2 users. Below is data i get from wireshark:

Load Balancer:

Figure(4)


SIP Server: 

Figure (5)


I also enclose 2 files export from wireshark for detail information.








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0021.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: problem_detail.pdf
Type: application/pdf
Size: 310135 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0003.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0022.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dispatcher.list
Type: application/octet-stream
Size: 63 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0015.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0023.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio_Load_Balancer.cfg
Type: application/octet-stream
Size: 3519 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0016.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0024.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio_Sip_Server.cfg
Type: application/octet-stream
Size: 15641 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0017.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0025.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump_172_31_13_113.pcap
Type: application/octet-stream
Size: 286312 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0018.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0026.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump_172_31_11_35.pcap
Type: application/octet-stream
Size: 253212 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0019.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161222/26dd2adf/attachment-0027.html>


More information about the sr-users mailing list