Skip to content

Instantly share code, notes, and snippets.

@daniel-barlow
Created August 13, 2015 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniel-barlow/56d00d2cbc8a5195a1ef to your computer and use it in GitHub Desktop.
Save daniel-barlow/56d00d2cbc8a5195a1ef to your computer and use it in GitHub Desktop.
flexisip config for ec2
[global]
debug=true
#debug=false
# substitute your ec2 external ip for 52.x.y.x and your internal addr for 10.x.y.z
aliases=sip.52.19.37.223.xip.io
transports=sip:sip.52.19.37.223.xip.io;maddr=10.40.0.165
[module::Registrar]
enabled=true
reg-domains=sip.52.19.37.223.xip.io
db-implementation=internal
[module::Authentication]
enabled=true
filter=from.uri.domain contains 'sip.52.19.37.223.xip.io'
auth-domains=sip.52.19.37.223.xip.io
db-implementation=file
datasource=/etc/flexisip/users.db.txt
[module::NatHelper]
enabled=true
filter=from.uri.domain contains 'sip.52.19.37.223.xip.io'
fix-record-routes=true
[module::mediarelay]
enabled=true
filter=true
sdp-port-range-min=4000
sdp-port-range-max=8000
[module::Transcoder]
enabled=false
@Emil-Suleymanli
Copy link

Hello,

Have you been able to connect with Linphone (or any other client)? With the above config on EC2, Flexisip is running, but not able to connect any user in users.db.txt file with Linphone client.

My users.db.txt file:
version:1

test1@sip.52.x.y.z.xip.io clrtxt:abcxyz ;
test2@sip.52.x.y.z.xip.io clrtxt:abcxyz ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment