linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] linphonec maximum command length


From: Dennis Filder
Subject: [Linphone-users] linphonec maximum command length
Date: Sat, 26 Jun 2021 11:03:56 +0200

On Wed, Jun 23, 2021 at 05:50:34PM +0200, daniele.guidi83@gmail.com wrote:

> Hello, I would like to use linphonec (your command line SIP client)
> to send text messages from one SIP device (a raspberry Pi4 running
> the latest 32bit RaspberryPi OS) to another SIP device. It seems
> that linphonec accepts only commands with no more than 256
> caharacters. However I should send text messages with more than 256
> caharacters. How can I increase the command lenght limit of
> linphonec?

RaspberryPi OS seems to be based on Debian Buster which means its
Linphone is outdated (still version 3.12 IIRC).  So, you'd probably
have to modify the source code by hand yourself and recompile.  That's
probably not the answer you hoped for.  If you decide to go down that
road increasing PROMPT_MAX_LEN in linphone/console/linphonec.h should
probably be all that is necessary.

Otherwise you'll have to wait till such a change might trickle down
from either Debian (I've put it on my TODO list) or elsewhere.  Also,
current linphone has a tool called lp-sendmsg (which is not yet in
Debian, but will be soon, probably as a backport for Bullseye), and
this tool should be able to send messages of sizes only limited by the
maximum command line length.

Regards,
Dennis Filder.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]