I've got a strange problem. I have two Cisco gateways each with one PRI and they each go to a different provider. One has been working for 2+ years with no problems. We recently added the second one and I have a problem where calls come in, but I can't answer them. The call comes into *, it rings the phone, but when you go to pick it up, it hangs up right away and starts ringing again. Here is the console output:

-- Executing Dial("SIP/192.168.1.100-40431450", "SIP/4230|30") in new stack
    -- Called 4230
    -- SIP/4230-35bd is ringing
    -- SIP/4230-35bd answered SIP/192.168.1.100-40431450
-- Attempting native bridge of SIP/192.168.1.100-40431450 and SIP/4230-35bd == Spawn extension (CUSTOMER1, 4230, 1) exited non-zero on 'SIP/192.168.1.100-40431450' -- Executing Goto("SIP/192.168.1.100-40421ba8", "CUSTOMER1|4230|1") in new stack
    -- Goto (CUSTOMER1,4230,1)


-- Executing Dial("SIP/192.168.1.100-40421ba8", "SIP/4230|30") in new stack
    -- Called 4230
    -- SIP/4230-3734 is ringing
    -- SIP/4230-3734 answered SIP/192.168.1.100-40421ba8
-- Attempting native bridge of SIP/192.168.1.100-40421ba8 and SIP/4230-3734 == Spawn extension (CUSTOMER1, 4230, 1) exited non-zero on 'SIP/192.168.1.100-40421ba8' -- Executing Goto("SIP/192.168.1.100-40421ba8", "CUSTOMER1|4230|1") in new stack
    -- Goto (CUSTOMER1,4230,1)


-- Executing Dial("SIP/192.168.1.100-40421ba8", "SIP/4230|30") in new stack
    -- Called 4230
    -- SIP/4230-7714 is ringing
    -- SIP/4230-7714 answered SIP/192.168.1.100-40421ba8
-- Attempting native bridge of SIP/192.168.1.100-40421ba8 and SIP/4230-7714 == Spawn extension (CUSTOMER1, 4230, 1) exited non-zero on 'SIP/192.168.1.100-40421ba8' -- Executing Goto("SIP/192.168.1.100-40421ba8", "CUSTOMER1|4230|1") in new stack
    -- Goto (CUSTOMER1,4230,1)

etc.....

It dials, the phone rings, it attempts a bridge when you go off hook and then it is "Executing Goto" and starts ringing again. The strange thing is that I can call out that gateway and it works fine. It is only incoming calls that act strange. The config on the Cisco gateway is identical to the other one, but it is a different version of IOS.

Here is the extensions.conf snippet for the two gateways (they are the exact same):
[192.168.1.100]
context=default
type=friend
host=192.168.1.100
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=g729

This is the extensions.conf part for the actual extension:

exten => 4230,1,Dial(SIP/4230,30)
exten => 4230,2,Voicemail(u4230)
exten => 4230,102,Voicemail(b4230)
exten => 4230,103,Hangup

Any ideas? Or any ideas on how to figure out why it just keeps cycling over and over?





_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to