On Wed, Jun 23, 2021 at 05:50:34PM +0200, [email protected] 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. _______________________________________________ Linphone-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/linphone-users
