Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)

2005-05-12 Thread Duane Cox
Yes * can work with MGCP phones directly.  You have a configuration issue.

a typical mgcp.conf might be:
[general]
port= 2427
bindaddr= 0.0.0.0

[10.21.4.2]
accountcode = 1123
amaflags= billing
context = main
host= 10.21.4.2
wcardep = aaln/*
callerid= "YOUR NAME" <1231231234>
callwaiting = no
callreturn  = yes
cancallforward  = yes
canreinvite = no
threewaycalling = no
transfer= no
dtmfmode= none
line => aaln/1

turn on MGCP debug "mgcp debug" and see what messages are going to and fro.

I would suspect that your end device is setup looking for host/domain name 
convention and not IP.
If so, change * to match or change your device to IP and not dns.

GoodLuck,
Duane Cox


- Original Message - 
From: "Ben Dugdale" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, May 12, 2005 3:19 PM
Subject: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)


> Okay, so I'm a noob.
> 
> Asterisk looks very promising, so I say "thanks" and "good job" to all who
> contribute.
> 
> My * test box is up and running with soft phones using IAX and SIP, so now I'm
> on to testing hard phones.
> 
> I borrowed a couple ShoreTel 210 phones from somebody who had them on hand but
> they only support MGCP.  I see that there's an mgcp.conf in /etc/asterisk/ but
> it's not very commented an I'm having trouble getting these phones to work
> (tried voip-info.org and google for info of course).
> 
> A couple mailing list posts that I dug up with google lead me to wonder if 
> MGCP
> requires some sort of a switching device.  Also the first example in the
> mgcp.conf seems to be a D-Link gateway and my error message is gateway 
> related.
> 
> Can MGCP phones work directly with Asterisk?
> 
> mgcp.conf:
> [general]
> 
> [192.168.90.209]
> host = 192.168.90.209
> context = default
> canreinvite = no
> line => aaln/1
> 
> 
> Phone Config:
> MGC: 192.168.90.6 ; My * box
> IP: 192.168.90.209
> 
> 
> Error message:
> May 12 11:35:56 NOTICE[15257]: chan_mgcp.c:1509 find_subchannel: Gateway
> '192.168.90.209' (and thus its endpoint 'SHOR_001049007E83') does not exist
> 
> Thanks!
> -- 
> Ben Dugdale <[EMAIL PROTECTED]>
> Network Administrator
> Apache County Schools Business Consortium www.acsbc.net
> Apache County Arizona www.co.apache.az.us
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)

2005-05-12 Thread Ben Dugdale
Duane Cox wrote:
> Yes * can work with MGCP phones directly.  You have a configuration issue.

Glad to hear it!

> a typical mgcp.conf might be:
> [general]
> port= 2427
> bindaddr= 0.0.0.0
> 
> [10.21.4.2]
> accountcode = 1123
> amaflags= billing
> context = main
> host= 10.21.4.2
> wcardep = aaln/*
> callerid= "YOUR NAME" <1231231234>
> callwaiting = no
> callreturn  = yes
> cancallforward  = yes
> canreinvite = no
> threewaycalling = no
> transfer= no
> dtmfmode= none
> line => aaln/1

Where does a person find a list of the mgcp.conf options and meanings?  ( I've
tried 'man mgcp' 'man mgcp.conf' and looked for info in the doc directory of the
* source (I did make documentation at install) )?

> turn on MGCP debug "mgcp debug" and see what messages are going to and fro.

I'm now using  Asterisk CVS-HEAD-05/12/05-16:10:03

Here is what I see at the console:

MGCP Debugging Enabled
*CLI> MGCP read:
RSIP 11630 [EMAIL PROTECTED] MGCP 1.0
RM: restart
X-ShoreModel: S1

from 192.168.90.209:2427
Verb: 'RSIP', Identifier: '11630', Endpoint:
'[EMAIL PROTECTED]', Version: 'MGCP 1.0'
3 headers, 0 lines
May 12 16:31:56 NOTICE[28300]: chan_mgcp.c:1644 find_subchannel_and_lock:
Gateway '192.168.90.209' (and thus its endpoint 'SHOR_001049007E83') does not 
exist
MGCP read:
RSIP 11630 [EMAIL PROTECTED] MGCP 1.0
RM: restart
X-ShoreModel: S1



Here is what I see with ngrep port 2727

interface: eth0 (192.168.90.0/255.255.255.0)
filter: ip and ( port 2727 )
#
U 192.168.90.209:2427 -> 192.168.90.6:2727
  RSIP 11625 [EMAIL PROTECTED] MGCP 1.0.RM:
restart.X-ShoreModel: S1.

I've changed mgcp.conf to pretty much exactly look like the example:

[192.168.90.209]
accountcode = 1000  ; record this in cdr as account identification
for billing
amaflags= billing   ; record this in cdr as flagged for 'billing',
'documentation', or 'omit'
context = local
host= 192.168.90.209
wcardep = aaln/*; enables wildcard endpoint and sets it to
'aaln/*' another common format is '*'
callerid= "Duane Cox" <123> ; now lets setup line 1 using per
endpoint configuration...
callwaiting = no
callreturn  = yes
cancallforward  = yes
canreinvite = no
transfer= no
dtmfmode= inband
line => aaln/1  ; now lets save this config to line1 aka aaln/1

> I would suspect that your end device is setup looking for host/domain name 
> convention and not IP.
> If so, change * to match or change your device to IP and not dns.

I'm not sure I know what you mean by this.  I tried setting it up in DNS to see
if the name it reported changed to a FQDN but it stayed the same.

I wonder if the phone is trying to register as
'[EMAIL PROTECTED]' but * interperets that as it being behind
another gateway because of a special character in the string (@)?

What does the normal MGCP negotiation look like?

> GoodLuck,
> Duane Cox

Thanks,

> 
> - Original Message - 
> From: "Ben Dugdale" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, May 12, 2005 3:19 PM
> Subject: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)
> 
> 
> 
>>Okay, so I'm a noob.
>>
>>Asterisk looks very promising, so I say "thanks" and "good job" to all who
>>contribute.
>>
>>My * test box is up and running with soft phones using IAX and SIP, so now I'm
>>on to testing hard phones.
>>
>>I borrowed a couple ShoreTel 210 phones from somebody who had them on hand but
>>they only support MGCP.  I see that there's an mgcp.conf in /etc/asterisk/ but
>>it's not very commented an I'm having trouble getting these phones to work
>>(tried voip-info.org and google for info of course).
>>
>>A couple mailing list posts that I dug up with google lead me to wonder if 
>>MGCP
>>requires some sort of a switching device.  Also the first example in the
>>mgcp.conf seems to be a D-Link gateway and my error message is gateway 
>>related.
>>
>>Can MGCP phones work directly with Asterisk?
>>
>>mgcp.conf:
>>[general]
>>
>>[192.168.90.209]
>>host = 192.168.90.209
>>context = default
>>canreinvite = no
>>line => aaln/1
>>
>>
>>Phone Config:
>>MGC: 192.168.90.6 ; My * box
>>IP: 192.168.90.209
>>
>>
>>Error message:
>>May 12 11:35:56 NOTICE[15257]: chan_mgcp.c:1509 find_subchannel: Gateway
>>'192.168.90.209' (and thus its endpoint 'SHOR_001049007E83') does not exist
>>
>>Thanks!
>>-- 
>>Ben Dugdale <[EMAIL PROTECTED]>
>>Network Administrator
>>Apache County Schools Business Consortium www.acsbc.net
>>Apache County Arizona www.co.apache.az.us
>>
>>___
>>Asterisk-Users mailing list
>>Asterisk-Users@lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com

Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)

2005-05-13 Thread Duane Cox
can you post your mgcp.conf file.

>From the debug output it looks like * can not find the gateway in the mgcp.conf
(* goes on to tell you it can not match the endpoint, because it first has to 
find the gateway device...)


- Original Message - 
From: "Ben Dugdale" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 

Sent: Thursday, May 12, 2005 6:51 PM
Subject: Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)


> Duane Cox wrote:
> > Yes * can work with MGCP phones directly.  You have a configuration issue.
> 
> Glad to hear it!
> 
> > a typical mgcp.conf might be:
> > [general]
> > port= 2427
> > bindaddr= 0.0.0.0
> > 
> > [10.21.4.2]
> > accountcode = 1123
> > amaflags= billing
> > context = main
> > host= 10.21.4.2
> > wcardep = aaln/*
> > callerid= "YOUR NAME" <1231231234>
> > callwaiting = no
> > callreturn  = yes
> > cancallforward  = yes
> > canreinvite = no
> > threewaycalling = no
> > transfer= no
> > dtmfmode= none
> > line => aaln/1
> 
> Where does a person find a list of the mgcp.conf options and meanings?  ( I've
> tried 'man mgcp' 'man mgcp.conf' and looked for info in the doc directory of 
> the
> * source (I did make documentation at install) )?
> 
> > turn on MGCP debug "mgcp debug" and see what messages are going to and fro.
> 
> I'm now using  Asterisk CVS-HEAD-05/12/05-16:10:03
> 
> Here is what I see at the console:
> 
> MGCP Debugging Enabled
> *CLI> MGCP read:
> RSIP 11630 [EMAIL PROTECTED] MGCP 1.0
> RM: restart
> X-ShoreModel: S1
> 
> from 192.168.90.209:2427
> Verb: 'RSIP', Identifier: '11630', Endpoint:
> '[EMAIL PROTECTED]', Version: 'MGCP 1.0'
> 3 headers, 0 lines
> May 12 16:31:56 NOTICE[28300]: chan_mgcp.c:1644 find_subchannel_and_lock:
> Gateway '192.168.90.209' (and thus its endpoint 'SHOR_001049007E83') does not 
> exist
> MGCP read:
> RSIP 11630 [EMAIL PROTECTED] MGCP 1.0
> RM: restart
> X-ShoreModel: S1
> 
> 
> 
> Here is what I see with ngrep port 2727
> 
> interface: eth0 (192.168.90.0/255.255.255.0)
> filter: ip and ( port 2727 )
> #
> U 192.168.90.209:2427 -> 192.168.90.6:2727
>   RSIP 11625 [EMAIL PROTECTED] MGCP 1.0.RM:
> restart.X-ShoreModel: S1.
> 
> I've changed mgcp.conf to pretty much exactly look like the example:
> 
> [192.168.90.209]
> accountcode = 1000  ; record this in cdr as account identification
> for billing
> amaflags= billing   ; record this in cdr as flagged for 'billing',
> 'documentation', or 'omit'
> context = local
> host= 192.168.90.209
> wcardep = aaln/*; enables wildcard endpoint and sets it to
> 'aaln/*' another common format is '*'
> callerid= "Duane Cox" <123> ; now lets setup line 1 using per
> endpoint configuration...
> callwaiting = no
> callreturn  = yes
> cancallforward  = yes
> canreinvite = no
> transfer= no
> dtmfmode= inband
> line => aaln/1  ; now lets save this config to line1 aka 
> aaln/1
> 
> > I would suspect that your end device is setup looking for host/domain name 
> > convention and not IP.
> > If so, change * to match or change your device to IP and not dns.
> 
> I'm not sure I know what you mean by this.  I tried setting it up in DNS to 
> see
> if the name it reported changed to a FQDN but it stayed the same.
> 
> I wonder if the phone is trying to register as
> '[EMAIL PROTECTED]' but * interperets that as it being behind
> another gateway because of a special character in the string (@)?
> 
> What does the normal MGCP negotiation look like?
> 
> > GoodLuck,
> > Duane Cox
> 
> Thanks,
> 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)

2005-05-13 Thread Ben Dugdale
Duane Cox wrote:
> can you post your mgcp.conf file.

Gladly, but I should point out that I brought the phone home, so the
network numbers differ from those I stated before.

My * server = 192.168.0.5

Phone Settings
IP = 192.168.1.137 (routed subnet, not NAT. SIP and AIX work)
MGC = 192.168.0.5

Here's everything that isn't a comment in mgcp.conf
 <>< grep -v '^;' mgcp.conf
[general]
port = 2727
bindaddr = 0.0.0.0

[192.168.1.137]
accountcode = 1000  ; record this in cdr as account
identification for billing
amaflags= billing   ; record this in cdr as flagged for
'billing', 'documentation', or 'omit'
context = local
host= 192.168.1.137
wcardep = aaln/*; enables wildcard endpoint and sets it
to 'aaln/*' another common format is '*'
callerid= "Duane Cox" <123> ; now lets setup line 1 using
per endpoint configuration...
callwaiting = no
callreturn  = yes
cancallforward  = yes
canreinvite = no
transfer= no
dtmfmode= inband
line => aaln/1  ; now lets save this config to line1 aka
aaln/1

And the current error messages:

Asterisk Ready.
*CLI> May 13 20:48:06 NOTICE[21844]: chan_mgcp.c:1644
find_subchannel_and_lock: Gateway '192.168.1.137' (and thus its endpoint
'SHOR_001049007E83') does not exist

 <>< ngrep host 192.168.1.137
interface: eth0 (192.168.0.0/255.255.255.0)
filter: ip and ( host 192.168.1.137 )
#
U 192.168.1.137:2427 -> 192.168.0.5:2727
  RSIP 2162 [EMAIL PROTECTED] MGCP 1.0.RM:
restart.X-ShoreModel: S1.
#

I have made no corresponding entries in extensions.conf yet.

Also, I noticed that the default port setting seems to be 2727, and
that's what the phone seems to be talking to, but the mgcp.conf example
and your config indicate 2427.  Is that significant?

Thanks,

>>From the debug output it looks like * can not find the gateway in the 
>>mgcp.conf
> (* goes on to tell you it can not match the endpoint, because it first has to 
> find the gateway device...)
> 
> 
> - Original Message ----- 
> From: "Ben Dugdale" <[EMAIL PROTECTED]>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
> 
> Sent: Thursday, May 12, 2005 6:51 PM
> Subject: Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)
> 
> 
> 
>>Duane Cox wrote:
>>
>>>Yes * can work with MGCP phones directly.  You have a configuration issue.
>>
>>Glad to hear it!
>>
>>
>>>a typical mgcp.conf might be:
>>>[general]
>>>port= 2427
>>>bindaddr= 0.0.0.0
>>>
>>>[10.21.4.2]
>>>accountcode = 1123
>>>amaflags= billing
>>>context = main
>>>host= 10.21.4.2
>>>wcardep = aaln/*
>>>callerid= "YOUR NAME" <1231231234>
>>>callwaiting = no
>>>callreturn  = yes
>>>cancallforward  = yes
>>>canreinvite = no
>>>threewaycalling = no
>>>transfer= no
>>>dtmfmode= none
>>>line => aaln/1
>>
>>Where does a person find a list of the mgcp.conf options and meanings?  ( I've
>>tried 'man mgcp' 'man mgcp.conf' and looked for info in the doc directory of 
>>the
>>* source (I did make documentation at install) )?
>>
>>
>>>turn on MGCP debug "mgcp debug" and see what messages are going to and fro.
>>
>>I'm now using  Asterisk CVS-HEAD-05/12/05-16:10:03
>>
>>Here is what I see at the console:
>>
>>MGCP Debugging Enabled
>>*CLI> MGCP read:
>>RSIP 11630 [EMAIL PROTECTED] MGCP 1.0
>>RM: restart
>>X-ShoreModel: S1
>>
>>from 192.168.90.209:2427
>>Verb: 'RSIP', Identifier: '11630', Endpoint:
>>'[EMAIL PROTECTED]', Version: 'MGCP 1.0'
>>3 headers, 0 lines
>>May 12 16:31:56 NOTICE[28300]: chan_mgcp.c:1644 find_subchannel_and_lock:
>>Gateway '192.168.90.209' (and thus its endpoint 'SHOR_001049007E83') does not 
>>exist
>>MGCP read:
>>RSIP 11630 [EMAIL PROTECTED] MGCP 1.0
>>RM: restart
>>X-ShoreModel: S1
>>
>>
>>
>>Here is what I see with ngrep port 2727
>>
>>interface: eth0 (192.168.90.0/255.255.255.0)
>>filter: ip and ( port 2727 )
>>#
>>U 192.168.90.209:2427 -> 192.168.90.6:2727
>>  RSIP 11625 [EMAIL PROTECTED] MGCP 1.0.RM:
>>restart.X-ShoreModel: S1.
>>
>>I've changed mgcp.conf to pretty much exactly look like the example:
>>
>

Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)

2005-05-14 Thread Duane Cox
Typically what I have seen with wrong ports, is that * or the
Gateway doesn't see the MGCP message at all.
From your debug it looks like * is getting the MGCP message, it is just
having trouble finding the gateway.
I'm not so sure this will fix your problem, but I would try this.
Have * mgcp.conf set to port 2427, then make sure your phone is listening
and sending on port 2427, you may have to put this in your phone
IP.IP.IP.IP:2427 if there is no port definition.
Also, change the endpoint in your phone to be "aaln/1" for line one and
"aaln/2" for line 2 and so on.
There should be a way to change that; aaln/1 and phone/1 are typically used
for endpoint definitions, but I see that most manufactures use "aaln/x"
I would try the 2 above recommendations and then see if that helps clear up
the problem.
Duane Cox
- Original Message - 
From: "Ben Dugdale" <[EMAIL PROTECTED]>
To: "Duane Cox" <[EMAIL PROTECTED]>; "Asterisk Users Mailing List - 
Non-Commercial Discussion" 
Sent: Friday, May 13, 2005 11:03 PM
Subject: Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)


Duane Cox wrote:
can you post your mgcp.conf file.
Gladly, but I should point out that I brought the phone home, so the
network numbers differ from those I stated before.
My * server = 192.168.0.5
Phone Settings
IP = 192.168.1.137 (routed subnet, not NAT. SIP and AIX work)
MGC = 192.168.0.5
Here's everything that isn't a comment in mgcp.conf
<>< grep -v '^;' mgcp.conf
[general]
port = 2727
bindaddr = 0.0.0.0
[192.168.1.137]
accountcode = 1000  ; record this in cdr as account
identification for billing
amaflags= billing   ; record this in cdr as flagged for
'billing', 'documentation', or 'omit'
context = local
host= 192.168.1.137
wcardep = aaln/*; enables wildcard endpoint and sets it
to 'aaln/*' another common format is '*'
callerid= "Duane Cox" <123> ; now lets setup line 1 using
per endpoint configuration...
callwaiting = no
callreturn  = yes
cancallforward  = yes
canreinvite = no
transfer= no
dtmfmode= inband
line => aaln/1  ; now lets save this config to line1 aka
aaln/1
And the current error messages:
Asterisk Ready.
*CLI> May 13 20:48:06 NOTICE[21844]: chan_mgcp.c:1644
find_subchannel_and_lock: Gateway '192.168.1.137' (and thus its endpoint
'SHOR_001049007E83') does not exist
<>< ngrep host 192.168.1.137
interface: eth0 (192.168.0.0/255.255.255.0)
filter: ip and ( host 192.168.1.137 )
#
U 192.168.1.137:2427 -> 192.168.0.5:2727
 RSIP 2162 [EMAIL PROTECTED] MGCP 1.0.RM:
restart.X-ShoreModel: S1.
#
I have made no corresponding entries in extensions.conf yet.
Also, I noticed that the default port setting seems to be 2727, and
that's what the phone seems to be talking to, but the mgcp.conf example
and your config indicate 2427.  Is that significant?
Thanks,
From the debug output it looks like * can not find the gateway in the 
mgcp.conf
(* goes on to tell you it can not match the endpoint, because it first 
has to find the gateway device...)

----- Original Message - 
From: "Ben Dugdale" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 

Sent: Thursday, May 12, 2005 6:51 PM
Subject: Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)


Duane Cox wrote:
Yes * can work with MGCP phones directly.  You have a configuration 
issue.
Glad to hear it!

a typical mgcp.conf might be:
[general]
port= 2427
bindaddr= 0.0.0.0
[10.21.4.2]
accountcode = 1123
amaflags= billing
context = main
host= 10.21.4.2
wcardep = aaln/*
callerid= "YOUR NAME" <1231231234>
callwaiting = no
callreturn  = yes
cancallforward  = yes
canreinvite = no
threewaycalling = no
transfer= no
dtmfmode= none
line => aaln/1
Where does a person find a list of the mgcp.conf options and meanings? 
( I've
tried 'man mgcp' 'man mgcp.conf' and looked for info in the doc directory 
of the
* source (I did make documentation at install) )?


turn on MGCP debug "mgcp debug" and see what messages are going to and 
fro.
I'm now using  Asterisk CVS-HEAD-05/12/05-16:10:03
Here is what I see at the console:
MGCP Debugging Enabled
*CLI> MGCP read:
RSIP 11630 [EMAIL PROTECTED] MGCP 1.0
RM: restart
X-ShoreModel: S1
from 192.168.90.209:2427
Verb: 'RSIP', Identifier: '11630', Endpoint:
'[EMAIL PROTECTED]', Version: 'MGCP 1.0'
3 headers, 0 lines
May 12 16:31:56 NOTICE[28300]: chan_mgcp.c:1644 find_subchannel_and_lock:
Gateway '192.168.90.209' (and thus its endpoint 'SHOR_001049007E83') does 
not e

Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)

2005-05-15 Thread Ben Dugdale
Duane,

Thanks so much for you help.  I tried "aaln/x" as you suggested was
common and got enough debug output to make me think about using
line => SHOR_001049007E83.  That was what fixed it.

I've documented my working mgcp.conf at:

http://www.voip-info.org/tiki-index.php?page=Asterisk+config+mgcp.conf

Thanks for your help!

Duane Cox wrote:
> Typically what I have seen with wrong ports, is that * or the
> Gateway doesn't see the MGCP message at all.
> 
>> From your debug it looks like * is getting the MGCP message, it is just
> 
> having trouble finding the gateway.
> 
> I'm not so sure this will fix your problem, but I would try this.
> 
> Have * mgcp.conf set to port 2427, then make sure your phone is listening
> and sending on port 2427, you may have to put this in your phone
> IP.IP.IP.IP:2427 if there is no port definition.
> 
> Also, change the endpoint in your phone to be "aaln/1" for line one and
> "aaln/2" for line 2 and so on.
> There should be a way to change that; aaln/1 and phone/1 are typically used
> for endpoint definitions, but I see that most manufactures use "aaln/x"
> 
> I would try the 2 above recommendations and then see if that helps clear up
> the problem.
> 
> Duane Cox
> 
> 
> - Original Message - From: "Ben Dugdale" <[EMAIL PROTECTED]>
> To: "Duane Cox" <[EMAIL PROTECTED]>; "Asterisk Users Mailing List
> - Non-Commercial Discussion" 
> Sent: Friday, May 13, 2005 11:03 PM
> Subject: Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)
> 
> 
>> Duane Cox wrote:
>>
>>> can you post your mgcp.conf file.
>>
>>
>> Gladly, but I should point out that I brought the phone home, so the
>> network numbers differ from those I stated before.
>>
>> My * server = 192.168.0.5
>>
>> Phone Settings
>> IP = 192.168.1.137 (routed subnet, not NAT. SIP and AIX work)
>> MGC = 192.168.0.5
>>
>> Here's everything that isn't a comment in mgcp.conf
>> <>< grep -v '^;' mgcp.conf
>> [general]
>> port = 2727
>> bindaddr = 0.0.0.0
>>
>> [192.168.1.137]
>> accountcode = 1000  ; record this in cdr as account
>> identification for billing
>> amaflags= billing   ; record this in cdr as flagged for
>> 'billing', 'documentation', or 'omit'
>> context = local
>> host= 192.168.1.137
>> wcardep = aaln/*; enables wildcard endpoint and sets it
>> to 'aaln/*' another common format is '*'
>> callerid= "Duane Cox" <123> ; now lets setup line 1 using
>> per endpoint configuration...
>> callwaiting = no
>> callreturn  = yes
>> cancallforward  = yes
>> canreinvite = no
>> transfer= no
>> dtmfmode= inband
>> line => aaln/1  ; now lets save this config to line1 aka
>> aaln/1
>>
>> And the current error messages:
>>
>> Asterisk Ready.
>> *CLI> May 13 20:48:06 NOTICE[21844]: chan_mgcp.c:1644
>> find_subchannel_and_lock: Gateway '192.168.1.137' (and thus its endpoint
>> 'SHOR_001049007E83') does not exist
>>
>> <>< ngrep host 192.168.1.137
>> interface: eth0 (192.168.0.0/255.255.255.0)
>> filter: ip and ( host 192.168.1.137 )
>> #
>> U 192.168.1.137:2427 -> 192.168.0.5:2727
>>  RSIP 2162 [EMAIL PROTECTED] MGCP 1.0.RM:
>> restart.X-ShoreModel: S1.
>> #
>>
>> I have made no corresponding entries in extensions.conf yet.
>>
>> Also, I noticed that the default port setting seems to be 2727, and
>> that's what the phone seems to be talking to, but the mgcp.conf example
>> and your config indicate 2427.  Is that significant?
>>
>> Thanks,
>>
>>>> From the debug output it looks like * can not find the gateway in
>>>> the mgcp.conf
>>>
>>> (* goes on to tell you it can not match the endpoint, because it
>>> first has to find the gateway device...)
>>>
>>>
>>> - Original Message - From: "Ben Dugdale" <[EMAIL PROTECTED]>
>>> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
>>> 
>>> Sent: Thursday, May 12, 2005 6:51 PM
>>> Subject: Re: [Asterisk-Users] Asterisk with ShoreTel 210 (MGCP)
>>>
>>>
>>>
>>>> Duane Cox wrote:
>>>>
>>>>> Yes * can work with MGCP phones directly.  You have a c