<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Thank you Greg,<br>
<br>
I have fogotten to say that I can call my MGCP phone from my SIP phone
but mys MGCP Phone can't place a call.<br>
<br>
Here is some parts of my extensions.conf:<br>
<br>
[general]<br>
static=yes<br>
writeprotect=yes<br>
<br>
[globals]<br>
dandre => sip/p-dan.phone.iris-tech.fr<br>
swiss1 => <a class="moz-txt-link-abbreviated" href="mailto:mgcp/aaln/1@192.168.10.10">mgcp/aaln/1@192.168.10.10</a><br>
<br>
[macro-apl1]<br>
exten => s,1,Dial(${ARG1},30,Ttmr)<br>
;exten => s,2,Voicemail(u${MACRO_EXTEN})<br>
;exten => s,3,Hangup<br>
;exten => s,102,Voicemail(b${MACRO_EXTEN})<br>
;exten => s,103,Hangup<br>
<br>
;#########################################################################################################<br>
[SIP]<br>
;#########################################################################################################<br>
include => ent<br>
<br>
;###########################################################################################################<br>
[ent]<br>
;###########################################################################################################<br>
<br>
exten => 111,1,Macro(apl1,${swiss1})<br>
exten => 326,1,Macro(apl1,${dandre})<br>
<br>
And here is the console output when I call 326 from 111:<br>
<br>
== Spawn extension (SIP, s, 1) exited non-zero on 'SIP/326-0d13'<br>
-- Endpoint '<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10-1">aaln/1@192.168.10.10-1</a>' observed 'hd'<br>
-- MGCP mgcp_new(<a class="moz-txt-link-abbreviated" href="mailto:MGCP/aaln/1@192.168.10.10-1">MGCP/aaln/1@192.168.10.10-1</a>) created in state: Down<br>
-- Endpoint '<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10-1">aaln/1@192.168.10.10-1</a>' observed '3'<br>
-- Endpoint '<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10-1">aaln/1@192.168.10.10-1</a>' observed '2'<br>
-- Endpoint '<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10-1">aaln/1@192.168.10.10-1</a>' observed '2'<br>
-- Endpoint '<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10-1">aaln/1@192.168.10.10-1</a>' observed '6'<br>
-- Endpoint '<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10-1">aaln/1@192.168.10.10-1</a>' observed '3'<br>
-- Endpoint '<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10-1">aaln/1@192.168.10.10-1</a>' observed '2'<br>
-- Endpoint '<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10-1">aaln/1@192.168.10.10-1</a>' observed '6'<br>
-- Endpoint '<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10-1">aaln/1@192.168.10.10-1</a>' observed 'hu'<br>
-- MGCP handle_request(<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10-1">aaln/1@192.168.10.10-1</a>) ast_channel already
destroyed<br>
-- MGCP handle_request(<a class="moz-txt-link-abbreviated" href="mailto:aaln/1@192.168.10.10">aaln/1@192.168.10.10</a>) set vmwi(-)<br>
<br>
<br>
Regards,<br>
<br>
Daniel<br>
<br>
<br>
<br>
shido a écrit:<br>
<blockquote type="cite"
cite="mid00f101c3883a$d1d53f00$1100a8c0@nufoneqrvr596c">
<pre wrap="">You need to specify what port and address its listening on and please
include your extensions.conf exten lines to use mgcp
/etc/asterisk/mgcp.conf
[general]
port = 2427
binaddr=192.168.0.1 ; if this is your asterisk box' ip
-Greg
----- Original Message -----
From: "Daniel ANDRE" <a class="moz-txt-link-rfc2396E" href="mailto:dandre@iris-tech.fr"><dandre@iris-tech.fr></a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:asterisk-users@lists.digium.com"><asterisk-users@lists.digium.com></a>
Sent: Wednesday, October 01, 2003 11:12 AM
Subject: [Asterisk-Users] MGCP Phone and Asterisk PBX
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
Sorry for posting again my question about MGCP Phone and Asterisk But I
can't use it.
I'd like to know weather it is a pb of my confiuration (mgcp.conf), My
IP Phone device or asterisk.
I include my mgcp.conf file and may send some debug trace.
Thank you for any feedback.
Best regards,
Daniel ANDRE
;
; MGCP Configuration for Asterisk
;
[general]
;port = 2427
;bindaddr = 0.0.0.0
;[dlinkgw]
;host = 192.168.0.64
;context = default
;line => aaln/2
;line => aaln/1
[192.168.10.10]
host = 192.168.10.10
context = default
line => aaln/1
--
Daniel ANDRE (<a class="moz-txt-link-freetext" href="mailto:dandre@iris-tech.fr">mailto:dandre@iris-tech.fr</a>)
IRIS Technologies - <a class="moz-txt-link-freetext" href="http://www.iris-tech.com">http://www.iris-tech.com</a>
Serveur kwartz - <a class="moz-txt-link-freetext" href="http://www.kwartz.com">http://www.kwartz.com</a>
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel ANDRE (<a class="moz-txt-link-freetext" href="mailto:dandre@iris-tech.fr">mailto:dandre@iris-tech.fr</a>)
IRIS Technologies - <a class="moz-txt-link-freetext" href="http://www.iris-tech.com">http://www.iris-tech.com</a>
Serveur kwartz - <a class="moz-txt-link-freetext" href="http://www.kwartz.com">http://www.kwartz.com</a>
</pre>
</body>
</html>