[OpenSIPS-Users] Prepaid time remaining announcement?

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Apr 6 17:39:15 CEST 2011


Hi Chris,

The problem is not in triggering the event in script when a dialog 
timeout occurs - the problem is that all events in opensips are SIP 
message driven :)....so to be able to run a script route, you need a sip 
message.


Regards,
Bogdan

On 03/15/2011 01:10 PM, Chris Martineau wrote:
>
> Hi,
>
> Is it possible to get the dialogue module to do something else other 
> than end the call on a timeout?
>
> I am trying to play a "remaining time announcement" i.e "40seconds 
> remaing" via rtpproxy but cannot see a way of triggering this from 
> within the script.
>
> I assume that I would need to fire an external app to monitor the call 
> length and send the announcement trigger to rtpproxy independant of 
> the script? However this will be a pain as I won't know what rtpproxy 
> was used for the call to send the request to ( if multiples used).
>
> Anyone already implemented something like this, don't want to go to 
> the length of installing asterisk or freeswitch as this will ad 
> uneeded layers of complexity for my application.
>
> Will call control offer me this function as it only seems to mention 
> call termination on prepaid expiry.
>
> Many thanks
>
> Chris
>

-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 2nd of May 2011
OpenSIPS solutions and "know-how"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110406/ed8aef63/attachment.htm>


More information about the Users mailing list