Aastra 6731i - Call failed (help me please)

buzzy

Joined
May 20, 2009
Messages
309
Likes
0
Points
0
#1
Hi everybody,
(sorry for my bad english !)

I have successfully configured my Aastra phones (6731i) using Aastra XML scritp for Elastix 2.2.1
and installed patch-2.
All fonctions are ready (provisionning, monitoring, pickup, contacts...) but its impossible to
send an internal call between my aastra phones . The phone ring 1 second and hangup.
I have a 'call failed" on my phone's screen.
All phones are registred.
I have no problem if i send a call on my aastra phone to other phone (cisco, planet...)

Please, look my log when the call failed.
"Nobody picked up in 2000 ms"
"No DB Entry AMPUSER//recording - Not Recording for , checking for others"
what's the signification ??
Thanks a lot for your help

Code:
[root@elastix ~]# asterisk -r
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 details.
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.
=========================================================================
Connected to Asterisk 1.4.26.1 currently running on elastix (pid = 2713)
Verbosity is at least 3
    -- Executing [302@from-internal:1] GotoIf("SIP/304-08642640", "0?ext-local|302|1") in new stack
    -- Executing [302@from-internal:2] Macro("SIP/304-08642640", "user-callerid|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/304-08642640", "AMPUSER=304") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/304-08642640", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/304-08642640", "1|Set|REALCALLERIDNUM=304") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/304-08642640", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/304-08642640", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/304-08642640", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/304-08642640", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/304-08642640", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/304-08642640", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/304-08642640", "Using CallerID "device" <304>") in new stack
    -- Executing [302@from-internal:3] GotoIf("SIP/304-08642640", "1?skipdb") in new stack
    -- Goto (from-internal,302,5)
    -- Executing [302@from-internal:5] Set("SIP/304-08642640", "__NODEST=") in new stack
    -- Executing [302@from-internal:6] Set("SIP/304-08642640", "__BLKVM_OVERRIDE=BLKVM/302/SIP/304-08642640") in new stack
    -- Executing [302@from-internal:7] Set("SIP/304-08642640", "__BLKVM_BASE=302") in new stack
    -- Executing [302@from-internal:8] Set("SIP/304-08642640", "DB(BLKVM/302/SIP/304-08642640)=TRUE") in new stack
    -- Executing [302@from-internal:9] Set("SIP/304-08642640", "RRNODEST=") in new stack
    -- Executing [302@from-internal:10] Set("SIP/304-08642640", "__NODEST=302") in new stack
    -- Executing [302@from-internal:11] Set("SIP/304-08642640", "RecordMethod=Group") in new stack
    -- Executing [302@from-internal:12] Macro("SIP/304-08642640", "record-enable||Group") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/304-08642640", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/304-08642640", "recordingcheck|20091211-130310|1260532990.251") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20091211-130310|1260532990.251: No DB Entry AMPUSER//recording - Not Recording for , checking for others
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/304-08642640", "") in new stack
    -- Executing [302@from-internal:13] Set("SIP/304-08642640", "RingGroupMethod=ringallv2") in new stack
    -- Executing [302@from-internal:14] Set("SIP/304-08642640", "_FMGRP=302") in new stack
    -- Executing [302@from-internal:15] GotoIf("SIP/304-08642640", "0?doconfirm") in new stack
    -- Executing [302@from-internal:16] Macro("SIP/304-08642640", "dial||tr|") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/304-08642640", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/304-08642640", "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 'device' number is '304'
  dialparties.agi: Methodology of ring is  'ringallv2'
    --  dialparties.agi: Extension 302 cf is disabled
    --  dialparties.agi: Extension 302 do not disturb is disabled
  dialparties.agi: ExtensionState: 0
  dialparties.agi: Extension 302 has ExtensionState: 0
    --  dialparties.agi: Checking CW and CFB status for extension 302
    --  dialparties.agi: dbset CALLTRACE/302 to 304
    --  dialparties.agi: Filtered ARG3: 302
  == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("SIP/304-08642640", "SIP/302|2|trM(auto-blkvm)") in new stack
    -- Called 302
    -- SIP/302-086cdc00 is ringing
    -- Nobody picked up in 2000 ms
    -- Executing [s@macro-dial:8] Set("SIP/304-08642640", "DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-dial:9] GosubIf("SIP/304-08642640", "0?NOANSWER|1") in new stack
    -- Executing [302@from-internal:17] Goto("SIP/304-08642640", "nextstep") in new stack
    -- Goto (from-internal,302,19)
    -- Executing [302@from-internal:19] Set("SIP/304-08642640", "RingGroupMethod=") in new stack
    -- Executing [302@from-internal:20] GotoIf("SIP/304-08642640", "0?nodest") in new stack
    -- Executing [302@from-internal:21] Set("SIP/304-08642640", "__NODEST=") in new stack
    -- Executing [302@from-internal:22] DBdel("SIP/304-08642640", "BLKVM/302/SIP/304-08642640") in new stack
    -- DBdel: family=BLKVM, key=302/SIP/304-08642640
    -- Executing [302@from-internal:23] Goto("SIP/304-08642640", "app-blackhole|hangup|1") in new stack
    -- Goto (app-blackhole,hangup,1)
    -- Executing [hangup@app-blackhole:1] NoOp("SIP/304-08642640", "Blackhole Dest: Hangup") in new stack
    -- Executing [hangup@app-blackhole:2] Hangup("SIP/304-08642640", "") in new stack
  == Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'SIP/304-08642640'
elastix*CLI>

Another log when the call is ok between astra to my cisco

Code:
[root@elastix ~]# asterisk -r
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 details.
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.
=========================================================================
Connected to Asterisk 1.4.26.1 currently running on elastix (pid = 2713)
Verbosity is at least 3
    -- Executing [201@from-internal:1] GotoIf("SIP/304-086cf5c0", "0?ext-local|201|1") in new stack
    -- Executing [201@from-internal:2] Macro("SIP/304-086cf5c0", "user-callerid|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/304-086cf5c0", "AMPUSER=304") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/304-086cf5c0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/304-086cf5c0", "1|Set|REALCALLERIDNUM=304") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/304-086cf5c0", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/304-086cf5c0", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/304-086cf5c0", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/304-086cf5c0", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/304-086cf5c0", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/304-086cf5c0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/304-086cf5c0", "Using CallerID "device" <304>") in new stack
    -- Executing [201@from-internal:3] GotoIf("SIP/304-086cf5c0", "1?skipdb") in new stack
    -- Goto (from-internal,201,5)
    -- Executing [201@from-internal:5] Set("SIP/304-086cf5c0", "__NODEST=") in new stack
    -- Executing [201@from-internal:6] Set("SIP/304-086cf5c0", "__BLKVM_OVERRIDE=BLKVM/201/SIP/304-086cf5c0") in new stack
    -- Executing [201@from-internal:7] Set("SIP/304-086cf5c0", "__BLKVM_BASE=201") in new stack
    -- Executing [201@from-internal:8] Set("SIP/304-086cf5c0", "DB(BLKVM/201/SIP/304-086cf5c0)=TRUE") in new stack
    -- Executing [201@from-internal:9] Set("SIP/304-086cf5c0", "RRNODEST=") in new stack
    -- Executing [201@from-internal:10] Set("SIP/304-086cf5c0", "__NODEST=201") in new stack
    -- Executing [201@from-internal:11] Set("SIP/304-086cf5c0", "RecordMethod=Group") in new stack
    -- Executing [201@from-internal:12] Macro("SIP/304-086cf5c0", "record-enable|201|Group") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/304-086cf5c0", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/304-086cf5c0", "recordingcheck|20091211-124411|1260531851.236") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/304-086cf5c0", "") in new stack
    -- Executing [201@from-internal:13] Set("SIP/304-086cf5c0", "RingGroupMethod=ringallv2") in new stack
    -- Executing [201@from-internal:14] Set("SIP/304-086cf5c0", "_FMGRP=201") in new stack
    -- Executing [201@from-internal:15] GotoIf("SIP/304-086cf5c0", "0?doconfirm") in new stack
    -- Executing [201@from-internal:16] Macro("SIP/304-086cf5c0", "dial|20|m(Audio-Wilson-predecrocher)t|201") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/304-086cf5c0", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/304-086cf5c0", "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 'device' number is '304'
  dialparties.agi: Methodology of ring is  'ringallv2'
    --  dialparties.agi: Added extension 201 to extension map
    --  dialparties.agi: Extension 201 cf is disabled
    --  dialparties.agi: Extension 201 do not disturb is disabled
  dialparties.agi: ExtensionState: 0
  dialparties.agi: Extension 201 has ExtensionState: 0
    --  dialparties.agi: Checking CW and CFB status for extension 201
    --  dialparties.agi: dbset CALLTRACE/201 to 304
    --  dialparties.agi: Filtered ARG3: 201
  == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("SIP/304-086cf5c0", "SIP/201|22|m(Audio-Wilson-predecrocher)tM(auto-blkvm)") in new stack
    -- Called 201
    -- Started music on hold, class 'Audio-Wilson-predecrocher', on SIP/304-086cf5c0
    -- SIP/201-086bd1a0 is ringing
    -- Stopped music on hold on SIP/304-086cf5c0
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/304-086cf5c0' in macro 'dial'
  == Spawn extension (from-internal, 201, 16) exited non-zero on 'SIP/304-086cf5c0'
    -- Executing [h@macro-dial:1] Macro("SIP/304-086cf5c0", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/304-086cf5c0", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/304-086cf5c0", "0?skipblkvm") in new stack
    -- Executing [s@macro-hangupcall:5] NoOp("SIP/304-086cf5c0", "Cleaning Up Block VM Flag: BLKVM/201/SIP/304-086cf5c0") in new stack
    -- Executing [s@macro-hangupcall:6] DBdel("SIP/304-086cf5c0", "BLKVM/201/SIP/304-086cf5c0") in new stack
    -- DBdel: family=BLKVM, key=201/SIP/304-086cf5c0
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/304-086cf5c0", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/304-086cf5c0", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/304-086cf5c0' in macro 'hangupcall'
  == Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/304-086cf5c0'
elastix*CLI>
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,566
Latest member
Fpino
Top