os11k / dispatcher Goto Github PK
View Code? Open in Web Editor NEWSimple config file of Kamailio as Loadblancer for calls and registrations
Simple config file of Kamailio as Loadblancer for calls and registrations
Hi. I am trying to setup a dispatcher to my 2 Asterisk boxes (192.168.1.232 & 192.168.1.233). Kamailio has the IP 192.168.1.218. I did install Kamailio from deb repo (5.3) and it is up and running. 4 extensions (101, 102, 103, 104) have been created and can talk to each other.
I am looking for Kamailio to have all the registrations and forward the media services to the Asterisk boxes.
Once i did the changes of kamailio.cfg and added the dispatcher.list, kamailio does not start and journactl -xe shows the following errors: errors.txt
The following 2 are the kamailio.cfg and dispatcher.list
dispatcher.list.txt
kamailio.cfg.txt
In each Asterisk box i have in sip.conf
[kamailio]
host=192.168.1.218
port=5060
insecure=invite
type=friend
context=from-pstn
i would appreciate any help available to fix the issue, please.
I have tested the kamailio.cfg, but have rejected by Freeswitch, such as registration is not working as details below:
/usr/sbin/kamailio[12009]: WARNING: sanity [sanity.c:612]: check_cl(): content length header missing in request
hi Guy,
i config my kamailio with his config, and it working 1 kamailio --> dispatcher 1 asterisk
i register 2 my sip asterisk account via kamailio work fine.
But i config my kamailio with his config, and it working 1 kamailio --> dispatcher 2 asterisk(loadbalancing), it not working , i can't register and call two between 2 device
When FreeSwitch is used as the backend, media cannot be established for calls between internal accounts.
Hi,
I have recently installed kamailio on my linux debian and while making calls it is showing errors in the logs. Kindly help me with this.
Oct 30 18:11:41 balaji-Virtualbox kamailio[2781]: 27(2781) ERROR: {2 2 INVITE PS1XPCblBqE35MWzOu8awA..} db_mysql [km_dbase.c:122]: db_mysql_submit_query(): driver error on query: Unknown column 'src_user' in 'field list' (1054)
Oct 30 18:11:41 balaji-Virtualbox kamailio[2781]: 27(2781) ERROR: {2 2 INVITE PS1XPCblBqE35MWzOu8awA..} [db_query.c:244]: db_do_insert_cmd(): error while submitting query
Oct 30 18:11:41 balaji-Virtualbox kamailio[2781]: 27(2781) ERROR: {2 2 INVITE PS1XPCblBqE35MWzOu8awA..} acc [acc.c:490]: acc_db_request(): failed to insert into database
Oct 30 18:12:07 balaji-Virtualbox kamailio[2783]: 29(2783) NOTICE: {2 3 BYE PS1XPCblBqE35MWzOu8awA..} acc [acc.c:287]: acc_log_request(): ACC: transaction answered: timestamp=1635597727;method=BYE;from_tag=eb9fe459;to_tag=xy0ppd4;call_id=PS1XPCblBqE35MWzOu8awA..;code=200;reason=Ok;src_user=123;src_domain=192.168.1.8;src_ip=192.168.1.3;dst_ouser=456;dst_user=456;dst_domain=192.168.1.4
Oct 30 18:12:07 balaji-Virtualbox kamailio[2783]: 29(2783) ERROR: {2 3 BYE PS1XPCblBqE35MWzOu8awA..} db_mysql [km_dbase.c:122]: db_mysql_submit_query(): driver error on query: Unknown column 'src_user' in 'field list' (1054)
Oct 30 18:12:07 balaji-Virtualbox kamailio[2783]: 29(2783) ERROR: {2 3 BYE PS1XPCblBqE35MWzOu8awA..} [db_query.c:244]: db_do_insert_cmd(): error while submitting query
Oct 30 18:12:07 balaji-Virtualbox kamailio[2783]: 29(2783) ERROR: {2 3 BYE PS1XPCblBqE35MWzOu8awA..} acc [acc.c:490]: acc_db_request(): failed to insert into database
Thanks,
Balaji
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.