[Home]

Summary:ASTERISK-02187: [patch] * does not send back 'request identifier' in 'request notify' when wildcard endpoint sends 'notify'
Reporter:duanecox (duanecox)Labels:
Date Opened:2004-08-04 11:21:34Date Closed:2008-01-15 15:04:42.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_mgcp.c.patch
Description:RFC 3425  [3.2.2.18]

Asterisk should send back the RequestIdentifier in the RQNT command to the media-gateway.

Currently Asterisk does not do this if the originating NTFY was from a wildcard endpoint.




****** ADDITIONAL INFORMATION ******

* DEBUG PRE-PATCH

ntfy 29759 aaln/*@[63.252.240.2] MGCP 1.0
X: 0
O: X-NET/ping

from 63.252.240.2:2427MGCP read:
ntfy 29759 aaln/*@[63.252.240.2] MGCP 1.0
X: 0
O: X-NET/ping

from 63.252.240.2:2427Verb: 'ntfy', Identifier: '29759', Endpoint: 'aaln/*@[63.252.240.2]', Version: 'MGCP 1.0'
3 headers, 0 lines
Handling request 'ntfy' on aaln/*@63.252.240.2
Transmitting:
200 29759 OK

to 63.252.240.2:2427
   -- Endpoint 'aaln/*@63.252.240.2-1' observed 'ping'
   -- MGCP Asked to indicate tone:  on  aaln/*@63.252.240.2-1 in cxmode: inactive
Posting Request:
RQNT 8 aaln/*@[63.252.240.2] MGCP 1.0
X:
R: L/hd(N)
to 63.252.240.2:2427
MGCP read:
510 8 Malformed message

from 63.252.240.2:2427MGCP read:
510 8 Malformed message

from 63.252.240.2:2427Verb: '510', Identifier: '8', Endpoint: 'Malformed', Version: 'message'
1 headers, 0 lines



* DEBUG POST-PATCH

ntfy 29760 aaln/*@[63.252.240.2] MGCP 1.0
X: 0
O: X-NET/ping

from 63.252.240.2:2427MGCP read:
ntfy 29760 aaln/*@[63.252.240.2] MGCP 1.0
X: 0
O: X-NET/ping

from 63.252.240.2:2427Verb: 'ntfy', Identifier: '29760', Endpoint: 'aaln/*@[63.252.240.2]', Version: 'MGCP 1.0'
3 headers, 0 lines
Handling request 'ntfy' on aaln/*@63.252.240.2
Transmitting:>
200 29760 OK

to 63.252.240.2:2427
   -- Endpoint 'aaln/*@63.252.240.2-1' observed 'ping'
   -- MGCP Asked to indicate tone:  on  aaln/*@63.252.240.2-1 in cxmode: inactive
Posting Request:
RQNT 8 aaln/*@[63.252.240.2] MGCP 1.0
X: 6b8b4567
R: L/hd(N)
to 63.252.240.2:2427
MGCP read:
200 8 OK

from 63.252.240.2:2427MGCP read:
200 8 OK

from 63.252.240.2:2427Verb: '200', Identifier: '8', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
Comments:By: duanecox (duanecox) 2004-08-04 11:23:53

Sorry, severity should be minor not feature.

By: Mark Spencer (markster) 2004-08-05 17:50:41

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:04:42.000-0600

Repository: asterisk
Revision: 3578

U   trunk/channels/chan_mgcp.c

------------------------------------------------------------------------
r3578 | markster | 2008-01-15 15:04:41 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix little MGCP buglet with the wildcard endpoint (bug ASTERISK-2187)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3578