[Asterisk-Users] MGCP Phone and Asterisk PBX

Daniel ANDRE dandre at iris-tech.fr
Wed Oct 1 10:00:39 MST 2003


Thank you Greg,

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.

Here is some parts of my extensions.conf:

[general]
static=yes
writeprotect=yes

[globals]
dandre => sip/p-dan.phone.iris-tech.fr
swiss1 => mgcp/aaln/1 at 192.168.10.10

[macro-apl1]
exten => s,1,Dial(${ARG1},30,Ttmr)
;exten => s,2,Voicemail(u${MACRO_EXTEN})
;exten => s,3,Hangup
;exten => s,102,Voicemail(b${MACRO_EXTEN})
;exten => s,103,Hangup

;#########################################################################################################
[SIP]
;#########################################################################################################
include => ent

;###########################################################################################################
[ent]
;###########################################################################################################

exten => 111,1,Macro(apl1,${swiss1})
exten => 326,1,Macro(apl1,${dandre})

And here is the console output when I call 326 from 111:

 == Spawn extension (SIP, s, 1) exited non-zero on 'SIP/326-0d13'
    -- Endpoint 'aaln/1 at 192.168.10.10-1' observed 'hd'
    -- MGCP mgcp_new(MGCP/aaln/1 at 192.168.10.10-1) created in state: Down
    -- Endpoint 'aaln/1 at 192.168.10.10-1' observed '3'
    -- Endpoint 'aaln/1 at 192.168.10.10-1' observed '2'
    -- Endpoint 'aaln/1 at 192.168.10.10-1' observed '2'
    -- Endpoint 'aaln/1 at 192.168.10.10-1' observed '6'
    -- Endpoint 'aaln/1 at 192.168.10.10-1' observed '3'
    -- Endpoint 'aaln/1 at 192.168.10.10-1' observed '2'
    -- Endpoint 'aaln/1 at 192.168.10.10-1' observed '6'
    -- Endpoint 'aaln/1 at 192.168.10.10-1' observed 'hu'
    -- MGCP handle_request(aaln/1 at 192.168.10.10-1) ast_channel already 
destroyed
    -- MGCP handle_request(aaln/1 at 192.168.10.10) set vmwi(-)


Regards,

Daniel



shido a écrit:

>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" <dandre at iris-tech.fr>
>To: <asterisk-users at lists.digium.com>
>Sent: Wednesday, October 01, 2003 11:12 AM
>Subject: [Asterisk-Users] MGCP Phone and Asterisk PBX
>
>
>  
>
>>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 (mailto:dandre at iris-tech.fr)
>>IRIS Technologies - http://www.iris-tech.com
>>Serveur kwartz - http://www.kwartz.com
>>
>>
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>    
>>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>  
>

-- 
Daniel ANDRE (mailto:dandre at iris-tech.fr)
IRIS Technologies - http://www.iris-tech.com
Serveur kwartz - http://www.kwartz.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031001/e5b75bbb/attachment.htm


More information about the asterisk-users mailing list