tmakkonen / sipcmd

sipcmd
327 stars 108 forks source link

add option -m to reduce number of available codecs #50

Closed pfandfrei closed 5 years ago

pfandfrei commented 7 years ago

When connecting sipcmd with Fritz!Box firmware 6.80 it is not working anymore. A large number of available codecs will lead to a "parser memory problem" and connection will be aborted by remote. To save memory (and allow parser to work with the available memory) one can preselect the available codecs. Wildcards are supported (e.g. "G.711*"). All codecs not fitting to this filter will be removed before a connection is made. Maybe this also solves issue #40 in some way.

andyhirsch commented 7 years ago

With your patch sipcmd is dialing again. But when the call is answered the call is instantly terminated (by sipcmd? other party?)

pfandfrei commented 7 years ago

maybe a suitable codec is missing/is filtered? You can make a detailed logfile when you add the option -o "path-to-logfile" to your commandline. I assume you will find the cause why the call is terminated here.

pfandfrei commented 7 years ago

better implementation will allow to select multiple codecs and will output some debugging info