Hi,
I have a server at my office, and another on the other side of the world, interconected via VPN (therefore same network).
at my office with asterisk 1.24 and the remote one with 1.07, both with debian Sarge.
they work fine with SIP phones and ZAP devices, that is when a call comes in on a ZAP device on the local server goes to a SIP phone of it’s own well.
I can’t test now the other server but used to work like that.
I am trying to convey a call from the local server via IAX2 to the other server to take ZAP 1 an call out.
I did the following:
On the local server
extensions.conf
[from-pstn]
exten => s,1,Answer()
exten => s,2,DIAL(IAX2/CPC:1234@remoteIP/${EXTEN})
On the remote server
IAX.conf:
[CPC]
type=friend
username=CPC
secret=1234
context=trusted
host=10.201.0.1
extensions.conf:
[trusted]
exten => s,1,Answer()
exten => s,2,Dial(ZAP/1)
the call goes to the remote server and gets answered there but just can’t find the zap device:
goes:
app_dial.c:759 dial_exec: Unable to create channel of type ‘ZAP’
does anyone has any clue about this?
could this happens if the pstn line is disconnected?
thanks