Connect a Grandstream ext to a TLS ext problem


I have a Grandstream GXP2000 cabled in using unsecured UPD and CSipSimple on my Android cell phone using TLS/TCP. Both extensions can make make and receive calls fine and the cell can call the Grandstream extension but the Grandstream can’t initiate a connection to the cell.

When I dial the cell’s extension the display on the Grandstream says:
Call Failled
Reason Code:503

At the CLI I get:
Everyone is busy/congested at this time.

I did get the No SRTP module loaded error on the CLI so I reinstalled after installing libsrtp0-dev and that error is quiet now.

The extension to the cell looks like:
exten => 111,1,Set(CHANNEL(secure_bridge_signalling)=1)
same => n,Set(CHANNEL(secure_bridge_media)=1)
same => n,Dial(${KEV_CELL_TLS})

I’m new at this and I just reinstalled Asterisk for some other problems. I’m quite sure this was working before I did the reinstall but I can’t really say for certain - too many experiments and lessons. Any tips will be appreciated.



I removed the Set(CHANNEL(secure_bridge_*)=1) and it works fine. Now the questions I have are:

1)Is my documentation old and I don’t need to set those parameters?
2) Or do I no longer have encryption on that extension?

It seems to me when I was playing with it before, if I omitted the parameters it errorred out and failed to connect.

Any feedback on this would be appreciated.



Hi there,

I suggest you just use UDP or TCP instead of TLS. It will avoid some problems.