trixbox CANCEL a call after 15 second from geting 100 Trying

eran.yo
Posts: 1
Member Since:
2007-04-28

HI All,

I have the next issue in my system:
I'm using the trixbox as a callback server behind my office SoftSwitch.

CallBack Calls are working fine for local calls , locally in my country, but the problem start when the callback destination Number is international.
The call flow is : incoming leg : PRI Trunk-->PRI to SIP GW-->Office SW-->trixbox. The trixbox immediately reject the call with 603 Declined.
Outgoing let : trixbox-->Office SW-->SIP Carrier-->destination number.
After 10 second the trixbox initiate new call for predefined number (international number) and getting 100 Trying.
Due to delay in the network the trixbox is CANCEL the call after 15 second before the 180/183 ringing is arrived.

My question is how can I increase the 100Trying timer (T2) to higher number for example 20 second?

Below you can see the call flow from the trixbox log :

[May 16 15:50:26] WARNING[2869] chan_sip.c: Unsupported SDP media type in offer: image 14346 udptl t38
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [97299703@from-sip-external:1] NoOp("SIP/invalid.com-b7803c30", "Received incoming SIP connection from unknown peer to 97299703") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [97299703@from-sip-external:2] Set("SIP/invalid.com-b7803c30", "DID=97299703") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [97299703@from-sip-external:3] Goto("SIP/invalid.com-b7803c30", "s|1") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Goto (from-sip-external,s,1)
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [s@from-sip-external:1] GotoIf("SIP/invalid.com-b7803c30", "1?from-trunk|97299703|1") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Goto (from-trunk,97299703,1)
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [97299703@from-trunk:1] Set("SIP/invalid.com-b7803c30", "__FROM_DID=97299703") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [97299703@from-trunk:2] Gosub("SIP/invalid.com-b7803c30", "app-blacklist-check|s|1") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/invalid.com-b7803c30", "") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [s@app-blacklist-check:2] GotoIf("SIP/invalid.com-b7803c30", "0?blacklisted") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [s@app-blacklist-check:3] Return("SIP/invalid.com-b7803c30", "") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [97299703@from-trunk:3] ExecIf("SIP/invalid.com-b7803c30", "0 |Set|CALLERID(name)=anonymous") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [97299703@from-trunk:4] Set("SIP/invalid.com-b7803c30", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [97299703@from-trunk:5] SetCallerPres("SIP/invalid.com-b7803c30", "allowed_not_screened") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [97299703@from-trunk:6] Goto("SIP/invalid.com-b7803c30", "callback|16|1") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Goto (callback,16,1)
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [16@callback:1] Set("SIP/invalid.com-b7803c30", "CALL=002348074245") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [16@callback:2] Set("SIP/invalid.com-b7803c30", "DESTINATION=disa.2.1") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [16@callback:3] Set("SIP/invalid.com-b7803c30", "SLEEP=10") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [16@callback:4] System("SIP/invalid.com-b7803c30", "/var/lib/asterisk/bin/callback 002348074245 disa.2.1 10 &") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: -- Executing [16@callback:5] Hangup("SIP/invalid.com-b7803c30", "") in new stack
[May 16 15:50:26] VERBOSE[31347] logger.c: == Spawn extension (callback, 16, 5) exited non-zero on 'SIP/invalid.com-b7803c30'
[May 16 15:50:36] VERBOSE[31350] logger.c: == Parsing '/etc/asterisk/manager.conf': [May 16 15:50:36] VERBOSE[31350] logger.c: Found
[May 16 15:50:36] VERBOSE[31350] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [May 16 15:50:36] VERBOSE[31350] logger.c: Found
[May 16 15:50:36] VERBOSE[31350] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [May 16 15:50:36] VERBOSE[31350] logger.c: Found
[May 16 15:50:36] VERBOSE[31350] logger.c: == Manager 'admin' logged on from 127.0.0.1
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [002348074245@from-internal:1] Macro("Local/002348074245@from-internal-8f7f,2", "user-callerid|SKIPTTL|") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-user-callerid:1] Set("Local/002348074245@from-internal-8f7f,2", "AMPUSER=") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-user-callerid:2] GotoIf("Local/002348074245@from-internal-8f7f,2", "1?report") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Goto (macro-user-callerid,s,10)
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-user-callerid:10] GotoIf("Local/002348074245@from-internal-8f7f,2", "1?continue") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Goto (macro-user-callerid,s,19)
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-user-callerid:19] NoOp("Local/002348074245@from-internal-8f7f,2", "Using CallerID "Callback" ") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Noop
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [002348074245@from-internal:2] Set("Local/002348074245@from-internal-8f7f,2", "_NODEST=") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [002348074245@from-internal:3] Macro("Local/002348074245@from-internal-8f7f,2", "record-enable||OUT|") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("Local/002348074245@from-internal-8f7f,2", "1?check") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Goto (macro-record-enable,s,4)
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-record-enable:4] AGI("Local/002348074245@from-internal-8f7f,2", "recordingcheck|20110516-155036|1305550236.199") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[May 16 15:50:36] VERBOSE[31351] logger.c: recordingcheck|20110516-155036|1305550236.199: No AMPUSER db entry for . Not recording
[May 16 15:50:36] VERBOSE[31351] logger.c: -- AGI Script recordingcheck completed, returning 0
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: AGI
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-record-enable:5] MacroExit("Local/002348074245@from-internal-8f7f,2", "") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [002348074245@from-internal:4] Macro("Local/002348074245@from-internal-8f7f,2", "dialout-trunk|3|002348074245||") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:1] Set("Local/002348074245@from-internal-8f7f,2", "DIAL_TRUNK=3") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] DEBUG[31351] func_db.c: DB: AMPUSER//pinless not found in database.
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/002348074245@from-internal-8f7f,2", "0?sub-pincheck|s|1") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GosubIf
[May 16 15:50:36] DEBUG[31351] func_db.c: DB: AMPUSER//pinless not found in database.
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("Local/002348074245@from-internal-8f7f,2", "0?disabletrunk|1") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:4] Set("Local/002348074245@from-internal-8f7f,2", "DIAL_NUMBER=002348074245") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:5] Set("Local/002348074245@from-internal-8f7f,2", "DIAL_TRUNK_OPTIONS=tr") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:6] Set("Local/002348074245@from-internal-8f7f,2", "OUTBOUND_GROUP=OUT_3") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("Local/002348074245@from-internal-8f7f,2", "1?nomax") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Goto (macro-dialout-trunk,s,9)
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/002348074245@from-internal-8f7f,2", "0?skipoutcid") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:10] Set("Local/002348074245@from-internal-8f7f,2", "DIAL_TRUNK_OPTIONS=") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:11] Macro("Local/002348074245@from-internal-8f7f,2", "outbound-callerid|3") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("Local/002348074245@from-internal-8f7f,2", "0|SetCallerPres|") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: ExecIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("Local/002348074245@from-internal-8f7f,2", "1|Set|REALCALLERIDNUM=") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: ExecIf
[May 16 15:50:36] DEBUG[31351] app_macro.c: Last app: Set|REALCALLERIDNUM=
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("Local/002348074245@from-internal-8f7f,2", "1?normcid") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Goto (macro-outbound-callerid,s,6)
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:36] DEBUG[31351] func_db.c: DB: AMPUSER//outboundcid not found in database.
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-outbound-callerid:6] Set("Local/002348074245@from-internal-8f7f,2", "USEROUTCID=") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] DEBUG[31351] func_db.c: DB: DEVICE//emergency_cid not found in database.
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-outbound-callerid:7] Set("Local/002348074245@from-internal-8f7f,2", "EMERGENCYCID=") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-outbound-callerid:8] Set("Local/002348074245@from-internal-8f7f,2", "TRUNKOUTCID=97299703") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/002348074245@from-internal-8f7f,2", "1?trunkcid") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Goto (macro-outbound-callerid,s,12)
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("Local/002348074245@from-internal-8f7f,2", "1|Set|CALLERID(all)=97299703") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: ExecIf
[May 16 15:50:36] DEBUG[31351] app_macro.c: Last app: Set|CALLERID(all)=97299703
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("Local/002348074245@from-internal-8f7f,2", "0|Set|CALLERID(all)=") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: ExecIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("Local/002348074245@from-internal-8f7f,2", "0|SetCallerPres|prohib_passed_screen") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: ExecIf
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Macro
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("Local/002348074245@from-internal-8f7f,2", "0|AGI|fixlocalprefix") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: ExecIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:13] Set("Local/002348074245@from-internal-8f7f,2", "OUTNUM=002348074245") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:14] Set("Local/002348074245@from-internal-8f7f,2", "custom=SIP/BAX") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Set
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("Local/002348074245@from-internal-8f7f,2", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: ExecIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:16] Macro("Local/002348074245@from-internal-8f7f,2", "dialout-trunk-predial-hook|") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/002348074245@from-internal-8f7f,2", "") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: Macro
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("Local/002348074245@from-internal-8f7f,2", "0?bypass|1") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("Local/002348074245@from-internal-8f7f,2", "0?customtrunk") in new stack
[May 16 15:50:36] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Executing [s@macro-dialout-trunk:19] Dial("Local/002348074245@from-internal-8f7f,2", "SIP/BAX/002348074245|300|") in new stack
[May 16 15:50:36] VERBOSE[31351] logger.c: -- Called BAX/002348074245
[May 16 15:50:51] VERBOSE[31350] logger.c: == Manager 'admin' logged off from 127.0.0.1
[May 16 15:50:51] VERBOSE[31351] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'Local/002348074245@from-internal-8f7f,2' in macro 'dialout-trunk'
[May 16 15:50:51] VERBOSE[31351] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'Local/002348074245@from-internal-8f7f,2'
[May 16 15:50:51] VERBOSE[31351] logger.c: -- Executing [h@macro-dialout-trunk:1] Macro("Local/002348074245@from-internal-8f7f,2", "hangupcall|") in new stack
[May 16 15:50:51] VERBOSE[31351] logger.c: -- Executing [s@macro-hangupcall:1] GotoIf("Local/002348074245@from-internal-8f7f,2", "1?skiprg") in new stack
[May 16 15:50:51] VERBOSE[31351] logger.c: -- Goto (macro-hangupcall,s,4)
[May 16 15:50:51] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:51] VERBOSE[31351] logger.c: -- Executing [s@macro-hangupcall:4] GotoIf("Local/002348074245@from-internal-8f7f,2", "1?skipblkvm") in new stack
[May 16 15:50:51] VERBOSE[31351] logger.c: -- Goto (macro-hangupcall,s,7)
[May 16 15:50:51] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:51] VERBOSE[31351] logger.c: -- Executing [s@macro-hangupcall:7] GotoIf("Local/002348074245@from-internal-8f7f,2", "1?theend") in new stack
[May 16 15:50:51] VERBOSE[31351] logger.c: -- Goto (macro-hangupcall,s,9)
[May 16 15:50:51] DEBUG[31351] app_macro.c: Executed application: GotoIf
[May 16 15:50:51] VERBOSE[31351] logger.c: -- Executing [s@macro-hangupcall:9] Hangup("Local/002348074245@from-internal-8f7f,2", "") in new stack
[May 16 15:50:51] VERBOSE[31351] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/002348074245@from-internal-8f7f,2' in macro 'hangupcall'
[May 16 15:50:51] VERBOSE[31351] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/002348074245@from-internal-8f7f,2'

Thanks,
Eran.