Getting error with outbound campaign with SIPtrunk

kiosklim

Joined
Dec 24, 2010
Messages
23
Likes
0
Points
0
#1
dear forummers,
im just getting error as following using a sip trunk with prefix "." and outbound route also the same prefix.But for csv file, the number i included is XXXXXXXXXX
Suppose it should work,but the output is not as expected. :S
Elastix 1.5.2-2.3 with call_center_1.5-3.5.tar.gz

Any idea anyone

Dialer.log


2011-01-28 12:18:56 : (DialerProcess) DEBUG: ENTER OnHangup
2011-01-28 12:18:56 : (DialerProcess) DEBUG: hangup:
params => Array
(
[Event] => Hangup
[Privilege] => call,all
[Channel] => OutgoingSpoolFailed
[Uniqueid] => 1296188336.302
[Cause] => 58
[Cause-txt] => Bearer capability not available
)

2011-01-28 12:18:56 : (DialerProcess) DEBUG: ENTER notificarHangup
2011-01-28 12:18:56 : (DialerProcess) DEBUG: EXIT notificarHangup
2011-01-28 12:18:56 : (DialerProcess) DEBUG: EXIT OnHangup
2011-01-28 12:18:56 : (DialerProcess) DEBUG: ENTER OnOriginateResponse
2011-01-28 12:18:56 : (DialerProcess) DEBUG: originateresponse:
params => Array
(
[Event] => OriginateResponse
[Privilege] => call,all
[ActionID] => 2713-4-1
[Response] => Failure
[Channel] => SIP/justvoip/0124828074
[Context] => from-internal
[Exten] => 1234
[Reason] => 0
[Uniqueid] => <null>
[CallerID] => <unknown>
[CallerIDNum] => <unknown>
[CallerIDName] => <unknown>
)

2011-01-28 12:18:56 : (DialerProcess) DEBUG: llamada falla en ser colocada luego de 0 s. de espera.
2011-01-28 12:18:56 : (DialerProcess) DEBUG: Información sobre no-éxito de OriginateResponse:
Array
(
[Event] => OriginateResponse
[Privilege] => call,all
[ActionID] => 2713-4-1
[Response] => Failure
[Channel] => SIP/justvoip/0124828074
[Context] => from-internal
[Exten] => 1234
[Reason] => 0
[Uniqueid] =>
[CallerID] => <unknown>
[CallerIDNum] => <unknown>
[CallerIDName] => <unknown>
)

2011-01-28 12:18:56 : (DialerProcess) DEBUG: EXIT OnOriginateResponse
2011-01-28 12:18:56 : (DialerProcess) DEBUG: registry:
params => Array
(
[Event] => Registry
[Privilege] => system,all
[ChannelDriver] => SIP
[Domain] => sip.mywebfon.com



Asterisk Full log

- Executing [failed@from-internal:4] Set("OutgoingSpoolFailed", "_NODEST=") in new stack
-- Executing [failed@from-internal:5] Macro("OutgoingSpoolFailed", "record-enable||OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("OutgoingSpoolFailed", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("OutgoingSpoolFailed", "1|MacroExit|") in new stack
-- Executing [failed@from-internal:6] Macro("OutgoingSpoolFailed", "dialout-trunk|1|failed|") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("OutgoingSpoolFailed", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("OutgoingSpoolFailed", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("OutgoingSpoolFailed", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("OutgoingSpoolFailed", "DIAL_NUMBER=failed") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("OutgoingSpoolFailed", "DIAL_TRUNK_OPTIONS=trw") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("OutgoingSpoolFailed", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("OutgoingSpoolFailed", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("OutgoingSpoolFailed", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("OutgoingSpoolFailed", "DIAL_TRUNK_OPTIONS=Tw") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("OutgoingSpoolFailed", "outbound-callerid|1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("OutgoingSpoolFailed", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("OutgoingSpoolFailed", "1|Set|REALCALLERIDNUM=") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("OutgoingSpoolFailed", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("OutgoingSpoolFailed", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("OutgoingSpoolFailed", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("OutgoingSpoolFailed", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("OutgoingSpoolFailed", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("OutgoingSpoolFailed", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("OutgoingSpoolFailed", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("OutgoingSpoolFailed", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("OutgoingSpoolFailed", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("OutgoingSpoolFailed", "1?sub-flp-1|s|1") in new stack
-- Executing [s@sub-flp-1:1] ExecIf("OutgoingSpoolFailed", "0|Return|") in new stack
-- Executing [s@sub-flp-1:2] Return("OutgoingSpoolFailed", "") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("OutgoingSpoolFailed", "OUTNUM=failed") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("OutgoingSpoolFailed", "custom=ZAP/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("OutgoingSpoolFailed", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^default)Tw") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("OutgoingSpoolFailed", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("OutgoingSpoolFailed", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("OutgoingSpoolFailed", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("OutgoingSpoolFailed", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("OutgoingSpoolFailed", "ZAP/g0/failed|300|Tw") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] NoOp("OutgoingSpoolFailed", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 58") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("OutgoingSpoolFailed", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("OutgoingSpoolFailed", "RC=58") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("OutgoingSpoolFailed", "58|1") in new stack
-- Goto (macro-dialout-trunk,58,1)
-- Executing [58@macro-dialout-trunk:1] Goto("OutgoingSpoolFailed", "continue|1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] GotoIf("OutgoingSpoolFailed", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- Executing [continue@macro-dialout-trunk:3] NoOp("OutgoingSpoolFailed", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 58 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("OutgoingSpoolFailed", "CALLERID(number)=") in new stack
-- Executing [failed@from-internal:7] Macro("OutgoingSpoolFailed", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Progress("OutgoingSpoolFailed", "") in new stack
-- Executing [s@macro-outisbusy:2] Playback("OutgoingSpoolFailed", "all-circuits-busy-now|noanswer") in new stack
-- Executing [s@macro-outisbusy:3] Playback("OutgoingSpoolFailed", "pls-try-call-later|noanswer") in new stack
-- Executing [s@macro-outisbusy:4] Macro("OutgoingSpoolFailed", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("OutgoingSpoolFailed", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("OutgoingSpoolFailed", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("OutgoingSpoolFailed", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("OutgoingSpoolFailed", "") in new stack
 

kiosklim

Joined
Dec 24, 2010
Messages
23
Likes
0
Points
0
#2
Bump!
 

scenarist

Joined
Apr 18, 2011
Messages
92
Likes
0
Points
0
#3
I have the same problem like you. I am using version of call center 2.0.15 and elastix 2.0.57.
Do you solve your problem or could you give me some advice.
My asterisk full log file is the same like your.
Plese could you pay attention on first and last three lines
Code:
[Ktelebosa*CLI> 
    -- Got SIP response 486 "Busy here" back from 217.10.68.150

telebosa*CLI> 
    -- Executing [failed@from-internal:1] Macro("OutgoingSpoolFailed", "user-callerid,SKIPTTL,") in new stack

telebosa*CLI> 
    -- Executing [s@macro-user-callerid:1] Set("OutgoingSpoolFailed", "AMPUSER=") in new stack

telebosa*CLI> 
    -- Executing [s@macro-user-callerid:2] GotoIf("OutgoingSpoolFailed", "0?report") in new stack

telebosa*CLI> 
    -- Executing [s@macro-user-callerid:3] ExecIf("OutgoingSpoolFailed", "1?Set(REALCALLERIDNUM=)") in new stack

telebosa*CLI> 
    -- Executing [s@macro-user-callerid:4] Set("OutgoingSpoolFailed", "AMPUSER=") in new stack

telebosa*CLI> 
    -- Executing [s@macro-user-callerid:5] Set("OutgoingSpoolFailed", "AMPUSERCIDNAME=") in new stack

telebosa*CLI> 
    -- Executing [s@macro-user-callerid:6] GotoIf("OutgoingSpoolFailed", "1?report") in new stack

telebosa*CLI> 
    -- Goto (macro-user-callerid,s,10)

telebosa*CLI> 
    -- Executing [s@macro-user-callerid:10] GotoIf("OutgoingSpoolFailed", "1?continue") in new stack

telebosa*CLI> 
    -- Goto (macro-user-callerid,s,19)

telebosa*CLI> 
    -- Executing [s@macro-user-callerid:19] NoOp("OutgoingSpoolFailed", "Using CallerID "" <>") in new stack

telebosa*CLI> 
    -- Executing [failed@from-internal:2] Set("OutgoingSpoolFailed", "_NODEST=") in new stack

telebosa*CLI> 
    -- Executing [failed@from-internal:3] Macro("OutgoingSpoolFailed", "record-enable,,OUT,") in new stack

telebosa*CLI> 
    -- Executing [s@macro-record-enable:1] GotoIf("OutgoingSpoolFailed", "1?check") in new stack

telebosa*CLI> 
    -- Goto (macro-record-enable,s,4)

telebosa*CLI> 
    -- Executing [s@macro-record-enable:4] ExecIf("OutgoingSpoolFailed", "1?MacroExit()") in new stack

telebosa*CLI> 
    -- Executing [failed@from-internal:4] Macro("OutgoingSpoolFailed", "dialout-trunk,2,failed,,") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:1] Set("OutgoingSpoolFailed", "DIAL_TRUNK=2") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:2] GosubIf("OutgoingSpoolFailed", "0?sub-pincheck,s,1") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:3] GotoIf("OutgoingSpoolFailed", "0?disabletrunk,1") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:4] Set("OutgoingSpoolFailed", "DIAL_NUMBER=failed") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:5] Set("OutgoingSpoolFailed", "DIAL_TRUNK_OPTIONS=tr") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:6] Set("OutgoingSpoolFailed", "OUTBOUND_GROUP=OUT_2") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:7] GotoIf("OutgoingSpoolFailed", "0?nomax") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:8] GotoIf("OutgoingSpoolFailed", "0?chanfull") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:9] GotoIf("OutgoingSpoolFailed", "0?skipoutcid") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:10] Set("OutgoingSpoolFailed", "DIAL_TRUNK_OPTIONS=") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:11] Macro("OutgoingSpoolFailed", "outbound-callerid,2") in new stack

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:1] ExecIf("OutgoingSpoolFailed", "0?Set(CALLERPRES()=)") in new stack

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:2] ExecIf("OutgoingSpoolFailed", "1?Set(REALCALLERIDNUM=)") in new stack

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:3] GotoIf("OutgoingSpoolFailed", "1?normcid") in new stack

telebosa*CLI> 
    -- Goto (macro-outbound-callerid,s,6)

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:6] Set("OutgoingSpoolFailed", "USEROUTCID=") in new stack

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:7] Set("OutgoingSpoolFailed", "EMERGENCYCID=") in new stack

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:8] Set("OutgoingSpoolFailed", "TRUNKOUTCID=") in new stack

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:9] GotoIf("OutgoingSpoolFailed", "1?trunkcid") in new stack

telebosa*CLI> 
    -- Goto (macro-outbound-callerid,s,12)

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:12] ExecIf("OutgoingSpoolFailed", "0?Set(CALLERID(all)=)") in new stack

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:13] ExecIf("OutgoingSpoolFailed", "0?Set(CALLERID(all)=)") in new stack

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:14] ExecIf("OutgoingSpoolFailed", "0?Set(CALLERID(all)=)") in new stack

