Hello all.
I have configured callback successfully on my asterisknow 1.7.1. However, when the PBX does the callback, all call procedures are take so long (obtaining line, dial the number, the operator establish the connection) that the callback gives up the call.
How can I increase the time since the callback in initiated until the PBX gives up?
Here are some logs…
-- Starting simple switch on 'DAHDI/2-1'
-- Executing [s@from-zaptel:1] NoOp("DAHDI/2-1", "Entering from-dahdi with DID == ") in new stack
-- Executing [s@from-zaptel:2] Ringing("DAHDI/2-1", "") in new stack
-- Executing [s@from-zaptel:3] Set("DAHDI/2-1", "DID=s") in new stack
-- Executing [s@from-zaptel:4] NoOp("DAHDI/2-1", "DID is now s") in new stack
-- Executing [s@from-zaptel:5] GotoIf("DAHDI/2-1", "1?dahdiok:checkzap") in new stack
-- Goto (from-zaptel,s,9)
-- Executing [s@from-zaptel:9] NoOp("DAHDI/2-1", "Is a DAHDi Channel") in new stack
-- Executing [s@from-zaptel:10] Set("DAHDI/2-1", "CHAN=2-1") in new stack
-- Executing [s@from-zaptel:11] Set("DAHDI/2-1", "CHAN=2") in new stack
-- Executing [s@from-zaptel:12] Macro("DAHDI/2-1", "from-dahdi-2,s,1") in new stack
-- Executing [s@macro-from-dahdi-2:1] NoOp("DAHDI/2-1", "Entering macro-from-dahdi-2 with DID = s and setting to: 2222357749") in new stack
-- Executing [s@macro-from-dahdi-2:2] Set("DAHDI/2-1", "__FROM_DID=2222357749") in new stack
-- Executing [s@macro-from-dahdi-2:3] Goto("DAHDI/2-1", "from-trunk,2222357749,1") in new stack
-- Goto (from-trunk,2222357749,1)
== Channel ‘DAHDI/2-1’ jumping out of macro ‘from-dahdi-2’
– Executing [2222357749@from-trunk:1] Set(“DAHDI/2-1”, “__FROM_DID=2222357749”) in new stack
– Executing [2222357749@from-trunk:2] Gosub(“DAHDI/2-1”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“DAHDI/2-1”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“DAHDI/2-1”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“DAHDI/2-1”, “”) in new stack
– Executing [2222357749@from-trunk:3] ExecIf(“DAHDI/2-1”, “1 ?Set(CALLERID(name)=9924343424)”) in new stack
– Executing [2222357749@from-trunk:4] Set(“DAHDI/2-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [2222357749@from-trunk:5] Set(“DAHDI/2-1”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [2222357749@from-trunk:6] Goto(“DAHDI/2-1”, “callback,2,1”) in new stack
– Goto (callback,2,1)
– Executing [2@callback:1] Set(“DAHDI/2-1”, “CALL=9924343424”) in new stack
– Executing [2@callback:2] Set(“DAHDI/2-1”, “DESTINATION=app-pbdirectory.pbdirectory.1”) in new stack
– Executing [2@callback:3] Set(“DAHDI/2-1”, “SLEEP=30”) in new stack
– Executing [2@callback:4] System(“DAHDI/2-1”, “/var/lib/asterisk/bin/callback 9924343424 app-pbdirectory.pbdirectory.130 &”) in new stack
– Executing [2@callback:5] Hangup(“DAHDI/2-1”, “”) in new stack
== Spawn extension (callback, 2, 5) exited non-zero on ‘DAHDI/2-1’
– Hungup ‘DAHDI/2-1’
-- Executing [9924343424@from-internal:1] Macro("Local/9924343424@from-internal-7d87;2", "user-callerid,LIMIT,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/9924343424@from-internal-7d87;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/9924343424@from-internal-7d87;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,11)
-- Executing [s@macro-user-callerid:11] GotoIf("Local/9924343424@from-internal-7d87;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,24)
-- Executing [s@macro-user-callerid:24] Set("Local/9924343424@from-internal-7d87;2", "CALLERID(number)=") in new stack
-- Executing [s@macro-user-callerid:25] Set("Local/9924343424@from-internal-7d87;2", "CALLERID(name)=Callback") in new stack
-- Executing [9924343424@from-internal:2] Set("Local/9924343424@from-internal-7d87;2", "MOHCLASS=default") in new stack
-- Executing [9924343424@from-internal:3] Set("Local/9924343424@from-internal-7d87;2", "_NODEST=") in new stack
-- Executing [9924343424@from-internal:4] Macro("Local/9924343424@from-internal-7d87;2", "record-enable,,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/9924343424@from-internal-7d87;2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("Local/9924343424@from-internal-7d87;2", "1?MacroExit()") in new stack
-- Executing [9924343424@from-internal:5] Macro("Local/9924343424@from-internal-7d87;2", "dialout-trunk,3,9924343424,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/9924343424@from-internal-7d87;2", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/9924343424@from-internal-7d87;2", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/9924343424@from-internal-7d87;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/9924343424@from-internal-7d87;2", "DIAL_NUMBER=9924343424") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/9924343424@from-internal-7d87;2", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/9924343424@from-internal-7d87;2", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/9924343424@from-internal-7d87;2", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("Local/9924343424@from-internal-7d87;2", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/9924343424@from-internal-7d87;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/9924343424@from-internal-7d87;2", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/9924343424@from-internal-7d87;2", "outbound-callerid,3") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/9924343424@from-internal-7d87;2", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/9924343424@from-internal-7d87;2", "1?Set(REALCALLERIDNUM=)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/9924343424@from-internal-7d87;2", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("Local/9924343424@from-internal-7d87;2", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("Local/9924343424@from-internal-7d87;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/9924343424@from-internal-7d87;2", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/9924343424@from-internal-7d87;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("Local/9924343424@from-internal-7d87;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("Local/9924343424@from-internal-7d87;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/9924343424@from-internal-7d87;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/9924343424@from-internal-7d87;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/9924343424@from-internal-7d87;2", "0?sub-flp-3,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/9924343424@from-internal-7d87;2", "OUTNUM=9924343424") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/9924343424@from-internal-7d87;2", "custom=SIP/trunk-voipbuster") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/9924343424@from-internal-7d87;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("Local/9924343424@from-internal-7d87;2", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("Local/9924343424@from-internal-7d87;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/9924343424@from-internal-7d87;2", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/9924343424@from-internal-7d87;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("Local/9924343424@from-internal-7d87;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("Local/9924343424@from-internal-7d87;2", "SIP/trunk-voipbuster/9924343424,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using UDPTL TOS bits 184
== Using UDPTL CoS mark 5
– Called trunk-voipbuster/9924343424
– SIP/trunk-voipbuster-00000006 is making progress passing it to Local/9924343424@from-internal-7d87;2
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘Local/924343424@from-internal-7d87;2’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 9924343424, 5) exited non-zero on ‘Local/9924343424@from-internal-7d87;2’
– Executing [h@from-internal:1] Hangup(“Local/9924343424@from-internal-7d87;2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/9924343424@from-internal-7d87;2’
Best regards,
-vcf