areski / a2billing-flask-api

Restful A2Billing APIs in Flask
http://a2billing-flask-api.readthedocs.org
Mozilla Public License 2.0
21 stars 13 forks source link

Adding new Card api doesn't add SIP account #6

Open mfurqan777 opened 7 years ago

mfurqan777 commented 7 years ago

Hi curl -u admin:admin --dump-header - -H "Content-Type:application/json" -X POST --data '{"username": "343434232322", "useralias": "343434232322", "lastname": "Belaid", "firstname": "Areski", "uipass": "2323f2323323", "credit": "5", "tariff": "1", "sip_buddy": "1", "iax_buddy": "1" }' http://127.0.0.1:9090/api/card/ this creates customer only as its set "sip_buddy": "1" but no sip account for this customer gets created also there's no api to create sip account for customer

Any help regarding this would be appreciated

Thanks

ramagurijala commented 5 years ago

Any help in this regard will be appreciated. I am facing the same issue.