-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no media server with empty media server array in loadBalancer #1
Comments
yes, you can't just connect to any freeswitch, you need one configured with a specific dialplan and sip profile. try |
tried this image also, but this container dosent open any port hence fails connectivity with node "NetworkSettings": { |
Sorry, My bad, passing logger to the loadBalancer was creating an issue, removed logger and it is working fine, getting mediaserver also, but somehow, application still throwing an error, will get to you again after debugging, this issue can be closed now |
Hi,
I am using "callforamerica/freeswitch" docker image to run freeSwitch server, I successfully connect with freeSwitch but always get empty array of mediaservers (to get leastLoadedServer)
following is the loadBalancer object derived from "drachtio-fn-fsmrf-sugar"
LoadBalancer {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
active: [],
inactive: [ { address: '172.17.0.5', port: 8021, secret: 'ClueCon' } ],
servers: [ { address: '172.17.0.5', port: 8021, secret: 'ClueCon' } ],
mrf:
Mrf {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_srf:
Srf {
_events: [Object],
_eventsCount: 2,
_maxListeners: undefined,
_dialogs: Map {},
_tags: [],
_app: [Function] },
debugDir: undefined,
debugSendonly: undefined,
mediaservers: [],
localAddresses:
[ '10.0.75.1', '192.168.56.1', '192.168.100.67', '172.18.6.49' ],
customEvents: [] },
logger:
{ info: [Function: noop],
debug: [Function: noop],
error: [Function: noop] },
timerId:
Timeout {
_called: false,
_idleTimeout: 5000,
_idlePrev: [TimersList],
_idleNext: [TimersList],
_idleStart: 2028,
_onTimeout: [AsyncFunction: bound _init],
_timerArgs: undefined,
_repeat: null,
_destroyed: false,
[Symbol(unrefed)]: false,
[Symbol(asyncId)]: 27,
[Symbol(triggerId)]: 0 } }
The text was updated successfully, but these errors were encountered: