[asterisk-biz] Fancy Calling Card Timers!

Florian Overkamp florian at speakup.nl
Sun Jul 13 05:28:44 CDT 2008


Douglas Garstang wrote:
> The only thing I can come up with is to have an external application 
> send a SIP reinvite when the callers time is almost up and redirect 
> their media to another location so that the account can be recharged. A 
> problem with this is that even if you do this, the Dial() application is 
> still going to end the call when the call limit is reached. I think you 
> would have to track the call time somewhere else and not pass limit 
> information to Dial() at all. The other application tracking the call 
> time would send a SIP reinvite when the call time was up.

Instead of doing SIP reinvite try and use the Asterisk manager interface 
to redirect the call to another piece of extension logic. You may need a 
fairly recent Asterisk version to do it.

-- 
Met vriendelijke groet,

Florian Overkamp
SpeakUp BV
T: 088-SPEAKUP (088-7732587)
T: 053-4305842



More information about the asterisk-biz mailing list