telebosa*CLI> 
    -- Executing [s@macro-outbound-callerid:15] ExecIf("OutgoingSpoolFailed", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:12] ExecIf("OutgoingSpoolFailed", "0?AGI(fixlocalprefix)") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:13] Set("OutgoingSpoolFailed", "OUTNUM=failed") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:14] Set("OutgoingSpoolFailed", "custom=SIP/Sipgate") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:15] ExecIf("OutgoingSpoolFailed", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:16] Macro("OutgoingSpoolFailed", "dialout-trunk-predial-hook,") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("OutgoingSpoolFailed", "") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:17] GotoIf("OutgoingSpoolFailed", "0?bypass,1") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:18] GotoIf("OutgoingSpoolFailed", "0?customtrunk") in new stack

telebosa*CLI> 
    -- Executing [s@macro-dialout-trunk:19] Dial("OutgoingSpoolFailed", "SIP/Sipgate/failed,300,") in new stack

telebosa*CLI> 
  == Using SIP RTP TOS bits 184

telebosa*CLI> 
  == Using SIP RTP CoS mark 5

telebosa*CLI> 
    -- Called Sipgate/failed

telebosa*CLI> 
    -- SIP/Sipgate-000004e1 is circuit-busy

telebosa*CLI> 
  == Everyone is busy/congested at this time (1:0/1/0)
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#4
Are you using dialplan or selecting an specific trunk?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top