I'm trying to link up Cisco MGCP-enabled router (residential gateway) with Asterisk, and it looks like some sort of protocol mismatch, could it be MGCP 0.1 vs 1.0? Look at this (x.x.x.99 is the router, x.x.x.98 is Asterisk): MGCP read: NTFY 2 aaln/0@voip-gw1 MGCP 0.1 X: 0 O: hd from 192.168.154.99:2427MGCP read: NTFY 2 aaln/0@voip-gw1 MGCP 0.1 X: 0 O: hd from 192.168.154.99:2427Verb: 'NTFY', Identifier: '2', Endpoint: 'aaln/0@voip-gw1', Version: 'MGCP 0.1' 3 headers, 0 lines Handling request 'NTFY' on aaln/0@voip-gw1 Transmitting: 200 2 OK to 192.168.154.99:2427 Posting Request: RQNT 1 aaln/0@voip-gw1 MGCP 1.0 X: 62ea241a R: hu(N), hf(N), D/[0-9#*](N) S: dl to 192.168.154.99:2427 MGCP read: 510 1 Protocol Error or Version Unsupported from 192.168.154.99:2427MGCP read: 510 1 Protocol Error or Version Unsupported from 192.168.154.99:2427Verb: '510', Identifier: '1', Endpoint: 'Protocol', Version: 'Error or' 1 headers, 0 lines Posting Request: RQNT 2 aaln/0@voip-gw1 MGCP 1.0 X: 62ea241a R: hu(N), hf(N), D/[0-9#*](N) S: ro to 192.168.154.99:2427 MGCP read: 510 2 Protocol Error or Version Unsupported from 192.168.154.99:2427MGCP read: 510 2 Protocol Error or Version Unsupported from 192.168.154.99:2427Verb: '510', Identifier: '2', Endpoint: 'Protocol', Version: 'Error or' 1 headers, 0 lines
I suppose "D/[0-9#*](N)" is the thing it does not like. You should omit D/ in the beginning and try then. e Peter Zeltins wrote:>I'm trying to link up Cisco MGCP-enabled router (residential gateway) with >Asterisk, and it looks like some sort of protocol mismatch, could it be MGCP >0.1 vs 1.0? > >Look at this (x.x.x.99 is the router, x.x.x.98 is Asterisk): > >MGCP read: >NTFY 2 aaln/0@voip-gw1 MGCP 0.1 >X: 0 >O: hd > >from 192.168.154.99:2427MGCP read: >NTFY 2 aaln/0@voip-gw1 MGCP 0.1 >X: 0 >O: hd > >from 192.168.154.99:2427Verb: 'NTFY', Identifier: '2', Endpoint: >'aaln/0@voip-gw1', Version: 'MGCP 0.1' >3 headers, 0 lines >Handling request 'NTFY' on aaln/0@voip-gw1 >Transmitting: >200 2 OK > > to 192.168.154.99:2427 >Posting Request: >RQNT 1 aaln/0@voip-gw1 MGCP 1.0 >X: 62ea241a >R: hu(N), hf(N), D/[0-9#*](N) >S: dl > to 192.168.154.99:2427 >MGCP read: >510 1 Protocol Error or Version Unsupported > >from 192.168.154.99:2427MGCP read: >510 1 Protocol Error or Version Unsupported > >from 192.168.154.99:2427Verb: '510', Identifier: '1', Endpoint: 'Protocol', >Version: 'Error or' >1 headers, 0 lines >Posting Request: >RQNT 2 aaln/0@voip-gw1 MGCP 1.0 >X: 62ea241a >R: hu(N), hf(N), D/[0-9#*](N) >S: ro > to 192.168.154.99:2427 >MGCP read: >510 2 Protocol Error or Version Unsupported > >from 192.168.154.99:2427MGCP read: >510 2 Protocol Error or Version Unsupported > >from 192.168.154.99:2427Verb: '510', Identifier: '2', Endpoint: 'Protocol', >Version: 'Error or' >1 headers, 0 lines > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > >. > >
and another thing: AFAIK aaln/0@ is not permitted by MGCP standards. Endpoint numbers MUST start from 1. ekke Peter Zeltins wrote:>I'm trying to link up Cisco MGCP-enabled router (residential gateway) with >Asterisk, and it looks like some sort of protocol mismatch, could it be MGCP >0.1 vs 1.0? > >Look at this (x.x.x.99 is the router, x.x.x.98 is Asterisk): > >MGCP read: >NTFY 2 aaln/0@voip-gw1 MGCP 0.1 >X: 0 >O: hd > >from 192.168.154.99:2427MGCP read: >NTFY 2 aaln/0@voip-gw1 MGCP 0.1 >X: 0 >O: hd > >from 192.168.154.99:2427Verb: 'NTFY', Identifier: '2', Endpoint: >'aaln/0@voip-gw1', Version: 'MGCP 0.1' >3 headers, 0 lines >Handling request 'NTFY' on aaln/0@voip-gw1 >Transmitting: >200 2 OK > > to 192.168.154.99:2427 >Posting Request: >RQNT 1 aaln/0@voip-gw1 MGCP 1.0 >X: 62ea241a >R: hu(N), hf(N), D/[0-9#*](N) >S: dl > to 192.168.154.99:2427 >MGCP read: >510 1 Protocol Error or Version Unsupported > >from 192.168.154.99:2427MGCP read: >510 1 Protocol Error or Version Unsupported > >from 192.168.154.99:2427Verb: '510', Identifier: '1', Endpoint: 'Protocol', >Version: 'Error or' >1 headers, 0 lines >Posting Request: >RQNT 2 aaln/0@voip-gw1 MGCP 1.0 >X: 62ea241a >R: hu(N), hf(N), D/[0-9#*](N) >S: ro > to 192.168.154.99:2427 >MGCP read: >510 2 Protocol Error or Version Unsupported > >from 192.168.154.99:2427MGCP read: >510 2 Protocol Error or Version Unsupported > >from 192.168.154.99:2427Verb: '510', Identifier: '2', Endpoint: 'Protocol', >Version: 'Error or' >1 headers, 0 lines > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > >. > > >
Peter Zeltins wrote: Did you check debug on cisco - I had this problem with AUEP packet on ata-186 , cisco generate 510s error when you ask for unsupported packages ... try to edit chan_mgcp.c to set MGCP Version to 0.1>I'm trying to link up Cisco MGCP-enabled router (residential gateway) with >Asterisk, and it looks like some sort of protocol mismatch, could it be MGCP >0.1 vs 1.0? > >Look at this (x.x.x.99 is the router, x.x.x.98 is Asterisk): > >MGCP read: >NTFY 2 aaln/0@voip-gw1 MGCP 0.1 >X: 0 >O: hd > >from 192.168.154.99:2427MGCP read: >NTFY 2 aaln/0@voip-gw1 MGCP 0.1 >X: 0 >O: hd > >from 192.168.154.99:2427Verb: 'NTFY', Identifier: '2', Endpoint: >'aaln/0@voip-gw1', Version: 'MGCP 0.1' >3 headers, 0 lines >Handling request 'NTFY' on aaln/0@voip-gw1 >Transmitting: >200 2 OK > > to 192.168.154.99:2427 >Posting Request: >RQNT 1 aaln/0@voip-gw1 MGCP 1.0 >X: 62ea241a >R: hu(N), hf(N), D/[0-9#*](N) >S: dl > to 192.168.154.99:2427 >MGCP read: >510 1 Protocol Error or Version Unsupported > >from 192.168.154.99:2427MGCP read: >510 1 Protocol Error or Version Unsupported > >from 192.168.154.99:2427Verb: '510', Identifier: '1', Endpoint: 'Protocol', >Version: 'Error or' >1 headers, 0 lines >Posting Request: >RQNT 2 aaln/0@voip-gw1 MGCP 1.0 >X: 62ea241a >R: hu(N), hf(N), D/[0-9#*](N) >S: ro > to 192.168.154.99:2427 >MGCP read: >510 2 Protocol Error or Version Unsupported > >from 192.168.154.99:2427MGCP read: >510 2 Protocol Error or Version Unsupported > >from 192.168.154.99:2427Verb: '510', Identifier: '2', Endpoint: 'Protocol', >Version: 'Error or' >1 headers, 0 lines > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > > >-- ---- --------- Best Regards, Pavel Litvinenko. ICQ: 16224754 Ph: (8632) 923962, 923640 sip:litw@iptel.org