[OpenSIPS-Users] Prepaid time remaining announcement?

Chris Martineau chris at ghosttelecom.com
Tue Mar 15 12:47:12 CET 2011


Hi,

 

Thanks for that, I will have a think and see how best to proceed. A
useful addition to the dialogue module would be something like an
external event trigger or other dialogue timers that trigger user
defined functions.

 

Many thanks

 

Chris

 

From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Adrian Georgescu
Sent: 15 March 2011 11:30
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Prepaid time remaining announcement?

 

Hi Chris,

 

Out of the box call-control will not do such thing. You can of course
modify it to do something before call expiration. Finding the relay and
making it play something is a pretty ugly hack.

 

In my experience playing prompts in the middle of an established session
can be done reliable only by inserting a fully fledged B2BUA. This is
the price you have to pay for adding such feature. Other hacks will fail
in one way or another depending on flow scenario, codecs etc...

 

Adrian

 

On Mar 15, 2011, at 12: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

 

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

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


More information about the Users mailing list