Hi all, Can anyone help me... i need to display the "cost" of a call during a conversation on a sip or iax phone. I see on voip-info that some snom phone support sendtext application, but i don't know how to update the message with the cost on the phone during the conversation. Every suggestion is apreciated. Thx, Bye Bye Ale
Colin Anderson
2006-Sep-22 09:36 UTC
[asterisk-users] Display message on voip phone...hint?
Just spitballing: 1. Execute a macro in the dial command to spawn an AGI that would return it's PID to Asterisk and accept the IP address or SIP address of the phone as an argument. Call the variable, say, ${INCREMENTCOSTPID} 2. The AGI would store call cost variable plus the increment. It would loop once a minute, and every minute it would execute sipsak with the IP address of the phone that you returned to the AGI in 1) to display a desktop message to the phone indicating cost. 3. The "h" extension would then execute a command like: exten => h,1,System(kill ${INCREMENTCOSTPID} Dunno if you can dump a desktop message to a snom while it is on the line - maybe the snom guys on the list can confirm. Interesting application, though. -----Original Message----- From: Ale [mailto:ale@metaverso.net] Sent: Friday, September 22, 2006 9:32 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Display message on voip phone...hint? Hi all, Can anyone help me... i need to display the "cost" of a call during a conversation on a sip or iax phone. I see on voip-info that some snom phone support sendtext application, but i don't know how to update the message with the cost on the phone during the conversation. Every suggestion is apreciated. Thx, Bye Bye Ale _______________________________________________ --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
Hi, use AOC. See here: http://www.snom.com/wiki/index.php/FAQs#Q:_How_to_show_billing_information_on_the_phone_display.3F Regards, Sven On Friday 22 September 2006 17:31, Ale wrote:> Hi all, > > Can anyone help me... i need to display the "cost" of a call during a > conversation on a sip or iax phone. > > I see on voip-info that some snom phone support sendtext application, > but i don't know how to update the message with the cost on the phone > during the conversation. > > Every suggestion is apreciated. > > Thx, > Bye Bye Ale > _______________________________________________ > --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-- -------------------------------------------------------------------------- snom technology AG Gradestra?e 46 D-12347 Berlin Sven Fischer fax +49 30 39833111 PSTN/ENUM +49 30 39833434 mailto:sven.fischer@snom.de http://www.snom.com -------------------------------------------------------------------------- -- ----------------------------------------------------------------------- See our Docs, FAQs, etc at: http://snom.com/wiki ----------------------------------------------------------------------- snom technology AG Gradestra?e 46 D-12347 Berlin Sven Fischer fax +49 30 39833111 mailto:support@snom.de http://www.snom.com -----------------------------------------------------------------------