sip phone problem in elastix 1.6

Discussion in 'General' started by linux_99, Nov 29, 2009.

  1. linux_99

    Joined:
    Aug 10, 2009
    Messages:
    4
    Likes Received:
    0
    Hi,

    I am using softphone in my computer.Sip softphone cannot receive the call, but it can dial out.

    Please see below log:

    -- Called 1002
    -- Got SIP response 480 "Temporarily not available" back from 192.168.106.34
    -- SIP/1002-084451d0 is circuit-busy
    == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dial:8] Set("SIP/1004-0843de78", "DIALSTATUS=CONGESTIO N") in new stack
    -- Executing [s@macro-dial:9] GosubIf("SIP/1004-0843de78", "0?CONGESTION|1") in new stack
    -- Executing [s@macro-exten-vm:10] GotoIf("SIP/1004-0843de78", "0?exit|retur n") in new stack
    -- Executing [s@macro-exten-vm:11] Set("SIP/1004-0843de78", "SV_DIALSTATUS=C ONGESTION") in new stack
    -- Executing [s@macro-exten-vm:12] GosubIf("SIP/1004-0843de78", "0?docfu|1") in new stack
    -- Executing [s@macro-exten-vm:13] GosubIf("SIP/1004-0843de78", "0?docfb|1") in new stack
    -- Executing [s@macro-exten-vm:14] Set("SIP/1004-0843de78", "DIALSTATUS=CONG ESTION") in new stack
    -- Executing [s@macro-exten-vm:15] NoOp("SIP/1004-0843de78", "Voicemail is n ovm") in new stack
    -- Executing [s@macro-exten-vm:16] GotoIf("SIP/1004-0843de78", "1?s-CONGESTI ON|1") in new stack
    -- Goto (macro-exten-vm,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-exten-vm:1] NoOp("SIP/1004-0843de78", "IVR_ RETVM: IVR_CONTEXT: ") in new stack
    -- Executing [s-CONGESTION@macro-exten-vm:2] GotoIf("SIP/1004-0843de78", "0? exit|1") in new stack
    -- Executing [s-CONGESTION@macro-exten-vm:3] PlayTones("SIP/1004-0843de78", "congestion") in new stack
    -- Executing [s-CONGESTION@macro-exten-vm:4] Congestion("SIP/1004-0843de78", "10") in new stack
    == Spawn extension (macro-exten-vm, s-CONGESTION, 4) exited non-zero on 'SIP/1 004-0843de78' in macro 'exten-vm'
    == Spawn extension (from-internal, 1002, 1) exited non-zero on 'SIP/1004-0843d e78'
    -- Executing [h@from-internal:1] Macro("SIP/1004-0843de78", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1004-0843de78", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/1004-0843de78", "1?skipblkvm ") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/1004-0843de78", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/1004-0843de78", "") in new s tack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1004-0843d e78' in macro 'hangupcall'
    == Spawn extension (from-internal, s, 1) exited non-zero on 'SIP/1004-0843de78 '

    Does anyone know how to solve it?

    Thanks
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    A Sip 480 response often means that your "agent" (soft phone in your case) is in a "do not disturb mode" you should check that first. Also try another "soft-phone" many are STILL incredibly flakey!
     
  3. linux_99

    Joined:
    Aug 10, 2009
    Messages:
    4
    Likes Received:
    0

    Thanks for your help. I already fixed it.

    I have the other problem. The log is below:


    Asterisk 1.4.26.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail s.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'core show license' for details.
    =========================================================================
    == Parsing '/etc/asterisk/asterisk.conf': Found
    == Parsing '/etc/asterisk/extconfig.conf': Found
    Connected to Asterisk 1.4.26.1 currently running on cnvoip (pid = 2818)
    Verbosity is at least 3
    -- Executing [1005@from-internal:1] Macro("SIP/1001-08c23b58", "exten-vm|nov m|1005") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/1001-08c23b58", "user-callerid" ) in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/1001-08c23b58", "AMPUSER=100 1") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/1001-08c23b58", "0?report ") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/1001-08c23b58", "1|Set|RE ALCALLERIDNUM=1001") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/1001-08c23b58", "AMPUSER=100 1") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/1001-08c23b58", "AMPUSERCIDN AME=1001") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1001-08c23b58", "0?report ") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/1001-08c23b58", "AMPUSERCID= 1001") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/1001-08c23b58", "CALLERID(al l)="1001" <1001>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/1001-08c23b58", "0|Set|CH ANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/1001-08c23b58", "0?conti nue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/1001-08c23b58", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1001-08c23b58", "1?conti nue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/1001-08c23b58", "Using Cal lerID "1001" <1001>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/1001-08c23b58", "RingGroupMethod= none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/1001-08c23b58", "VMBOX=novm") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/1001-08c23b58", "EXTTOCALL=1005") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/1001-08c23b58", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("SIP/1001-08c23b58", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("SIP/1001-08c23b58", "RT=""") in new s tack
    -- Executing [s@macro-exten-vm:8] Macro("SIP/1001-08c23b58", "record-enable| 1005|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/1001-08c23b58", "1?check" ) in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/1001-08c23b58", "recordingch eck|20091130-110215|1259550135.60") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20091130-110215|1259550135.60: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/1001-08c23b58", "") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("SIP/1001-08c23b58", "dial||tr|1005" ) in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/1001-08c23b58", "1?dial") in new s tack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/1001-08c23b58", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    dialparties.agi: Starting New Dialparties.agi
    == Parsing '/etc/asterisk/manager.conf': Found
    == Parsing '/etc/asterisk/manager_additional.conf': Found
    == Parsing '/etc/asterisk/manager_custom.conf': Found
    == Manager 'admin' logged on from 127.0.0.1
    dialparties.agi: Caller ID name is '1001' number is '1001'
    dialparties.agi: Methodology of ring is 'none'
    -- dialparties.agi: Added extension 1005 to extension map
    -- dialparties.agi: Extension 1005 cf is disabled
    -- dialparties.agi: Extension 1005 do not disturb is disabled
    dialparties.agi: ExtensionState: 4
    dialparties.agi: Extension 1005 has ExtensionState: 4
    -- dialparties.agi: Checking CW and CFB status for extension 1005
    -- dialparties.agi: dbset CALLTRACE/1005 to 1001
    -- dialparties.agi: Filtered ARG3: 1005
    == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("SIP/1001-08c23b58", "SIP/1005||tr") in n ew stack
    == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dial:8] Set("SIP/1001-08c23b58", "DIALSTATUS=CHANUNAVA IL") in new stack
    -- Executing [s@macro-dial:9] GosubIf("SIP/1001-08c23b58", "0?CHANUNAVAIL|1" ) in new stack
    -- Executing [s@macro-exten-vm:10] GotoIf("SIP/1001-08c23b58", "0?exit|retur n") in new stack
    -- Executing [s@macro-exten-vm:11] Set("SIP/1001-08c23b58", "SV_DIALSTATUS=C HANUNAVAIL") in new stack
    -- Executing [s@macro-exten-vm:12] GosubIf("SIP/1001-08c23b58", "0?docfu|1") in new stack
    -- Executing [s@macro-exten-vm:13] GosubIf("SIP/1001-08c23b58", "0?docfb|1") in new stack
    -- Executing [s@macro-exten-vm:14] Set("SIP/1001-08c23b58", "DIALSTATUS=CHAN UNAVAIL") in new stack
    -- Executing [s@macro-exten-vm:15] NoOp("SIP/1001-08c23b58", "Voicemail is n ovm") in new stack
    -- Executing [s@macro-exten-vm:16] GotoIf("SIP/1001-08c23b58", "1?s-CHANUNAV AIL|1") in new stack
    -- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp("SIP/1001-08c23b58", "IVR _RETVM: IVR_CONTEXT: ") in new stack
    -- Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf("SIP/1001-08c23b58", "0 ?exit|1") in new stack
    -- Executing [s-CHANUNAVAIL@macro-exten-vm:3] PlayTones("SIP/1001-08c23b58", "congestion") in new stack
    -- Executing [s-CHANUNAVAIL@macro-exten-vm:4] Congestion("SIP/1001-08c23b58" , "10") in new stack
    == Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 4) exited non-zero on 'SIP/ 1001-08c23b58' in macro 'exten-vm'
    == Spawn extension (from-internal, 1005, 1) exited non-zero on 'SIP/1001-08c23 b58'
    -- Executing [h@from-internal:1] Macro("SIP/1001-08c23b58", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1001-08c23b58", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/1001-08c23b58", "1?skipblkvm ") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/1001-08c23b58", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/1001-08c23b58", "") in new s tack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1001-08c23 b58' in macro 'hangupcall'
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1001-08c23b58 '
    cnvoip*CLI> quit


    The above extension(1005) also hangup the phone.

    Thanks
     
  4. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Then I'm sure you'll also fix this problem, there are plenty of resources here, but few of us will read ANY failed call log just to let you you know that 1005 is unavailable.

    .
    .
    -- Executing [s@macro-dial:7] Dial("SIP/1001-08c23b58", "SIP/1005||tr" in n ew stack
    == Everyone is busy/congested at this time (1:0/0/1)
    .
    .

    That is your job to find out why 1005 not available:)
     

Share This Page