Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] ARI Push Configuration and duplicate objects


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
andrew at ivins.id.au
Guest





PostPosted: Tue Apr 19, 2016 8:51 pm    Post subject: [asterisk-users] ARI Push Configuration and duplicate object Reply with quote

Hi,

Asterisk 13.8.0. Can anybody explain why I get two objects whenever I use ARI Push? (https://wiki.asterisk.org/wiki/display/AST/ARI+Push+Configuration)


Below is what I see using the auth push example from the wiki, but I get the same thing for endpoints and aors too.


root@vagrant-ubuntu-wily-64:~# asterisk -r -x "pjsip show auths"
No objects found.



root@vagrant-ubuntu-wily-64:~# curl -X PUT -H "Content-Type: application/json" -u asterisk:asterisk -d '{"fields": [ { "attribute": "auth_type", "value": "userpass"}, {"attribute": "username", "value": "alice"}, {"attribute": "password", "value": "secret" } ] }' http://localhost:8088/ari/asterisk/config/dynamic/res_pjsip/auth/alice
[
  {
    "attribute": "md5_cred",
    "value": ""
<snipped>



root@vagrant-ubuntu-wily-64:~#asterisk -r -x "pjsip show auths"
  I/OAuth:  <AuthId/UserName.............................................................>
 =========================================================================================


     Auth:  alice/alice
     Auth:  alice/alice
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services