[Asterisk-Users] MGCP and call waiting, doesn't work.

Duane Cox duanec at mail.illicom.net
Tue Jun 29 08:53:31 MST 2004


Hey guys, can you shead some light on this?

I will copy my mgcp.conf and post below, but here is the problem.

I can't get call waiting to work with my MGCP device.  I already have one call going, and I can hear the second call come in, I flash over to it, but all I get is a dial tone, * puts the 1st call on mute/hold, but I never get the second, and it terminates.  I flash back over and pick up the first.. Here is some debug info....


*CLI> set verbose 10
    -- Accepting call from '9003796075' to '9003790612' on channel 0/1, span 1
    -- Executing Dial("Zap/1-1", "MGCP/aaln/2 at 10.252.240.2|30|tr") in new stack
    -- MGCP mgcp_request(aaln/2 at 10.252.240.2)
    -- MGCP cw: -1, dnd: 0, so: 0, sno: 0
    -- MGCP mgcp_new(MGCP/aaln/2 at 10.252.240.2-1) created in state: Down
    -- Called aaln/2 at 10.252.240.2
    -- MGCP/aaln/2 at 10.252.240.2-1 is ringing
    -- Endpoint 'aaln/2 at 10.252.240.2-1' observed 'hd'
    -- MGCP/aaln/2 at 10.252.240.2-1 answered Zap/1-1
    -- Accepting call from '2172026046' to '9003790612' on channel 0/2, span 1
    -- Executing Dial("Zap/2-1", "MGCP/aaln/2 at 10.252.240.2|30|tr") in new stack
    -- MGCP mgcp_request(aaln/2 at 10.252.240.2)
    -- MGCP cw: -1, dnd: 0, so: 1, sno: 0
    -- MGCP mgcp_new(MGCP/aaln/2 at 10.252.240.2-0) created in state: Down
    -- Called aaln/2 at 10.252.240.2
    -- MGCP/aaln/2 at 10.252.240.2-0 is ringing
Jun 29 09:46:58 NOTICE[98310]: chan_mgcp.c:2268 handle_response: Terminating on result 400 from aaln/2 at 10.252.240.2-0
  == No one is available to answer at this time
    -- Endpoint 'aaln/2 at 10.252.240.2-1' observed 'hf'
    -- Swapping 1 for 0 on aaln/2 at 10.252.240.2
    -- MGCP Muting 1 on aaln/2 at 10.252.240.2
    -- MGCP mgcp_new(MGCP/aaln/2 at 10.252.240.2-0) created in state: Down
    -- Endpoint 'aaln/2 at 10.252.240.2-0' observed 'hf'
    -- Swapping 0 for 1 on aaln/2 at 10.252.240.2
    -- We didn't make one of the calls FLIPFLOP 0 and 1 on aaln/2 at 10.252.240.2
    -- MGCP Muting 0 on aaln/2 at 10.252.240.2
Jun 29 09:47:08 WARNING[278545]: pbx.c:1892 ast_pbx_run: Timeout, but no rule 't' in context 'pstn-in'
    -- Hungup 'Zap/2-1'
    -- Endpoint 'aaln/2 at 10.252.240.2-1' observed 'hu'
  == Spawn extension (pstn-in, 9003790612, 1) exited non-zero on 'Zap/1-1'
    -- Hungup 'Zap/1-1'



Here is my MGCP.conf

[10.252.240.2]
context=main
host=10.252.240.2
nat=no
callerid = "Kevin Osterbur" <9003790610>
callwaiting=yes
threewaycalling=no
transfer=no
cancallforward=no
canreinvite=no
line => aaln/1
context=main
host=10.252.240.2
nat=no
callerid = "Duane Cox" <9003790612>
callwaiting=yes
threewaycalling=no
transfer=no
cancallforward=no
canreinvite=no
line => aaln/2


Any ideas?

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


More information about the asterisk-users mailing list