after succeessful connect, busy signal

Discussion in 'General' started by thecrystalship, Feb 17, 2009.

  1. thecrystalship

    Joined:
    Feb 16, 2009
    Messages:
    2
    Likes Received:
    0
    I am drunk, so I wrote a great deal, if you skip anything please read the last paragraph.

    Alright, I am a bit of a newbie when it comes to phone switches. I am very intuitive when it comes to software. So far however, I can't understand why I am having this problem. I have a clean install of elastix from a couple of weeks ago and when I setup everything when I try to make outbound calls, the first call seems go through fine, but then all consecutive calls give me a busy signal. It is like all the lines are tied up. I checked my SIP provider and it shows that the call disconnects when I actually hang up so I know it is not them. Also when I had trixbox running I had problems, but not with this. The only problem that I had with trixbox was the lack of features and the package update didn't work through the GUI/admin interface. I have two problems with elastix, obviously the most important, number one:

    1. After making a call with elastix and it connects with the second party I intermittently get a busy signal on consecutive calls. This is not a problem with my SIP provider (callwithus).

    2. (Least important), The preview for recorded sounds does not work. In fact it doesn't even display the graphical image to listen to it while you are in the GUI/admin interface. Instead it shows a broken anchor image, and when you click on it it gives an error 500 message (not sure on that as I am drunk right now.).

    Obviously the most important issue here is why in the hell is it interminably giving busy signals after I make phone calls. The only way I can correct it is by changing a setting in my trunk, and then applying the settings. This allows me to call out one or more times, but then will give me a busy signal as all channels are tied up until I do this again. Like I said, I checked the call logs of callwithus and they show disconnects when I actually disconnect, so it must be something on elsatix. I didn't have this problem with trixbox. I am able to receive phone calls just fine, even when it is not allowing me to call out.


    Code:
        -- Executing [9156744@from-internal:1] Macro("SIP/200-b77023f8", "user-callerid|SKIPTTL|") in new stack
        -- Executing [s@macro-user-callerid:1] NoOp("SIP/200-b77023f8", "user-callerid: device 200") in new stack
        -- Executing [s@macro-user-callerid:2] Set("SIP/200-b77023f8", "AMPUSER=200") in new stack
        -- Executing [s@macro-user-callerid:3] GotoIf("SIP/200-b77023f8", "0?report") in new stack
        -- Executing [s@macro-user-callerid:4] ExecIf("SIP/200-b77023f8", "1|Set|REALCALLERIDNUM=200") in new stack
        -- Executing [s@macro-user-callerid:5] NoOp("SIP/200-b77023f8", "REALCALLERIDNUM is 200") in new stack
        -- Executing [s@macro-user-callerid:6] Set("SIP/200-b77023f8", "AMPUSER=200") in new stack
        -- Executing [s@macro-user-callerid:7] Set("SIP/200-b77023f8", "AMPUSERCIDNAME=Cisco1") in new stack
        -- Executing [s@macro-user-callerid:8] GotoIf("SIP/200-b77023f8", "0?report") in new stack
        -- Executing [s@macro-user-callerid:9] Set("SIP/200-b77023f8", "AMPUSERCID=200") in new stack
        -- Executing [s@macro-user-callerid:10] Set("SIP/200-b77023f8", "CALLERID(all)="Cisco1" <200>") in new stack
        -- Executing [s@macro-user-callerid:11] Set("SIP/200-b77023f8", "REALCALLERIDNUM=200") in new stack
        -- Executing [s@macro-user-callerid:12] ExecIf("SIP/200-b77023f8", "0|Set|CHANNEL(language)=") in new stack
        -- Executing [s@macro-user-callerid:13] NoOp("SIP/200-b77023f8", "TTL:  ARG1: SKIPTTL") in new stack
        -- Executing [s@macro-user-callerid:14] GotoIf("SIP/200-b77023f8", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,23)
        -- Executing [s@macro-user-callerid:23] NoOp("SIP/200-b77023f8", "Using CallerID "Cisco1" <200>") in new stack
        -- Executing [9156744@from-internal:2] Set("SIP/200-b77023f8", "_NODEST=") in new stack
        -- Executing [9156744@from-internal:3] Macro("SIP/200-b77023f8", "record-enable|200|OUT|") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("SIP/200-b77023f8", "0?2:4") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] AGI("SIP/200-b77023f8", "recordingcheck|20090217-063130|1234873890.149") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
      recordingcheck|20090217-063130|1234873890.149: Outbound recording not enabled
        -- AGI Script recordingcheck completed, returning 0
        -- Executing [s@macro-record-enable:5] NoOp("SIP/200-b77023f8", "No recording needed") in new stack
        -- Executing [9156744@from-internal:4] Macro("SIP/200-b77023f8", "dialout-trunk|2|9156744||") in new stack
        -- Executing [s@macro-dialout-trunk:1] Set("SIP/200-b77023f8", "DIAL_TRUNK=2") in new stack
        -- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/200-b77023f8", "0|Authenticate|") in new stack
        -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/200-b77023f8", "0?disabletrunk|1") in new stack
        -- Executing [s@macro-dialout-trunk:4] Set("SIP/200-b77023f8", "DIAL_NUMBER=9156744") in new stack
        -- Executing [s@macro-dialout-trunk:5] Set("SIP/200-b77023f8", "DIAL_TRUNK_OPTIONS=trwW") in new stack
        -- Executing [s@macro-dialout-trunk:6] Set("SIP/200-b77023f8", "GROUP()=OUT_2") in new stack
        -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/200-b77023f8", "1?nomax") in new stack
        -- Goto (macro-dialout-trunk,s,9)
        -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/200-b77023f8", "0?skipoutcid") in new stack
        -- Executing [s@macro-dialout-trunk:10] Set("SIP/200-b77023f8", "DIAL_TRUNK_OPTIONS=TwW") in new stack
        -- Executing [s@macro-dialout-trunk:11] Macro("SIP/200-b77023f8", "outbound-callerid|2") in new stack
        -- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/200-b77023f8", "1?start") in new stack
        -- Goto (macro-outbound-callerid,s,3)
        -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/200-b77023f8", "REALCALLERIDNUM is 200") in new stack
        -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/200-b77023f8", "1?normcid") in new stack
        -- Goto (macro-outbound-callerid,s,9)
        -- Executing [s@macro-outbound-callerid:9] Set("SIP/200-b77023f8", "USEROUTCID="James" <9202684226>") in new stack
        -- Executing [s@macro-outbound-callerid:10] Set("SIP/200-b77023f8", "EMERGENCYCID=") in new stack
        -- Executing [s@macro-outbound-callerid:11] Set("SIP/200-b77023f8", "TRUNKOUTCID=") in new stack
        -- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/200-b77023f8", "1?trunkcid") in new stack
        -- Goto (macro-outbound-callerid,s,16)
        -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/200-b77023f8", "1?usercid") in new stack
        -- Goto (macro-outbound-callerid,s,18)
        -- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/200-b77023f8", "0?report") in new stack
        -- Executing [s@macro-outbound-callerid:19] Set("SIP/200-b77023f8", "CALLERID(all)=James <9202684226>") in new stack
        -- Executing [s@macro-outbound-callerid:20] GotoIf("SIP/200-b77023f8", "1?report:hidecid") in new stack
        -- Goto (macro-outbound-callerid,s,22)
        -- Executing [s@macro-outbound-callerid:22] NoOp("SIP/200-b77023f8", "CallerID set to "James" <9202684226>") in new stack
        -- Executing [s@macro-dialout-trunk:12] AGI("SIP/200-b77023f8", "fixlocalprefix") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
           >  fixlocalprefix: Using pattern 1+NXXNXXXXXX
           >  fixlocalprefix: Using pattern 1920+NXXXXXX
      ==  fixlocalprefix: Dialpattern 1920+NXXXXXX matched. 9156744 -> 19209156744
        -- AGI Script fixlocalprefix completed, returning 0
        -- Executing [s@macro-dialout-trunk:13] Set("SIP/200-b77023f8", "OUTNUM=19209156744") in new stack
        -- Executing [s@macro-dialout-trunk:14] Set("SIP/200-b77023f8", "custom=SIP/callwithus") in new stack
        -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/200-b77023f8", "1?gocall") in new stack
        -- Goto (macro-dialout-trunk,s,17)
        -- Executing [s@macro-dialout-trunk:17] Macro("SIP/200-b77023f8", "dialout-trunk-predial-hook|") in new stack
        -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/200-b77023f8", "0?bypass|1") in new stack
        -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/200-b77023f8", "0?customtrunk") in new stack
        -- Executing [s@macro-dialout-trunk:20] Dial("SIP/200-b77023f8", "SIP/callwithus/19209156744|300|TwW") in new stack
        -- Called callwithus/19209156744
        -- Got SIP response 603 "Declined" back from 77.68.40.174
        -- SIP/callwithus-088427b0 is busy
      == Everyone is busy/congested at this time (1:1/0/0)
        -- Executing [s@macro-dialout-trunk:21] Goto("SIP/200-b77023f8", "s-BUSY|1") in new stack
        -- Goto (macro-dialout-trunk,s-BUSY,1)
        -- Executing [s-BUSY@macro-dialout-trunk:1] NoOp("SIP/200-b77023f8", "Dial failed due to trunk reporting BUSY - giving up") in new stack
        -- Executing [s-BUSY@macro-dialout-trunk:2] PlayTones("SIP/200-b77023f8", "busy") in new stack
        -- Executing [s-BUSY@macro-dialout-trunk:3] Busy("SIP/200-b77023f8", "20") in new stack
      == Spawn extension (macro-dialout-trunk, s-BUSY, 3) exited non-zero on 'SIP/200-b77023f8' in macro 'dialout-trunk'
      == Spawn extension (macro-dialout-trunk, s-BUSY, 3) exited non-zero on 'SIP/200-b77023f8'
        -- Executing [h@macro-dialout-trunk:1] Macro("SIP/200-b77023f8", "hangupcall|") in new stack
        -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/200-b77023f8", "w") in new stack
        -- Executing [s@macro-hangupcall:2] NoCDR("SIP/200-b77023f8", "") in new stack
        -- Executing [s@macro-hangupcall:3] GotoIf("SIP/200-b77023f8", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,6)
        -- Executing [s@macro-hangupcall:6] GotoIf("SIP/200-b77023f8", "1?skipblkvm") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] GotoIf("SIP/200-b77023f8", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,11)
        -- Executing [s@macro-hangupcall:11] Hangup("SIP/200-b77023f8", "") in new stack
      == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/200-b77023f8' in macro 'hangupcall'
      == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/200-b77023f8'
    Code:
    disallow=all
    allow=g729&alaw&ulaw
    type=friend
    host=sip.callwithus.com
    username=...
    secret=...
    qualify=no
    insecure=invite
    
     
  2. thecrystalship

    Joined:
    Feb 16, 2009
    Messages:
    2
    Likes Received:
    0
    I just figured out that if I put fromuser=... into my peer settings then I do not get the busy signal, but it won't show my callerid. Instead it shows some strange number. I have already tried leaving fromuser blank, but I run into the same busy/congestion problem.
     

Share This Page