Open 0xffffa opened 1 week ago
currently sipgo is choosing one of interfaces you have, and it is not taking in account routing. You have to tell sipgox phone on which interface to listen to avoid above problem.
currently sipgo is choosing one of interfaces you have, and it is not taking in account routing. You have to tell sipgox phone on which interface to listen to avoid above problem.
But this would require an open port regardless of the interface right?
well all other network issues you have to take in account. it is p2p
well all other network issues you have to take in account. it is p2p
Okay sorry I'm a bit new to voip and sip systems. But to clarify for anyone else wondering, I need to setup a pbx to get around this issue and use that as the interface?
The ultimate endgoal is to use my sip trunk provider to make a call to pstn from golang. From my knowledge its sip client -> siptrunk provider -> sip trunk handles outbound call to pstn and relays back to you or is this incorrect?
routing back is not simple in case of call. So that is why you need to make sure you are reachable or your provider. Specially due to NAT. SIP uses Contact header to let other side how to be reachable, which is basically here limited to binding on interface. but there are also other. I think I have built in some NAT handling in sipgox.
Anyway checkout also diago, as it allows also external (public IP) transport build. sipgox is very limited.
You may see this on diago.Transport
structure, but you can also override default client
I would like to fix any issue more on diago project than here.
When attempting to make an outbound call using a sip server from an unreachable network I get the error below, is it possible to make an outbound call from an unreachable network?
The code used: