Ive tried to sort this out myself but feel its time to ask for help so I can move on. I'm not too far from the base of that steep learning curve, so I apolagise if I miss any important details.
I have Trixbox 2 rc1 and am struggling to connect a Dlink DG-104S to it. Its a MGCP device, from old posts on the net, it seems people had it running with various Asterisk setups.
I have no dial tone on the phone connected to it and it will not make or recieve a call. Although if I dial its extension number from a softphone it seems to ring on the softphone end for a split second before going to service unavailable.
The Telnet window connected to the device shows messages like this;
000066276 mgcpimh: invalid endpoint aaln/1@DG-104S
000066276 xgcpimh: CA message rejected
000066276 XGCP PARSE: illegal endpoint
it shows this any time I take any action, phone off hook, on hook, attempt to dial it.
asterisk cvvvvvr gives me this when I pick up the phone and dial 100 which is the extension number of a soft phone;
Connected to Asterisk 1.2.13 svn rev 47264 currently running on asterisk1 (pid = 2419)
Verbosity is at least 5
MGCP read: LI>
NTFY 65 aaln/1@[DG-104S] MGCP 1.0 NCS 1.0
N:[192.168.0.8]:2427
X:0
O: hd
from 192.168.0.7:2427
Verb: 'NTFY', Identifier: '65', Endpoint: 'aaln/1@[DG-104S]', Version: 'MGCP 1.0 '
4 headers, 0 lines
Handling request 'NTFY' on aaln/1@DG-104S
Transmitting:
200 65 OK
to 192.168.0.7:2427
-- Creating connection for aaln/1@DG-104S-1 in cxmode: sendrecv callid: 4707 8a490b92d8b8
We're at 192.168.0.8 port 15616
Answering with capability 4
Posting Request:
CRCX 68 aaln/1@DG-104S MGCP 1.0
C: 47078a490b92d8b8
L: p:20, a:PCMU
M: sendrecv
X: 0b92d8b8
v=0
o=root 2419 2419 IN IP4 192.168.0.8
s=session
c=IN IP4 192.168.0.8
t=0 0
m=audio 15616 RTP/AVP 0
a=rtpmap:0 PCMU/8000
to 192.168.0.7:2427
-- MGCP Asked to indicate tone: L/dl on aaln/1@DG-104S-1 in cxmode: sendrec v
Posting Request:
RQNT 69 aaln/1@DG-104S MGCP 1.0
X: 490a5fcb
R: L/hu(N),L/hf(N),D/[0-9#*](N)
S: L/dl
to 192.168.0.7:2427
-- MGCP mgcp_new(MGCP/aaln/1@DG-104S-1) created in state: Down
MGCP read: LI>
500 68 UNKNOWN ENDPOINT
from 192.168.0.7:2427
Verb: '500', Identifier: '68', Endpoint: 'UNKNOWN', Version: 'ENDPOINT'
1 headers, 0 lines
MGCP read:
500 69 UNKNOWN ENDPOINT
from 192.168.0.7:2427
Verb: '500', Identifier: '69', Endpoint: 'UNKNOWN', Version: 'ENDPOINT'
1 headers, 0 lines
-- MGCP mgcp_hangup(MGCP/aaln/1@DG-104S-1) on aaln/1@DG-104S
-- MGCP Asked to indicate tone: L/ro on aaln/1@DG-104S-1 in cxmode: sendrec v
Posting Request:
RQNT 70 aaln/1@DG-104S MGCP 1.0
X: 490a5fcb
R: L/hu(N),L/hf(N),D/[0-9#*](N)
S: L/ro
to 192.168.0.7:2427
MGCP read:
500 70 UNKNOWN ENDPOINT
from 192.168.0.7:2427
Verb: '500', Identifier: '70', Endpoint: 'UNKNOWN', Version: 'ENDPOINT'
1 headers, 0 lines
MGCP read: LI>
NTFY 66 aaln/1@[DG-104S] MGCP 1.0 NCS 1.0
N:[192.168.0.8]:2427
X:0
O: hu
from 192.168.0.7:2427
Verb: 'NTFY', Identifier: '66', Endpoint: 'aaln/1@[DG-104S]', Version: 'MGCP 1.0 '
4 headers, 0 lines
Handling request 'NTFY' on aaln/1@DG-104S
Transmitting:
200 66 OK
to 192.168.0.7:2427
-- MGCP handle_request(aaln/1@DG-104S-1) ast_channel already destroyed, rese nding DLCX.
-- Delete connection aaln/1@DG-104S-1 with new mode: recvonly on callid:
Posting Request:
DLCX 71 aaln/1@DG-104S MGCP 1.0
X: 0b92d8b8
to 192.168.0.7:2427
-- MGCP handle_request(aaln/1@DG-104S) set vmwi(-)
-- MGCP Asked to indicate tone: L/vmwi(-) on aaln/1@DG-104S-1 in cxmode: re cvonly
Posting Request:
RQNT 72 aaln/1@DG-104S MGCP 1.0
X: 490a5fcb
R: L/hd(N)
S: L/vmwi(-)
to 192.168.0.7:2427
MGCP read:
500 71 UNKNOWN ENDPOINT
from 192.168.0.7:2427
Verb: '500', Identifier: '71', Endpoint: 'UNKNOWN', Version: 'ENDPOINT'
1 headers, 0 lines
MGCP read:
500 72 UNKNOWN ENDPOINT
from 192.168.0.7:2427
Verb: '500', Identifier: '72', Endpoint: 'UNKNOWN', Version: 'ENDPOINT'
1 headers, 0 lines
asterisk1*CLI>
Dialling the device from the softphone gives me this;
-- Executing Dial("SIP/100-094c3748", "MGCP/aaln/1@DG-104S||tr") in new stac k
-- MGCP mgcp_request(aaln/1@DG-104S)
-- MGCP cw: 0, dnd: 0, so: 0, sno: 0
-- MGCP mgcp_new(MGCP/aaln/1@DG-104S-1) created in state: Down
-- MGCP mgcp_call(MGCP/aaln/1@DG-104S-1)
-- MGCP default ring
-- Creating connection for aaln/1@DG-104S-1 in cxmode: recvonly callid: 75ee 82e30b92d8b8
We're at 192.168.0.8 port 13288
Answering with capability 4
Posting Request:
CRCX 73 aaln/1@DG-104S MGCP 1.0
C: 75ee82e30b92d8b8
L: p:20, a:PCMU
M: recvonly
X: 0b92d8b8
v=0
o=root 2419 2419 IN IP4 192.168.0.8
s=session
c=IN IP4 192.168.0.8
t=0 0
m=audio 13288 RTP/AVP 0
a=rtpmap:0 PCMU/8000
to 192.168.0.7:2427
-- MGCP Asked to indicate tone: L/rg,L/ci(01/04/20/49,100,Soft Phone) on aa ln/1@DG-104S-1 in cxmode: recvonly
Posting Request:
RQNT 74 aaln/1@DG-104S MGCP 1.0
X: 490a5fcb
R: L/hd(N)
S: L/rg,L/ci(01/04/20/49,100,Soft Phone)
to 192.168.0.7:2427
-- Called aaln/1@DG-104S
-- MGCP/aaln/1@DG-104S-1 is ringing
MGCP read:
500 73 UNKNOWN ENDPOINT
from 192.168.0.7:2427
Verb: '500', Identifier: '73', Endpoint: 'UNKNOWN', Version: 'ENDPOINT'
1 headers, 0 lines
MGCP read:
500 74 UNKNOWN ENDPOINT
from 192.168.0.7:2427
Verb: '500', Identifier: '74', Endpoint: 'UNKNOWN', Version: 'ENDPOINT'
1 headers, 0 lines
-- MGCP mgcp_hangup(MGCP/aaln/1@DG-104S-1) on aaln/1@DG-104S
-- MGCP Asked to indicate tone: on aaln/1@DG-104S-1 in cxmode: recvonly
Posting Request:
RQNT 75 aaln/1@DG-104S MGCP 1.0
X: 490a5fcb
R: L/hd(N)
to 192.168.0.7:2427
-- MGCP mgcp_hangup(MGCP/aaln/1@DG-104S-1) on aaln/1@DG-104S set vmwi(-)
-- MGCP Asked to indicate tone: L/vmwi(-) on aaln/1@DG-104S-1 in cxmode: in active
Queueing Request:
RQNT 76 aaln/1@DG-104S MGCP 1.0
X: 490a5fcb
R: L/hd(N)
S: L/vmwi(-)
to 192.168.0.7:2427
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing GosubIf("SIP/100-094c3748", "0?docfu|1") in new stack
-- Executing NoOp("SIP/100-094c3748", "Voicemail is novm") in new stack
-- Executing GotoIf("SIP/100-094c3748", "1?s-CHANUNAVAIL|1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing PlayTones("SIP/100-094c3748", "congestion") in new stack
-- Executing Congestion("SIP/100-094c3748", "10") in new stack
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 2) exited non-zero on 'SIP/ 100-094c3748' in macro 'exten-vm'
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 2) exited non-zero on 'SIP/ 100-094c3748'
MGCP read:
500 75 UNKNOWN ENDPOINT
from 192.168.0.7:2427
Verb: '500', Identifier: '75', Endpoint: 'UNKNOWN', Version: 'ENDPOINT'
1 headers, 0 lines
Posting Queued Request:
RQNT 76 aaln/1@DG-104S MGCP 1.0
X: 490a5fcb
R: L/hd(N)
S: L/vmwi(-)
to 192.168.0.7:2427
MGCP read:
500 76 UNKNOWN ENDPOINT
from 192.168.0.7:2427
Verb: '500', Identifier: '76', Endpoint: 'UNKNOWN', Version: 'ENDPOINT'
1 headers, 0 lines
-- No command found on [DG-104S] for transaction 76. Ignoring...
asterisk1*CLI>
Member Since:
2006-12-19