Sunday, July 13, 2008

Re: [asterisk-biz] Fancy Calling Card Timers!

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

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-biz

No comments: