[asterisk-users] mgcp trouble

Christian Schnelle schnelle at enervation.com
Fri Jul 7 07:04:51 MST 2006


Hi,

i try to use asterisk together with a webstar mgcp cable modem. if i 
configure the cable modem to act as a nuera v5.2 call agent it connects 
to asterisk. but if i try to make a call the line will disabled.

in order to get a deeper look here comes the logs:

--snip--
voip*CLI>
MGCP read:
NTFY 694708904 aaln/1@[192.168.100.207] MGCP 1.0 NCS 1.0
N: ca@[192.168.100.200]
X: 619607CF
O: hd

from 192.168.100.207:2427
Verb: 'NTFY', Identifier: '694708904', Endpoint: 
'aaln/1@[192.168.100.207]', Version: 'MGCP 1.0'
4 headers, 0 lines
Handling request 'NTFY' on aaln/1 at 192.168.100.207
Transmitting:
200 694708904 OK

  to 192.168.100.207:2427
     -- Creating connection for aaln/1 at 192.168.100.207-1 in cxmode: 
sendrecv callid: 3ac0d40c7e01a573
We're at 192.168.100.200 port 32930
Answering with capability 4
Answering with capability 8
Posting Request:
CRCX 21 aaln/1@[192.168.100.207] MGCP 1.0
C: 3ac0d40c7e01a573
L: p:20, a:PCMU, a:PCMA
M: sendrecv
X: 7e01a573

v=0
o=root 28921 28921 IN IP4 192.168.100.200
s=session
c=IN IP4 192.168.100.200
t=0 0
m=audio 32930 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
  to 192.168.100.207:2427
     -- MGCP Asked to indicate tone: L/dl on  aaln/1 at 192.168.100.207-1 
in cxmode: sendrecv
Posting Request:
RQNT 22 aaln/1@[192.168.100.207] MGCP 1.0
X: 619607cf
R: L/hu(N),L/hf(N),D/[0-9#*](N)
S: L/dl
  to 192.168.100.207:2427
     -- MGCP mgcp_new(MGCP/aaln/1 at 192.168.100.207-1) created in state: Down
MGCP read:
200 21 OK
I: 20D7

v=0
o=- 21 8407 IN IP4 192.168.100.207
s=-
c=IN IP4 192.168.100.207
t=0 0
m=audio 53456 RTP/AVP 0 8
a=X-pc-csuites-rtp:60/50
a=X-pc-csuites-rtcp:80/70
a=X-pc-nrekey:0
a=sendrecv
a=mptime:20 20
a=ptime:20

from 192.168.100.207:2427
Verb: '200', Identifier: '21', Endpoint: 'OK', Version: '(null)'
2 headers, 12 lines
Capabilities: us - 12, them - 12, combined - 12
Non-codec capabilities: us - 1, them - 0, combined - 0
MGCP read:
518 22 Unsupported or unknown package

from 192.168.100.207:2427
Verb: '518', Identifier: '22', Endpoint: 'Unsupported', Version: 'or 
unknown'
1 headers, 0 lines
--snap--


the mgcp.conf is:

--snip--
;
; MGCP Configuration for Asterisk
;
[general]
port = 2727
bindaddr = 0.0.0.0
;prefcodec=G711A
disallow = all          ; The Codec list MUST be reduced by config or 
you will get an error 510 (protocol error)
allow = ulaw            ; If this list includes Codec not listed in you 
ATA configuration under "CodecName:"
allow = alaw


[192.168.100.207]
context=default
host=192.168.100.207
canreinvite=no
;slowsequence = yes
line => aaln/1
line => aaln/2
;line => *

;[Softphone]
;context=default
;host=192.168.100.46
;line => aaln/1
;;line => *

[192.168.100.209]
context=default
host=192.168.100.209
line => aaln/1
line => aaln/2
--snap--


Could someone give me a hint?

Thx in advance.

-- 
Best regards

Christian Schnelle

Having Trouble in Windows REBOOT!!
Having Trouble in Linux BE ROOT !!



More information about the asterisk-users mailing list