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

Error when using free2.voipgateway.org #41

Open
TheNetStriker opened this issue Jan 13, 2016 · 3 comments
Open

Error when using free2.voipgateway.org #41

TheNetStriker opened this issue Jan 13, 2016 · 3 comments

Comments

@TheNetStriker
Copy link

I'am trying to use sipcmd with the free2.voipgateway.org server using the following commandline:

sipcmd -u 123546789 -c mypw -P sip -w free2.voipgateway.org -x "c987654321;ws3000;vtest.wav;h"

I always get the error "OnReleased: reason: EndedBySecurityDenial". What could be the problem? Here is the whole output:

Starting sipcmd
in debug mode
Manager
Init
initialising SIP endpoint...
Listening for SIP signalling on 0.0.0.0:TestChanAudio
TestChanAudio
5060
SIP listener up
registered as sip:123456789@free2.voipgateway.org
Created LocalEndPoint
Main
## Call ##
TestPhone::Main: calling "987654321" using gateway "free2.voipgateway.org" at Wed Jan 13 16:51:04 2016

Setting up a call to: sip:987654321@free2.voipgateway.org
LocalEndpoint::MakeConnection
LocalEndpointCreateConnection
LocalConnection
OnIncomingConnection: token=L5d00ab8b2
connection set up to sip:987654321@free2.voipgateway.org
TestPhone::Main: calling "sip:987654321@free2.voipgateway.org" for 0
OnReleased: reason: EndedBySecurityDenial
OnReleased: reason: EndedBySecurityDenial
OnClearedCall
## Wait: waiting for 500ms ##
Wait: wait done
## Voice audiofile=smokealert.wav ##
PlaybackAudioFile
PlaybackAudioFile: state 3
## Hangup ##
Hangup: at Wed Jan 13 16:51:05 2016
@xxxmtixxx
Copy link

Old post, I know, but I have the same issue. I'm using RingCentral though. Did you ever figure this out?

@xxxmtixxx
Copy link

I was able to resolve this by removing the "h" at the end and moving to CallCentric, though I'm not entirely sure if the "h" is needed just yet in my script. Regardless, from my standpoint, my issue is resolved. Hope this helps.

@kgh-85
Copy link

kgh-85 commented Dec 16, 2020

I also ran into this error and got a solution: When you have some/any virtual network interface(s) it will lead to this error.
I checked with ifconfig and after i.e. ifconfig docker0 down it worked.

After analyzing the debug opal logs with the -o option of sipcmd I think the root cause is, that sipcmd is sending requests with all available interface IPs to the sip server which then will cause "EndedBySecurityDenial". This will also happen if you specify the ip with the -l param (local address to listen on)

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

3 participants