简体   繁体   中英

Getting Asterisk Dialplan user list on the android application

I am developing a project in which Android client connects with Asterisk SIP server and can call to another SIP client connected with the same Asterisk SIP server. While doing so each time I have to manually enter the USER ID (which I mention in the SIP.conf file) of the client whom I want to contact with. Is there any way such that I can retrieve the "Dialplan users list" from the Asterisk server onto my Android SIP client. Please suggest me with any solution possible. Thank You.

You can get list on server via AMI . But bad idea do that from client app. Better create server app which will check any info you need and provide api for your client(with restictions).

Looks like you are trying to re-invent phone provision .

您可以通过AMI 操作发送

  SIPpeers     system,all   List SIP peers (text format)                           

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM