I have a fxo endpoint installed in a Cisco router. I would like in my dialplan to get an extension call a telephone number through that fxo endpoint.
Since with zaptel channels it is done like: exten => 0999,1,Dial(DAHDI/2-1/111) --> being 111 the phone number I want to call. I thought that for mgcp it would be the same, and I did: exten => 5200,1,Dial(MGCP/aaln/S0/SU3/0...@armario11/111) aaln/S0/SU3/0 --> is an endpoint at ARMARIO11 The problem is that asterisk detects try to find host ARMARIO11/111 instead of calling number 111 in that FXO port. Here is the debug: -- Executing [5...@internal:1] Dial("MGCP/aaln/S0/SU2/0...@ignacio-1", "MGCP/aaln/S0/SU3/0...@armario11/111") in new stack [Mar 5 13:36:50] NOTICE[4659]: chan_mgcp.c:1753 find_subchannel_and_lock: Gateway 'ARMARIO11/111' (and thus its endpoint 'aaln/S0/SU3/0') does not exist [Mar 5 13:36:50] WARNING[4659]: chan_mgcp.c:3541 mgcp_request: Unable to find MGCP endpoint 'aaln/S0/SU3/0...@armario11/111' [Mar 5 13:36:50] WARNING[4659]: app_dial.c:1502 dial_exec_full: Unable to create channel of type 'MGCP' (cause 20 - Unknown) Is there any way to achieve that? Thank you very much. Regards -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users