[asterisk-users] Display message on voip phone...hint?

Colin Anderson ColinA at landmarkmasterbuilder.com
Fri Sep 22 09:36:59 MST 2006


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 at metaverso.net]
Sent: Friday, September 22, 2006 9:32 AM
To: asterisk-users at 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


More information about the asterisk-users mailing list