Gerard A. Matthew
2008-Jul-17 16:46 UTC
[asterisk-users] Passing Account Balance to SIP Phone?
Quick Question... I'm trying understand, if it's possible to run an agi script to obtain a user's account balance and from there asterisk would be able communicate that value back to a sip phone. Is that phone feature, or is that an asterisk feature already? Think of this as on a prepaid platform...Before every hangup, the account balance is sent to the user. Hope I'm clear on this. Rgds, Gerard. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080717/7b0a0b42/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: calibishie.vcf Type: text/x-vcard Size: 948 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080717/7b0a0b42/attachment.vcf
Alex Balashov
2008-Jul-17 17:04 UTC
[asterisk-users] Passing Account Balance to SIP Phone?
Gerard A. Matthew wrote:> I'm trying understand, if it's possible to run an agi script to obtain a > user's account balance and from there asterisk would be able communicate > that value back to a sip phone. Is that phone feature, or is that an > asterisk feature already?Phone feature. You can either pass it as caller ID name, or, if the phone supports custom displayed messages, probably via a SIP header (SIPAddHeader()). -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (706) 338-8599