[asterisk-users] Passing Account Balance to SIP Phone?

Matt Riddell matt at venturevoip.com
Tue Aug 12 18:53:54 CDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex Balashov wrote:
> 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()).

pbx*CLI> show application SendText
pbx*CLI>
  -= Info about application 'SendText' =-

[Synopsis]
Send a Text Message

[Description]
  SendText(text[|options]): Sends text to current channel (callee).
Result of transmission will be stored in the SENDTEXTSTATUS
channel variable:
      SUCCESS      Transmission succeeded
      FAILURE      Transmission failed
      UNSUPPORTED  Text transmission not supported by channel

At this moment, text is supposed to be 7 bit ASCII in most channels.
The option string many contain the following character:
'j' -- jump to n+101 priority if the channel doesn't support
       text transport


- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIoiKRDQNt8rg0Kp4RAjTSAJ0YH4/I4Npcwl9n2UZ2Jgiiz7VZCwCfUKPA
QA3/AG0h5OvFaP6CTiFfV24=
=iK7x
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list