[asterisk-users] Step-by-Step Asterisk and Cisco 1760 Help

Jimmy Ezell jezell at hmhca.com
Wed Apr 22 18:42:54 CDT 2009


I am up to post 5 on my step-by-step but I hit a bit of a snag and so far my searches have failed me, I hope someone can help.  (By the way, I added an asterisk index for quick navigation on the blog http://qvlweb.blogspot.com/2009/04/asterisk-pbx-install-index.html.) 

Here is the snag and I am hoping for a little help from the collective. Inbound I have 2 different numbers. I can call in on both of them at the same time and have two inbound concurrent calls going.  The problem is with outbound calls.  The first call goes out fine but the second call fails with a busy error.  So it looks like it is not failing over to the second line (which is what I expected the 1760 to do) and I am not sure if this is a Cisco setting or an Asterisk setting (or both).  I played with the Cisco setting, whichever line I set to preference 1 works but the preference 2 line does not pick up if line 1 is busy.
----See details below (asterisk console / sip.conf / extensions.conf / 1760 config)---

First call out the asterisk console looks like this-----------------------------------------------------:

    -- Executing [92952210 at internal:1] Dial("SIP/207-09a75e70", "SIP/Cisco1760/2952210") in new stack
    -- Called Cisco1760/2952210
[Apr 22 16:08:29] NOTICE[3450]: chan_sip.c:14489 handle_request_invite: Call from '207' to extension '2952210' rejected because extension not found.
    -- SIP/Cisco1760-09a77410 is making progress passing it to SIP/207-09a75e70
    -- SIP/Cisco1760-09a77410 answered SIP/207-09a75e70
    -- Native bridging SIP/207-09a75e70 and SIP/Cisco1760-09a77410
localhost*CLI>

Second Call out the asterisk console looks like this-----------------------------------------------------:
    -- Executing [92952210 at internal:1] Dial("SIP/222-09ab3588", "SIP/Cisco1760/2952210") in new stack
    -- Called Cisco1760/2952210
[Apr 22 16:08:58] NOTICE[3450]: chan_sip.c:14489 handle_request_invite: Call from '222' to extension '2952210' rejected because extension not found.
    -- Got SIP response 486 "Busy here" back from 172.17.2.1
    -- SIP/Cisco1760-09ab7cf8 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [92952210 at internal:2] Congestion("SIP/222-09ab3588", "") in new stack
  == Spawn extension (internal, 92952210, 2) exited non-zero on 'SIP/222-09ab3588'
localhost*CLI>


--------------sip.conf ---------
[general]
bindaddr=0.0.0.0

[Cisco1760]
context=incoming_calls
type=friend
host=172.17.2.1
dtmfmode=rfc2833
disallow=all
allow=ulaw
insecure=very


----------extensions.conf------------
[globals]
OUTBOUNDTRUNK=SIP/Cisco1760


[outbound-local]
exten => _9NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
exten => _9NXXXXXX,n,Congestion()
exten => _9NXXXXXX,n,Hangup()

-----------Cisco 1760 config ----------
dial-peer voice 100 pots  (This line that is set to preference 2 does not work)
 huntstop
 preference 2
 destination-pattern .T
 port 0/0
 forward-digits all
!
dial-peer voice 2212 pots    (This line that is set to Preference 1 is the one that works)
 huntstop
 preference 1
 destination-pattern .T
 port 0/1
 forward-digits all

Thanks,
Jimmy





More information about the asterisk-users mailing list