[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] Linphone sends 2voice packets at the same time every 40
From: |
LiXingCai |
Subject: |
[Linphone-users] Linphone sends 2voice packets at the same time every 40 ms. |
Date: |
Mon, 27 Apr 2015 18:45:10 +0800 |
Hi, Linphone authors,
I am a new comer. I am using the linphone as my Sip client to make a call. And
it looks work well. With using wireshark to check the time stamp for the g.711
ulaw data, I found that every 40 ms, linphone sends 2 voice packets. While
other sip phone such as X-lite, always send one packet every 20ms.
I believe the 2 packets sending every 40ms should be a intended setting by the
author. But this setting isnot my expecting result.
Could you please tell me how to change this setting , if it is, to make sure
the linphone can send a voice packet every 20ms?
Best regards,
Bob Li
> 在 2015年4月27日,17:51,Gautier Pelloux-Prayer <address@hidden> 写道:
>
> 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 <address@hidden> 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&...
>>
>> 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
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/linphone-users
>>
>> _______________________________________________
>> Linphone-users mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/linphone-users
>
>
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users