I’m unsuccesfully trying to configure a iax channel over a tcp tunnel. I’m doing that in order to make phone call from work (my laptop) where almost everything is bloqued. I stay there at night and would like to reach my asterisk home to place calls. My asterisk server at home is run on a NSLU2.
I’m doing this:
On the client/laptop (with restricted web access):
socat udp4-listen:4570,reuseaddr,fork tcp:localhost:4571& ssh -L 4570:localhost:4570 server
exten => 21,1,Dial(IAX2/nslu2/0);grepo
exten => 21,n,Hangup()
On the server:
exten => 0,1,Dial(SIP/1000)
exten => 0,n,Hangup()
It does not work.
When placing a call, I got an error message in the asterisk client:
-- Executing [21@fromsoftphone:1] Dial("SIP/2000-085f6ea8", "IAX2/nslu2/0") in new stack -- Called nslu2/0 [Sep 29 08:43:07] NOTICE: chan_iax2.c:7561 socket_process: Rejected connect attempt from 192.168.1.99, who was trying toreach '0@' [Sep 29 08:43:07] WARNING: chan_iax2.c:7771 socket_process: Call rejected by 192.168.1.99: No authority found -- Hungup 'IAX2/nslu2-11004' == Everyone is busy/congested at this time (1:0/0/1) -- Executing [21@fromsoftphone:2] Hangup("SIP/2000-085f6ea8", "") in new stack == Spawn extension (fromsoftphone, 21, 2) exited non-zero on 'SIP/2000-085f6ea8'
ps: I made a first test using a direct connection in order to test RSA authentication and it was working with my laptop at home on the same local network as my asterisk server.