Hi all,
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 d001@192.168.144.225 MGCP 1.0
RM: restart
from 192.168.144.225:2427MGCP read:
RSIP 1 d001@192.168.144.225 MGCP 1.0
RM: restart
from 192.168.144.225:2427Verb: 'RSIP', Identifier: '1',
Endpoint:
'd001@192.168.144.225', Version: 'MGCP 1.0'
2 headers, 0 lines
Handling request 'RSIP' on d001@192.168.144.225
Transmitting:
200 1 OK
to 192.168.144.225:2427
-- MGCP Asked to indicate tone: on d001@192.168.144.225-1 in
cxmode: inactive
Posting Request:
RQNT 2 d001@192.168.144.225 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 d001@192.168.144.225 MGCP 1.0
X: 76d91892
O: hd
from 192.168.144.225:2427MGCP read:
NTFY 2 d001@192.168.144.225 MGCP 1.0
X: 76d91892
O: hd
from 192.168.144.225:2427Verb: 'NTFY', Identifier: '2',
Endpoint:
'd001@192.168.144.225', Version: 'MGCP 1.0'
3 headers, 0 lines
Handling request 'NTFY' on d001@192.168.144.225
Transmitting:
200 2 OK
to 192.168.144.225:2427
-- Creating connection for d001@192.168.144.225-1 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 d001@192.168.144.225 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 d001@192.168.144.225-1 in
cxmode: sendrecv
Posting Request:
RQNT 4 d001@192.168.144.225 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/d001@192.168.144.225-1) 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 d001@192.168.144.225 MGCP 1.0
X: 76d91892
O: hu
from 192.168.144.225:2427MGCP read:
NTFY 3 d001@192.168.144.225 MGCP 1.0
X: 76d91892
O: hu
from 192.168.144.225:2427Verb: 'NTFY', Identifier: '3',
Endpoint:
'd001@192.168.144.225', Version: 'MGCP 1.0'
3 headers, 0 lines
Handling request 'NTFY' on d001@192.168.144.225
Transmitting:
200 3 OK
to 192.168.144.225:2427
-- Modified d001@192.168.144.225-1 with new mode: recvonly on
callid: 5d77f7f876d91892
Posting Request:
MDCX 5 d001@192.168.144.225 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/d001@192.168.144.225-1) on
d001@192.168.144.225
-- Delete connection 0 d001@192.168.144.225-1 with new mode:
recvonly on callid: 5d77f7f876d91892
Posting Request:
DLCX 6 d001@192.168.144.225 MGCP 1.0
C: 5d77f7f876d91892
X: 76d91892
I: 0
to 192.168.144.225:2427
-- MGCP Asked to indicate tone: on d001@192.168.144.225-1 in
cxmode: recvonly
Posting Request:
RQNT 7 d001@192.168.144.225 MGCP 1.0
X: 76d91892
R: hd(N)
to 192.168.144.225:2427
-- MGCP mgcp_hangup(MGCP/d001@192.168.144.225-1) on
d001@192.168.144.225 set vmwi(-)
-- MGCP Asked to indicate tone: vmwi(-) on d001@192.168.144.225-1
in cxmode: inactive
Posting Request:
RQNT 8 d001@192.168.144.225 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 d001@192.168.144.225-1 in cxmode:
inactive callid: 7e0ef17b76d91892
We're at 192.168.144.100 port 17182
Answering with capability 4
Posting Request:
CRCX 9 d001@192.168.144.225 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 d001@192.168.144.225 MGCP 1.0
X: 76d91892
O: hd
===================
===================From:<192.168.144.100:2427>
200 2 OK
===================
===================From:<192.168.144.100:2427>
CRCX 3 d001@192.168.144.225 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 d001@192.168.144.225 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 d001@192.168.144.225 MGCP 1.0
X: 76d91892
O: hu
===================
===================From:<192.168.144.100:2427>
200 3 OK
===================
===================From:<192.168.144.100:2427>
MDCX 5 d001@192.168.144.225 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 d001@192.168.144.225 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 d001@192.168.144.225 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 d001@192.168.144.225 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 d001@192.168.144.225 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/d001@192.168.144.225)
output of mgcp show endpoints:
=============================
asterisk*CLI> mgcp show endpoints
Gateway '192.168.144.225' at 192.168.144.225 (Static)
-- 'd001@192.168.144.225 in 'default' is idle
output of mgcp audit endpoint d001@192.168.144.225
=================================================
asterisk*CLI> mgcp audit endpoint d001@192.168.144.225
Posting Request:
AUEP 10 d001@192.168.144.225 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
Andreas Anderson
2004-Feb-04 10:37 UTC
[Asterisk-Users] 7960 MGCP dialtone problems, part 1 [long]
Hiya,>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.I could not get 5.3 to work, but 6.1 seems to work. Basic Phone that is, i don't get *any* buttons on the phone, i guess this is a problem with CARD.XML, the only version on CCO ist for version 3.0 (!). If anyone has a working one, please post it on the list ;-) Regards, aa _________________________________________________________________ Surf the net and talk on the phone with Xtra Jetstream @ http://www.xtra.co.nz/products/0,,5803,00.html !