Thank you guys.

I will try and let you know


Regards,
Zohair Raza



On Mon, Apr 27, 2015 at 2:05 PM, Filip Malenka <[email protected]>
wrote:

> No problem :)
>
> On April 27, 2015 11:50:48 AM CEST, Gautier Pelloux-Prayer <
> [email protected]> wrote:
>
>> Hi,
>>
>> You are right, we were missing some documentation around remote provisioning.
>>
>> I started an article on the wiki, if anything is missing feel free to report 
>> it, I’ll add it. Here’s the URL:
>>
>> http://linphone.org/wiki/doku.php/remoteprovisioning:start
>>
>> By the way, thanks Filip for providing us this long explanation ;-).
>>
>> Cheers,
>>
>> Gautier Pelloux-Prayer
>> Software Engineer @ Belledonne Communications
>>
>>  On 22 Apr 2015, at 14:06, Filip Malenka <[email protected]> wrote:
>>>
>>>  Hi Zohair,
>>>
>>>  as I found it difficult to set up as well, maybe this info will get you
>>>  one step further.
>>>
>>>  First look at this xml and you will get the picture :)
>>>
>>>  
>>> https://github.com/oioki/asterisk-users-admin/blob/master/templates/provision-linphone.xml
>>>
>>>  When you compare the entries with your linphonerc file, they are all the
>>>  same.
>>>  CAUTION! That github example contains some variables as well, do not
>>>  blindly copy paste. Variables can do your xml more dynamic and can
>>>  differ per-user.
>>>
>>>  found in this github project
>>>  https://github.com/oioki/asterisk-users-admin.git
>>>
>>>  Prepare such a template on your own, either a static xml file, or a
>>>  complete dynamic template using e.g. php page that returns a valid xml
>>>  based on query string paramteres provided..
>>>
>>>  Your url could look like
>>>  https://yourdomain.com/provision_file.xml
>>>  or
>>>  
>>> https://yourdomain.com/provision_file.php?user=youruser&domain=yourdomain.com&amp;...
>>>
>>>
>>>  Beware that if you put confidential data to the url, you'd be better of
>>>  using https instead of http to not to let somebody steal your credentials..
>>>
>>>  I found the github project mentioned above while searching a how-to. For
>>>  me it was is a guide, not the final solution, as the projects xml
>>>  template configures your linphone with Asterisk. This config depends on
>>>  what sip proxy or domain or special setup you are trying to connect.
>>>  Again, do not just copy-paste.
>>>
>>>  Another mailing list explains a simple setup, I assume, this is
>>>  Linphone's default xml provision scheme when you just register for the
>>>  free sip.linphone.org account
>>>  
>>> https://lists.gnu.org/archive/html/linphone-developers/2014-07/msg00081.html
>>>
>>>  The most important things there are, that if you'd like to read and
>>>  apply the remote provision file only once, put
>>>  <section name="misc">
>>>  <entry name="transient_provisioning">1</entry>
>>>  </section>
>>>  in it.
>>>
>>>  If there are already entries in your linphonerc and you would like to
>>>  overwrite them, then exntend your xml tags with "overwrite=true"
>>>  attribute like this
>>>  <entry name="media_encryption" overwrite="true">srtp</entry>
>>>  This setting will be overwritten on every Linphone startup..
>>>
>>>  Just a side note, I managed to engage my ANTIFLOOD functions on my
>>>  Kamailio server with playing around with xml provisioning and repetitive
>>>  login logouts, so don't be surprised when you will get no
>>> registration,
>>>  or registration timeout after hours of experimenting :)
>>>
>>>  I have questions on my own as well:
>>>  Can I force a UA (e.g. Linphone) to restart remotely, once I change the
>>>  contents of remote provision xml?
>>>  Do the Linphones check for updates in xml regularly? Or only on startup?
>>>  Are there any culprits setting one provisioning url for both, desktop
>>>  and android clients? Because the linphonerc differs a markable bit..
>>>  Can I force the default ring tone on android with remote provision? Now
>>>  my phones ring with default Linphone's "old phone" and not my pohones
>>>  default ringtone and it's annoying..
>>>
>>>  Filip
>>>
>>>  On 21.04.2015 23:53, Zohair Raza wrote:
>>>
>>>>  Hello,
>>>>
>>>>  Can anyone point me to right direction for provisioning SIP accounts?
>>>>
>>>>  I did some search but
>>>> couldn't find any useflul info
>>>>
>>>>
>>>>  Regards,
>>>>  Zohair Raza
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>>  Linphone-users mailing list
>>>>  [email protected]
>>>>  https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>>
>>>>
>>> ------------------------------
>>>
>>>  Linphone-users mailing list
>>>  [email protected]
>>>  https://lists.nongnu.org/mailman/listinfo/linphone-users
>>>
>>
>>
>> ------------------------------
>>
>> Linphone-users mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/linphone-users
>>
>>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
> _______________________________________________
> Linphone-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/linphone-users
>
>
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to