[asterisk-users] MGCP FXO endpoint

Ignacio sanfermines at gmail.com
Fri Mar 5 06:38:09 CST 2010


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 at 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 [5200 at internal:1]
Dial("MGCP/aaln/S0/SU2/0 at Ignacio-1",
"MGCP/aaln/S0/SU3/0 at 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 at 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



More information about the asterisk-users mailing list