[Asterisk-Users] calling to mgcp device

Alejandro Vargas alejandro.anv at gmail.com
Sun Nov 27 05:02:36 MST 2005


I've just tested a mgcp setup. I'm trying to use mgcp devices
(mediatrix 1102) with dynamic ip. First one with static ip:

[192.168.1.104]
context=from-internal
host            = 192.168.1.104
wcardep = aaln/*

callerid        = "306" <306>
callwaiting     = no
callreturn      = no
cancallforward = no
canreinvite     = no
transfer        = no
dtmfmode        = rfc2833
line => aaln/1

callerid        = "307" <307>
callwaiting     = no
callreturn      = no
cancallforward = no
canreinvite     = no
transfer        = no
dtmfmode        = rfc2833
line => aaln/2

The device works ok and I can call other phones.

To call 306 I set up to dial to MGCP/aaln/1 at 192.168.1.104. It works ok.

The problem is now with dynamic ip. The set up I made is this:

[anv]
context=from-internal
host            = dynamic
wcardep = aaln/*

callerid        = "308" <308>
callwaiting     = no
callreturn      = no
cancallforward = no
canreinvite     = no
transfer        = no
dtmfmode        = rfc2833
line => aaln/1

callerid        = "309" <309>
callwaiting     = no
callreturn      = no
cancallforward = no
canreinvite     = no
transfer        = no
dtmfmode        = rfc2833
line => aaln/2

The device, again works ok but I can call to 308 dialing to MGCP/aaln/1 at anv

What can be the problem? Is correct to dial MGCP/aaln/1 at anv?

I'm using asterisk at home 2.0 beta 6

--
Alejandro Vargas



More information about the asterisk-users mailing list