Does anybody has the expirience configuring Asterisk with Cisco ATA 186 MGCP firmware ? I have Cisco software v3.1.1 atamgcp (Build 040629A) Asterisk 1.0-RC1 On ATA i only put domain test. mgcp.conf looks like this [test] host = 192.168.195.55 context = default line => aaln/2 line => aaln/1 Asterisk CLI shows this: Jul 31 16:05:40 WARNING[135449600]: chan_mgcp.c:485 __mgcp_xmit: mgcp_xmit returned -1: Address family not supported by protocol family *CLI> Jul 31 16:05:41 WARNING[135449600]: chan_mgcp.c:595 retrans_pkt: Maximum retries exceeded for transaction 1 on [test] Jul 31 16:05:41 WARNING[135449600]: chan_mgcp.c:595 retrans_pkt: Maximum retries exceeded for transaction 2 on [test] Jul 31 16:05:41 NOTICE[135449600]: chan_mgcp.c:2234 handle_response: Transaction 2 timed out Jul 31 16:05:41 NOTICE[135449600]: chan_mgcp.c:2234 handle_response: Transaction 1 timed out *CLI> Jul 31 16:05:44 NOTICE[135449600]: chan_mgcp.c:1474 find_subchannel: Gateway 'test' (and thus its endpoint '*') does not exist mgcp debug MGCP Debugging Enabled *CLI> MGCP read: RSIP 1 *@test MGCP 1.0 RM: restart from 192.168.195.55:2427Verb: 'RSIP', Identifier: '1', Endpoint: '*@test', Version: 'MGCP 1.0' 2 headers, 0 lines Jul 31 16:06:03 NOTICE[135449600]: chan_mgcp.c:1474 find_subchannel: Gateway 'test' (and thus its endpoint '*') does not exist -- WBR ------------------------------------------------------------- Dmitry Baranov Phone: +(372) 6 880 000 STV Internet Fax: +(372) 6 880 550 Valge 6 Mobile: +(372) 5 012 825 Tallinn, Estonia -------------------------------------------------------------
I've got it to work in the past. I've upgraded to SIP, seems to work better. Is there a reason you MUST have MGCP? Duane ----- Original Message ----- From: Dmitri Baranov To: asterisk-users@lists.digium.com Sent: Saturday, July 31, 2004 12:38 PM Subject: [Asterisk-Users] MGCP & Cisco ATA 186 Help Does anybody has the expirience configuring Asterisk with Cisco ATA 186 MGCP firmware ? I have Cisco software v3.1.1 atamgcp (Build 040629A) Asterisk 1.0-RC1 On ATA i only put domain test. mgcp.conf looks like this [test] host = 192.168.195.55 context = default line => aaln/2 line => aaln/1 Asterisk CLI shows this: Jul 31 16:05:40 WARNING[135449600]: chan_mgcp.c:485 __mgcp_xmit: mgcp_xmit returned -1: Address family not supported by protocol family *CLI> Jul 31 16:05:41 WARNING[135449600]: chan_mgcp.c:595 retrans_pkt: Maximum retries exceeded for transaction 1 on [test] Jul 31 16:05:41 WARNING[135449600]: chan_mgcp.c:595 retrans_pkt: Maximum retries exceeded for transaction 2 on [test] Jul 31 16:05:41 NOTICE[135449600]: chan_mgcp.c:2234 handle_response: Transaction 2 timed out Jul 31 16:05:41 NOTICE[135449600]: chan_mgcp.c:2234 handle_response: Transaction 1 timed out *CLI> Jul 31 16:05:44 NOTICE[135449600]: chan_mgcp.c:1474 find_subchannel: Gateway 'test' (and thus its endpoint '*') does not exist mgcp debug MGCP Debugging Enabled *CLI> MGCP read: RSIP 1 *@test MGCP 1.0 RM: restart from 192.168.195.55:2427Verb: 'RSIP', Identifier: '1', Endpoint: '*@test', Version: 'MGCP 1.0' 2 headers, 0 lines Jul 31 16:06:03 NOTICE[135449600]: chan_mgcp.c:1474 find_subchannel: Gateway 'test' (and thus its endpoint '*') does not exist -- WBR ------------------------------------------------------------- Dmitry Baranov Phone: +(372) 6 880 000 STV Internet Fax: +(372) 6 880 550 Valge 6 Mobile: +(372) 5 012 825 Tallinn, Estonia ------------------------------------------------------------- _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: lists.digium.com/pipermail/asterisk-users/attachments/20040731/fca358b5/attachment.htm
My ATA with V3.0 firmware works fine. Check that test can be resolved by your DNS or is in /etc/hosts. You might just want to put the IP address directly. Dmitri Baranov wrote:>Does anybody has the expirience configuring Asterisk with Cisco ATA 186 >MGCP firmware ? > >I have Cisco software v3.1.1 atamgcp (Build 040629A) >Asterisk 1.0-RC1 > >On ATA i only put domain test. >mgcp.conf looks like this >[test] >host = 192.168.195.55 >context = default >line => aaln/2 >line => aaln/1 > >Asterisk CLI shows this: > >Jul 31 16:05:40 WARNING[135449600]: chan_mgcp.c:485 __mgcp_xmit: >mgcp_xmit returned -1: Address family not supported by protocol family > >*CLI> Jul 31 16:05:41 WARNING[135449600]: chan_mgcp.c:595 retrans_pkt: >Maximum retries exceeded for transaction 1 on [test] >Jul 31 16:05:41 WARNING[135449600]: chan_mgcp.c:595 retrans_pkt: Maximum >retries exceeded for transaction 2 on [test] >Jul 31 16:05:41 NOTICE[135449600]: chan_mgcp.c:2234 handle_response: >Transaction 2 timed out >Jul 31 16:05:41 NOTICE[135449600]: chan_mgcp.c:2234 handle_response: >Transaction 1 timed out > >*CLI> Jul 31 16:05:44 NOTICE[135449600]: chan_mgcp.c:1474 >find_subchannel: Gateway 'test' (and thus its endpoint '*') does not >exist >mgcp debug >MGCP Debugging Enabled >*CLI> MGCP read: >RSIP 1 *@test MGCP 1.0 >RM: restart > >from 192.168.195.55:2427Verb: 'RSIP', Identifier: '1', Endpoint: >'*@test', Version: 'MGCP 1.0' >2 headers, 0 lines >Jul 31 16:06:03 NOTICE[135449600]: chan_mgcp.c:1474 find_subchannel: >Gateway 'test' (and thus its endpoint '*') does not exist > >
Can you please sent me your mgcp.conf and screenshot from ATA config ? Leo Ann Boon wrote:> > My ATA with V3.0 firmware works fine. > > Check that test can be resolved by your DNS or is in /etc/hosts. You > might just want to put the IP address directly. >-- WBR ------------------------------------------------------------- Dmitry Baranov Phone: +(372) 6 880 000 STV Internet Fax: +(372) 6 880 550 Valge 6 Mobile: +(372) 5 012 825 Tallinn, Estonia -------------------------------------------------------------