What does the CLI show when you make the call? That might help in diagnosing
your problem.
Flynn
Hi Flynn
The situation looks like this:
exten => _0800X.,1,AGI(/usr/share/asterisk/agi-bin/checklimit.php|${CALLERIDNUM}|${CONTEXT})
exten => _0800X.,2,GotoIf($[${code} = 0 ]?0800-Calls|${EXTEN}|6:0800-Calls|${EXTEN}|3)
exten => _0800X.,3,GotoIf($[${code} > 0 & ${code} < 20 ]?announcement|s|1:0800-Calls|${EXTEN}|4)
exten => _0800X.,4,GotoIf($[${code} = 20 ]?announcement|s|4)
exten => _0800X.,6,Dial(Sip/[EMAIL PROTECTED] ||L($[${limit}-1000]:60000:30000))
exten => _0800X.,7,Hangup()
exten => h,1,DeadAGI(/usr/share/asterisk/agi-bin/ending_call.php|${UNIQUEID})
-- SIP Seeding peer from astdb: '0327393001' at [EMAIL PROTECTED] :5060 for 3600
-- Executing Goto("SIP/0327393001-ce12", "0800-Calls|0800102102|1") in new stack
-- Goto (0800-Calls,0800102102,1)
-- Executing AGI("SIP/0327393001-ce12", "/usr/share/asterisk/agi-bin/checklimit.php|0327393001|0800-Calls") in new stack
-- Launched AGI Script /usr/share/asterisk/agi-bin/checklimit.php
-- AGI Script /usr/share/asterisk/agi-bin/checklimit.php completed, returning 0
-- Executing GotoIf("SIP/0327393001-ce12", "1?0800-Calls|0800102102|6:0800-Calls|0800102102|3") in new stack
-- Goto (0800-Calls,0800102102,6)
-- Executing Dial("SIP/0327393001-ce12", "Sip/[EMAIL PROTECTED]||L(10000:60000:30000)") in new stack
-- Limit Data for this call:
-- - timelimit = 10000
-- - play_warning = 0
-- - play_to_caller= yes
-- - play_to_callee= no
-- - warning_freq = 0
-- - start_sound =
-- - warning_sound = timeleft
-- - end_sound = beep
-- Called [EMAIL PROTECTED]
-- SIP/ipfon-2802 is ringing
-- SIP/ipfon-2802 is making progress passing it to SIP/0327393001-ce12
-- SIP/ipfon-2802 answered SIP/0327393001-ce12
-- SIP Seeding peer from astdb: '0327393001' at [EMAIL PROTECTED]:5060 for 3600
After 10 sec I hear beep and:
-- Playing 'beep' (language 'en')
And that's it. The call is limitated but the h extension is not executed until I hang up manually.
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
