-
Notifications
You must be signed in to change notification settings - Fork 35
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
can not use local freeswitch #54
Comments
this section in the drachtio-server is the one that rejects the call:
|
that should only be the case if it is sending to a port that it is listening on (ie not allowed to loop a message to its own address:port) |
it seems so, I had the config/local.json file like this:
I changed it to this hoping the port setting works to avoid the loop:
now I see the drachtio do send the INVITE to the FS, the FS replies with 480 though, I applied the code snippet (hairpin) to the dialplan.xml as suggested by the instructions: `2022-09-09 13:36:35.194718 send 822 bytes to udp/[10.X.Y.Z]:5080 at 13:36:35.194635: 2022-09-09 13:36:35.202620 recv 735 bytes from udp/[10.X.Y.Z]:5080 at 13:36:35.202514: First time using FS, any idea? Much appreciated |
disregard my last comment, I put the code snippet in the wrong xml file (default.xml) , I put it now on the public.xml and now the call is received/accepted . I am having an issue with the codecs ( replied with 488) I need to see why,
once I have this SIPREC working I will look into that. other than that txs a lot! |
I set up the drachtio-siprec app, the drachtio sip server and the freeswitch (FS) on the same machine. FS uses UDP 5080 and the drachtio server uses UDP 5060. When receiving a call the app complains: "can not send request to myself"
{"level":30,"time":1662675450965,"msg":"received SIPREC invite: sip:10.134.4.199:5060","pid":308169,"hostname":"ip-10-134-4-199","callid":"[email protected]","v":1} {"level":50,"time":1662675450983,"msg":"can not send request to myself Error connecting incoming SIPREC call to freeswitch","pid":308169,"hostname":"ip-10-134-4-199","callid":"[email protected]","v":1} (node:308169) UnhandledPromiseRejectionWarning: can not send request to myself
can they be on the same server ? what is the recommended set up?
Txs!
The text was updated successfully, but these errors were encountered: