BelledonneCommunications / flexisip

Linphone.org mirror for flexisip (git://git.linphone.org/flexisip.git)
http://flexisip.org
GNU Affero General Public License v3.0
140 stars 68 forks source link

flexisip for one domain #171

Open patel-cm opened 9 months ago

patel-cm commented 9 months ago

hii , i've followed the wiki link for installing flexisip for one domain but still not able to connect to flexisip server form linphone client even after getting no error on starting it. can someone help with this issue please. my configuration file is as follow :

PROXY SETTINGS ## [global] transports=sips:192.168.1.38:5061 sip:127.0.0.1:5060;transport=tcp

[module::Authentication] enabled=true auth-domains=192.168.1.38 available-algorithms=SHA-256 trusted-hosts=127.0.0.1 db-implementation=soci soci-backend=mysql soci-connection-string=db='flexisip' user=flexisip password='*****' host='localhost' soci-password-request=select password from accounts where where registerID= :id and domain= :domain;

[module::Registrar] enabled=true reg-domains=192.168.1.38 db-implementation=redis redis-server-domain=localhost redis-server-port=6379

max-expires=604800

[module::Router]

fork-late=true message-delivery-timeout=604800

[module::PushNotification]

[presence-server] enabled=true transports=sip:127.0.0.1:5065;transport=tcp

[module::DoSProtection] enabled=false

[module::Presence] enabled=true presence-server=sip:127.0.0.1:5065;transport=tcp

[conference-server] enabled=true transport=sip:127.0.0.1:6064;transport=tcp conference-factory-uris=sip:conference-factory@192.168.1.38 outbound-proxy=sip:127.0.0.1:5060;transport=tcp local-domains=192.168.1.38 database-backend=mysql database-connection-string=db='flexisip' user=flexisip password='*****' host='localhost'

ernesto-longwave commented 1 month ago

There's a bug in the [module::Authentication] configuration, bad sql query:

change soci-password-request=select password from accounts where where registerID= :id and domain= :domain;

with soci-password-request=select password from accounts where registerID= :id and domain= :domain;

Don't know if it will solve it for you, but you need to fix it