I've been trying on and off again for several months to get my 7960 (MGCP 5.3) working with * with no success. As you know, working MGCP configs for non-ATA Ciscos seem to be very hard to come by. I'm not shooting for the moon here, just trying to get dialtone at the moment.
The problem I'd like to focus on today: I only get dialtone when I go off-hook (via the Speaker button, if it matters) maybe once every 3 tries. If it fails, or after I've successfully gotten the dialtone once, the phone will not get it again until it has been power-cycled.
This is a failed attempt below. Config files are at the bottom. See my next message for a successful attempt.
===================== initial registration: =====================
MGCP read: RSIP 1 [EMAIL PROTECTED] MGCP 1.0 RM: restart
from 192.168.144.225:2427MGCP read: RSIP 1 [EMAIL PROTECTED] MGCP 1.0 RM: restart
from 192.168.144.225:2427Verb: 'RSIP', Identifier: '1', Endpoint: '[EMAIL PROTECTED]', Version: 'MGCP 1.0'
2 headers, 0 lines
Handling request 'RSIP' on [EMAIL PROTECTED]
Transmitting:
200 1 OK
to 192.168.144.225:2427
-- MGCP Asked to indicate tone: on [EMAIL PROTECTED] in cxmode: inactive
Posting Request:
RQNT 2 [EMAIL PROTECTED] MGCP 1.0
X: 76d91892
R: hd(N)
to 192.168.144.225:2427
MGCP read:
200 2 OK
from 192.168.144.225:2427MGCP read: 200 2 OK
from 192.168.144.225:2427Verb: '200', Identifier: '2', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
============== going offhook: ==============
MGCP read: NTFY 2 [EMAIL PROTECTED] MGCP 1.0 X: 76d91892 O: hd
from 192.168.144.225:2427MGCP read: NTFY 2 [EMAIL PROTECTED] MGCP 1.0 X: 76d91892 O: hd
from 192.168.144.225:2427Verb: 'NTFY', Identifier: '2', Endpoint: '[EMAIL PROTECTED]', Version: 'MGCP 1.0'
3 headers, 0 lines
Handling request 'NTFY' on [EMAIL PROTECTED]
Transmitting:
200 2 OK
to 192.168.144.225:2427
-- Creating connection for [EMAIL PROTECTED] in cxmode: sendrecv callid: 5d77f7f876d91892
We're at 192.168.144.100 port 16348
Answering with capability 4
Answering with capability 8
Posting Request:
CRCX 3 [EMAIL PROTECTED] MGCP 1.0
C: 5d77f7f876d91892
L: p:20, a:PCMU, a:PCMA
M: sendrecv
X: 76d91892
v=0
o=root 16680 16680 IN IP4 192.168.144.100
s=session
c=IN IP4 192.168.144.100
t=0 0
m=audio 16348 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
to 192.168.144.225:2427
-- MGCP Asked to indicate tone: dl on [EMAIL PROTECTED] in cxmode: sendrecv
Posting Request:
RQNT 4 [EMAIL PROTECTED] MGCP 1.0
X: 76d91892
R: hu(N), hf(N), D/[0-9#*](N)
S: dl
to 192.168.144.225:2427
-- MGCP mgcp_new(MGCP/[EMAIL PROTECTED]) created in state: Down
MGCP read:
200 3 OK
I: 0
v=0 o=- 7960 7960 IN IP4 192.168.144.225 s=MGCP Call c=IN IP4 192.168.144.225 t=0 0 m=audio 26536 RTP/AVP 0 18 a=rtpmap:0 PCMU/8000
from 192.168.144.225:2427MGCP read: 200 3 OK I: 0
v=0 o=- 7960 7960 IN IP4 192.168.144.225 s=MGCP Call c=IN IP4 192.168.144.225 t=0 0 m=audio 26536 RTP/AVP 0 18 a=rtpmap:0 PCMU/8000
from 192.168.144.225:2427Verb: '200', Identifier: '3', Endpoint: 'OK', Version: '(null)'
2 headers, 7 lines
Capabilities: us - 12, them - 260, combined - 4
Non-codec capabilities: us - 1, them - 0, combined - 0
MGCP read:
200 4 OK
from 192.168.144.225:2427MGCP read: 200 4 OK
from 192.168.144.225:2427Verb: '200', Identifier: '4', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
MGCP read:
NTFY 3 [EMAIL PROTECTED] MGCP 1.0
X: 76d91892
O: hu
from 192.168.144.225:2427MGCP read: NTFY 3 [EMAIL PROTECTED] MGCP 1.0 X: 76d91892 O: hu
from 192.168.144.225:2427Verb: 'NTFY', Identifier: '3', Endpoint: '[EMAIL PROTECTED]', Version: 'MGCP 1.0'
3 headers, 0 lines
Handling request 'NTFY' on [EMAIL PROTECTED]
Transmitting:
200 3 OK
to 192.168.144.225:2427
-- Modified [EMAIL PROTECTED] with new mode: recvonly on callid: 5d77f7f876d91892
Posting Request:
MDCX 5 [EMAIL PROTECTED] MGCP 1.0
C: 5d77f7f876d91892
M: recvonly
X: 76d91892
I: 0
R: L/hd(N)
to 192.168.144.225:2427
-- MGCP mgcp_hangup(MGCP/[EMAIL PROTECTED]) on [EMAIL PROTECTED]
-- Delete connection 0 [EMAIL PROTECTED] with new mode: recvonly on callid: 5d77f7f876d91892
Posting Request:
DLCX 6 [EMAIL PROTECTED] MGCP 1.0
C: 5d77f7f876d91892
X: 76d91892
I: 0
to 192.168.144.225:2427
-- MGCP Asked to indicate tone: on [EMAIL PROTECTED] in cxmode: recvonly
Posting Request:
RQNT 7 [EMAIL PROTECTED] MGCP 1.0
X: 76d91892
R: hd(N)
to 192.168.144.225:2427
-- MGCP mgcp_hangup(MGCP/[EMAIL PROTECTED]) on [EMAIL PROTECTED] set vmwi(-)
-- MGCP Asked to indicate tone: vmwi(-) on [EMAIL PROTECTED] in cxmode: inactive
Posting Request:
RQNT 8 [EMAIL PROTECTED] MGCP 1.0
X: 76d91892
R: hd(N)
S: vmwi(-)
to 192.168.144.225:2427
MGCP read:
200 5 OK
I: 0
v=0 o=- 7960 7960 IN IP4 192.168.144.225 s=MGCP Call c=IN IP4 192.168.144.225 t=0 0 m=audio 26536 RTP/AVP 0 a=rtpmap:0 PCMU/8000
from 192.168.144.225:2427MGCP read: 200 5 OK I: 0
v=0 o=- 7960 7960 IN IP4 192.168.144.225 s=MGCP Call c=IN IP4 192.168.144.225 t=0 0 m=audio 26536 RTP/AVP 0 a=rtpmap:0 PCMU/8000
from 192.168.144.225:2427Verb: '200', Identifier: '5', Endpoint: 'OK', Version: '(null)'
2 headers, 7 lines
-- Creating connection for [EMAIL PROTECTED] in cxmode: inactive callid: 7e0ef17b76d91892
We're at 192.168.144.100 port 17182
Answering with capability 4
Posting Request:
CRCX 9 [EMAIL PROTECTED] MGCP 1.0
C: 7e0ef17b76d91892
L: p:20, a:PCMU
M: inactive
X: 76d91892
v=0 o=root 16680 16680 IN IP4 192.168.144.100 s=session c=IN IP4 192.168.144.100 t=0 0 m=audio 17182 RTP/AVP 0 a=rtpmap:0 PCMU/8000 to 192.168.144.225:2427 Capabilities: us - 12, them - 4, combined - 4 Non-codec capabilities: us - 1, them - 0, combined - 0 MGCP read: 250 6 OK
from 192.168.144.225:2427MGCP read: 250 6 OK
from 192.168.144.225:2427Verb: '250', Identifier: '6', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
MGCP read:
200 7 OK
from 192.168.144.225:2427MGCP read: 200 7 OK
from 192.168.144.225:2427Verb: '200', Identifier: '7', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
MGCP read:
200 8 OK
from 192.168.144.225:2427MGCP read: 200 8 OK
from 192.168.144.225:2427Verb: '200', Identifier: '8', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
MGCP read:
200 9 OK
I: 0
v=0 o=- 7960 7960 IN IP4 192.168.144.225 s=MGCP Call c=IN IP4 192.168.144.225 t=0 0 m=audio 26538 RTP/AVP 0 a=rtpmap:0 PCMU/8000
from 192.168.144.225:2427MGCP read: 200 9 OK I: 0
v=0 o=- 7960 7960 IN IP4 192.168.144.225 s=MGCP Call c=IN IP4 192.168.144.225 t=0 0 m=audio 26538 RTP/AVP 0 a=rtpmap:0 PCMU/8000
from 192.168.144.225:2427Verb: '200', Identifier: '9', Endpoint: 'OK', Version: '(null)'
2 headers, 7 lines
Capabilities: us - 12, them - 4, combined - 4
Non-codec capabilities: us - 1, them - 0, combined - 0
======================== debug mgcpio output from the 7960 for same event: ========================
==================== To:<192.168.144.100:2427> NTFY 2 [EMAIL PROTECTED] MGCP 1.0 X: 76d91892 O: hd ====================
==================== From:<192.168.144.100:2427> 200 2 OK ====================
==================== From:<192.168.144.100:2427> CRCX 3 [EMAIL PROTECTED] MGCP 1.0 C: 5d77f7f876d91892 L: p:20, a:PCMU, a:PCMA M: sendrecv X: 76d91892
v=0 o=root 16680 16680 IN IP4 192.168.144.100 s=session c=IN IP4 192.168.144.100 t=0 0 m=audio 16348 RTP/AVP 0 8 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 ====================
==================== To:<192.168.144.100:2427> 200 3 OK I: 0
v=0 o=- 7960 7960 IN IP4 192.168.144.225 s=MGCP Call c=IN IP4 192.168.144.225 t=0 0 m=audio 26536 RTP/AVP 0 18 a=rtpmap:0 PCMU/8000 ====================
==================== From:<192.168.144.100:2427> RQNT 4 [EMAIL PROTECTED] MGCP 1.0 X: 76d91892 R: hu(N), hf(N), D/[0-9#*](N) S: dl ====================
==================== To:<192.168.144.100:2427> 200 4 OK ====================
==================== To:<192.168.144.100:2427> NTFY 3 [EMAIL PROTECTED] MGCP 1.0 X: 76d91892 O: hu ====================
==================== From:<192.168.144.100:2427> 200 3 OK ====================
==================== From:<192.168.144.100:2427> MDCX 5 [EMAIL PROTECTED] MGCP 1.0 C: 5d77f7f876d91892 M: recvonly X: 76d91892 I: 0 R: L/hd(N) ====================
==================== To:<192.168.144.100:2427> 200 5 OK I: 0
v=0 o=- 7960 7960 IN IP4 192.168.144.225 s=MGCP Call c=IN IP4 192.168.144.225 t=0 0 m=audio 26536 RTP/AVP 0 a=rtpmap:0 PCMU/8000 ====================
==================== From:<192.168.144.100:2427> DLCX 6 [EMAIL PROTECTED] MGCP 1.0 C: 5d77f7f876d91892 X: 76d91892 I: 0 ====================
==================== To:<192.168.144.100:2427> 250 6 OK ====================
==================== From:<192.168.144.100:2427> RQNT 7 [EMAIL PROTECTED] MGCP 1.0 X: 76d91892 R: hd(N) ====================
==================== To:<192.168.144.100:2427> 200 7 OK ====================
==================== From:<192.168.144.100:2427> RQNT 8 [EMAIL PROTECTED] MGCP 1.0 X: 76d91892 R: hd(N) S: vmwi(-) ====================
==================== To:<192.168.144.100:2427> 200 8 OK ====================
==================== From:<192.168.144.100:2427> CRCX 9 [EMAIL PROTECTED] MGCP 1.0 C: 7e0ef17b76d91892 L: p:20, a:PCMU M: inactive X: 76d91892
v=0 o=root 16680 16680 IN IP4 192.168.144.100 s=session c=IN IP4 192.168.144.100 t=0 0 m=audio 17182 RTP/AVP 0 a=rtpmap:0 PCMU/8000 ====================
==================== To:<192.168.144.100:2427> 200 9 OK I: 0
v=0 o=- 7960 7960 IN IP4 192.168.144.225 s=MGCP Call c=IN IP4 192.168.144.225 t=0 0 m=audio 26538 RTP/AVP 0 a=rtpmap:0 PCMU/8000 ====================
my mgcp.conf ============
[general] port = 2427 bindaddr = 192.168.144.100 disallow=all allow=ulaw allow=alaw
[192.168.144.225]
context=default host = 192.168.144.225 line => d001
my extensions.conf ==================
[default] . . . exten => 14,1,Dial(MGCP/[EMAIL PROTECTED])
output of mgcp show endpoints: ==============================
asterisk*CLI> mgcp show endpoints Gateway '192.168.144.225' at 192.168.144.225 (Static) -- '[EMAIL PROTECTED] in 'default' is idle
output of mgcp audit endpoint [EMAIL PROTECTED] ==================================================
asterisk*CLI> mgcp audit endpoint [EMAIL PROTECTED] Posting Request: AUEP 10 [EMAIL PROTECTED] MGCP 1.0 F: A,R,D,S,X,N,I,T,O,ES,VS,E,MD,M to 192.168.144.225:2427 MGCP read: 510 10
from 192.168.144.225:2427MGCP read: 510 10
from 192.168.144.225:2427Verb: '510', Identifier: '10', Endpoint: '', Version: '(null)'
1 headers, 0 lines
Any thoughts/help/tips would be greatly appreciated. This is killing me.
John _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
