meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8.15k stars 2.47k forks source link

[1.x] Issue with outbound calls for SIP Gateway #3344

Closed Magmanat closed 5 months ago

Magmanat commented 6 months ago

What version of Janus is this happening on? Janus version: 1202 (1.2.2)

Have you tested a more recent version of Janus too? Yes, latest as of date

Was this working before? Just started trying Janus, so no.

Is there a gdb or libasan trace of the issue? No

Additional context When using janus demo sip gateway, I am able to register onto my 3cx sip server, and receive inbound calls. However the outbound calls do not seem to work.

I apologise if this is due to my lack of experience with using janus, if so please tell me where I went wrong

I launch janus with these sets of commands

janus --stun-server=stun.l.google.com:19302 -l -f -I -T --rtp-port-range=9000-20000

output is: https://pastebin.com/GhSKRhX2

when I successfully register, I get

Creating new session: 2497759145446199; 0x7f9210001e60 Creating new handle in session 2497759145446199: 58061226637125; 0x7f9210001e60 0x7f92100025b0

When I successfully receive an inbound call, these are my logs: https://pastebin.com/khW9kFnU

When I try to do an outbound call, I get this: https://pastebin.com/XKEznKuM

for some reason my softphone is not getting dialled from janus demo, but i can dial into my janus demo

fukemy commented 6 months ago

Hi how did you get a call from https://janus.conf.meetecho.com/demos/sip.html, I registered the account but can not get the incoming call

Magmanat commented 5 months ago

closing as I got it to work, problem was because I was running Janus on a WSL instance

fukemy commented 5 months ago

hi can u describe more, I tried to call to the sip address but I can not get the incoming call from Janus sip gate-way