Closed herbiel closed 3 years ago
It is a custom SIP header that appears on the INVITE to fs, which is used to tell freeswitch where to make the outbound ESL socket connection to.
so can i set it manually? i have run drachtio-server on 9022 port
you are misunderstanding what it is used for. It is the ip and port that drachtio-fsmrf (within your node application) is listening on, which will be a randomly chosen available tcp port. There is rarely a need to change it
can you share example for use sip_h_X-esl-outbound?
This is all handled by drachtio-fsrmf. Its an under the covers kind of thing, so I am confused about what exactly you are looking for. Perhaps you could start by describing the actual problem you are having?
i want to use softphone to reg on fs, and want to use google tts or google_transcribe on call
when you say you want the softphone to register on the FS -- you specifically want freeswitch to handle the registrations?
If so, this library (drachtio-fsmrf) is irrelevant for your purpose and you should not use it. This library is intended for use only for scenarios where you want to treat freeswitch a big dumb media server, and you are handling registrations in your own node.js applications.
It sounds like you just need to use my open source tts plugins in freeswitch without drachtio
Many do not use drachtio server, but I am not good at nodejs and hope to use your google module in other ways
what is sip_h_X-esl-outbound var ?