Skip to content
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

Using example #58

Closed
chiefMarlin opened this issue Nov 10, 2023 · 1 comment
Closed

Using example #58

chiefMarlin opened this issue Nov 10, 2023 · 1 comment

Comments

@chiefMarlin
Copy link

chiefMarlin commented Nov 10, 2023

Hey, im playing around with the proxy, im trying to put in in between an asterisk box and a sip client, however none of the messages make it through

proxysip % go run . -ip=127.0.0.1:55600 -dst 111.111.11.111:55600

Nov 10 15:35:56.865082 INF Runtime cpus=8
Nov 10 15:35:56.865839 INF Server routes setuped
Nov 10 15:35:56.866605 INF Http server started address=:8080
Nov 10 15:36:00.598282 WRN Server > SIP request handler not found
Nov 10 15:36:00.598282 WRN Server > SIP request handler not found
Nov 10 15:36:03.683762 ERR RequestWithContext failed error="udp conn 127.0.0.1:55600 err. write udp 127.0.0.1:55600->111.111.11.111:55600: sendto: can't assign requested address. transaction transport error"
Nov 10 15:36:04.183834 ERR RequestWithContext failed error="udp conn 127.0.0.1:55600 err. write udp 127.0.0.1:55600->111.111.11.111:55600: sendto: can't assign requested address. transaction transport error"
Nov 10 15:36:05.185031 ERR RequestWithContext failed error="udp conn 127.0.0.1:55600 err. write udp 127.0.0.1:55600->111.111.11.111:55600: sendto: can't assign requested address. transaction transport error"
Nov 10 15:36:07.188550 ERR RequestWithContext failed error="udp conn 127.0.0.1:55600 err. write udp 127.0.0.1:55600->111.111.11.111:55600: sendto: can't assign requested address. transaction transport error"
Nov 10 15:36:10.769874 WRN Server > SIP request handler not found
Nov 10 15:36:11.193927 ERR RequestWithContext failed error="udp conn 127.0.0.1:55600 err. write udp 127.0.0.1:55600->111.111.11.111:55600: sendto: can't assign requested address. transaction transport error"

@emiago
Copy link
Owner

emiago commented Nov 11, 2023

the -ip parameter represents external IP so try using your external inteface IP (non loopback)

@emiago emiago closed this as completed Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants