[Asterisk-Users] MGCP Problem.

Ricardo Martinez rmartinez at redvoiss.net
Mon Jan 26 08:14:25 MST 2004


Hi.  
Thanks for the tip.  Now i'm able to recognize the endpoint MGCP. But i can
not place a call.  I'm attaching the debug from the asterisk and two
configurations files (mgcp.conf and extension.conf).  For my first test i
just want to call the voice mail, that has the 112 extension.  


The debug from the Asterisk when is started.

 [chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
  == Parsing '/etc/asterisk/mgcp.conf': Found
    -- Allocating subchannel '0' on aaln/0/0 at AP200
    -- Allocating subchannel '1' on aaln/0/0 at AP200
    -- Added gateway 'AP200'
  == MGCP Listening on 64.76.148.185:2427
  == Using TOS bits 0
  == Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP))
    -- MGCP Auditing endpoint aaln/0/0 at AP200 for hookstate

Now the debug:

 <<MGCP_Debug.txt>> 

And the configuration files.

 <<mgcp.conf>>  <<extensions.conf>> 


Any ideas?

Thanks in advance.

> Ricardo Javier Martinez Ogalde
> Ingeniero de Desarrollo
> VOISS NET S.A.
> Cisco Certified Network Associate ,CCNA (CSCO 10643101)
> *   :  (56 2) 240 81 96
> *    :  (56 2) 245 74 95
> *   :  rmartinez at redvoiss.net
> 
> 
> 
-------------- next part --------------
*CLI> mgcp debug
MGCP Debugging Enabled
*CLI> MGCP read: 
ntfy 6013 aaln/0/0 at AP200 MGCP 1.0
X: 66a1316b
O: l/hd

from 64.76.148.186:2427Verb: 'ntfy', Identifier: '6013', Endpoint: 'aaln/0/0 at AP200', Version: 'MGCP 1.0'
3 headers, 0 lines
Handling request 'ntfy' on aaln/0/0 at AP200
Transmitting:
200 6013 OK

 to 64.76.148.186:2427
    -- Endpoint 'aaln/0/0 at AP200-1' observed 'hd'
    -- Creating connection for aaln/0/0 at AP200-1 in cxmode: sendrecv callid: 6491271e35c6bea8
We're at 64.76.148.185 port 16786
Answering with capability 4
Posting Request:
CRCX 2 aaln/0/0 at AP200 MGCP 1.0
C: 6491271e35c6bea8
L: p:20, a:PCMU
M: sendrecv
X: 35c6bea8

v=0
o=root 30682 30682 IN IP4 64.76.148.185
s=session
c=IN IP4 64.76.148.185
t=0 0
m=audio 16786 RTP/AVP 0
a=rtpmap:0 PCMU/8000
 to 64.76.148.186:2427
Jan 26 10:59:59 NOTICE[49159]: chan_mgcp.c:415 mgcp_postrequest: Timeout waiting for response to message:1,  lastouttime: 1075125540, now: 1075125599.  Dumping pending queue
Jan 26 10:59:59 NOTICE[49159]: chan_mgcp.c:396 dump_queue: Removing message from aaln/0/0 at AP200-1 tansaction 1
    -- MGCP Asked to indicate tone: dl on  aaln/0/0 at AP200-1 in cxmode: sendrecv
Posting Request:
RQNT 3 aaln/0/0 at AP200 MGCP 1.0
X: 35c6bea8
R: hu(N), hf(N), D/[0-9#*](N)
S: dl
 to 64.76.148.186:2427
    -- MGCP mgcp_new(MGCP/aaln/0/0 at AP200-1) created in state: Down
MGCP read: 
200 2 OK
I: 0006BA1208

v=0
o=- 1075125262 1075125262 IN IP4 64.76.148.186
s=AddPac Gateway SDP
c=IN IP4 64.76.148.186
t=0 0
m=audio 23012 RTP/AVP 0


from 64.76.148.186:2427Verb: '200', Identifier: '2', Endpoint: 'OK', Version: '(null)'
2 headers, 7 lines
Capabilities: us - 4, them - 4, combined - 4
Non-codec capabilities: us - 1, them - 0, combined - 0
MGCP read: 
200 3 OK

from 64.76.148.186:2427Verb: '200', Identifier: '3', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines

*CLI> 
*CLI> 
*CLI> 
*CLI> 
*CLI> 
*CLI> 
*CLI> 
*CLI> 
*CLI> 
*CLI> 
MGCP read: 
ntfy 6014 aaln/0/0 at AP200 MGCP 1.0
X: 35c6bea8
O: l/hu

from 64.76.148.186:2427Verb: 'ntfy', Identifier: '6014', Endpoint: 'aaln/0/0 at AP200', Version: 'MGCP 1.0'
3 headers, 0 lines
Handling request 'ntfy' on aaln/0/0 at AP200
Transmitting:
200 6014 OK

 to 64.76.148.186:2427
    -- Endpoint 'aaln/0/0 at AP200-1' observed 'hu'
    -- Modified aaln/0/0 at AP200-1 with new mode: recvonly on callid: 6491271e35c6bea8
Posting Request:
MDCX 4 aaln/0/0 at AP200 MGCP 1.0
C: 6491271e35c6bea8
M: recvonly
X: 35c6bea8
I: 0006BA1208
R: L/hd(N)
 to 64.76.148.186:2427
    -- MGCP mgcp_hangup(MGCP/aaln/0/0 at AP200-1) on aaln/0/0 at AP200
    -- Delete connection 0006BA1208 aaln/0/0 at AP200-1 with new mode: recvonly on callid: 6491271e35c6bea8
Posting Request:
DLCX 5 aaln/0/0 at AP200 MGCP 1.0
C: 6491271e35c6bea8
X: 35c6bea8
I: 0006BA1208
 to 64.76.148.186:2427
    -- MGCP Asked to indicate tone:  on  aaln/0/0 at AP200-1 in cxmode: recvonly
Posting Request:
RQNT 6 aaln/0/0 at AP200 MGCP 1.0
X: 35c6bea8
R: hd(N)
 to 64.76.148.186:2427
    -- MGCP mgcp_hangup(MGCP/aaln/0/0 at AP200-1) on aaln/0/0 at AP200 set vmwi(-)
    -- MGCP Asked to indicate tone: vmwi(-) on  aaln/0/0 at AP200-1 in cxmode: inactive
Posting Request:
RQNT 7 aaln/0/0 at AP200 MGCP 1.0
X: 35c6bea8
R: hd(N)
S: vmwi(-)
 to 64.76.148.186:2427
MGCP read: 
200 4 OK

v=0
o=- 1075125262 1075125262 IN IP4 64.76.148.186
s=AddPac Gateway SDP
c=IN IP4 64.76.148.186
t=0 0
m=audio 23012 RTP/AVP 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sqn: 0
a=cdsc: 1 audio RTP/AVP 0 2 4 8 18


from 64.76.148.186:2427Verb: '200', Identifier: '4', Endpoint: 'OK', Version: '(null)'
1 headers, 11 lines
    -- Creating connection for aaln/0/0 at AP200-1 in cxmode: inactive callid: 440d55d835c6bea8
We're at 64.76.148.185 port 13220
Answering with capability 4
Posting Request:
CRCX 8 aaln/0/0 at AP200 MGCP 1.0
C: 440d55d835c6bea8
L: p:20, a:PCMU
M: inactive
X: 35c6bea8

v=0
o=root 30682 30682 IN IP4 64.76.148.185
s=session
c=IN IP4 64.76.148.185
t=0 0
m=audio 13220 RTP/AVP 0
a=rtpmap:0 PCMU/8000
 to 64.76.148.186:2427
Jan 26 11:00:08 WARNING[49159]: chan_mgcp.c:1259 process_sdp: Error in codec string 'lephone-event/8000'
MGCP read: 
250 5 OK
P: PS=2, OS=0, PR=0, OR=0, PL=0, JI=10, LA=150

from 64.76.148.186:2427Verb: '250', Identifier: '5', Endpoint: 'OK', Version: '(null)'
2 headers, 0 lines
MGCP read: 
200 6 OK

from 64.76.148.186:2427Verb: '200', Identifier: '6', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
MGCP read: 
200 7 OK

from 64.76.148.186:2427Verb: '200', Identifier: '7', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
MGCP read: 
200 8 OK
I: 0007B95C08

v=0
o=- 1075125271 1075125271 IN IP4 64.76.148.186
s=AddPac Gateway SDP
c=IN IP4 64.76.148.186
t=0 0
m=audio 23014 RTP/AVP 0


from 64.76.148.186:2427Verb: '200', Identifier: '8', Endpoint: 'OK', Version: '(null)'
2 headers, 7 lines
Capabilities: us - 4, them - 4, combined - 4
Non-codec capabilities: us - 1, them - 0, combined - 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mgcp.conf
Type: application/octet-stream
Size: 626 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040126/6ce115c2/mgcp.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extensions.conf
Type: application/octet-stream
Size: 353 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040126/6ce115c2/extensions.obj


More information about the asterisk-users mailing list