Bug#340574: asterisk: SIP error 400 on outgoing calls

Elmar Haneke elmar at haneke.de
Thu Nov 24 09:29:52 UTC 2005


Package: asterisk
Version: 1:1.2.0.dfsg-4
Severity: important
Tags: patch


On connecing to an SIP provider for outgoing calls there might be an "Error
400" reported (invalid SIP command).

I was able to fix the problem by replacing chan_sip.c by the current CVS source
(rev 1.917).

The relevant patch should be the change from rev 1.913 to 1.914:

4270c4270
<               ast_build_string(a_buf, a_size, "a=fmtp:%d annexb=no",rtp_code);
---
>               ast_build_string(a_buf, a_size, "a=fmtp:%d annexb=no\r\n",rtp_code);



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-mywin4lin
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages asterisk depends on:
ii  adduser                  3.79            Add and remove users and groups
ii  asterisk-config          1:1.2.0.dfsg-4  config files for asterisk
ii  asterisk-sounds-main     1:1.2.0.dfsg-4  sound files for asterisk
ii  libasound2               1.0.10-1        ALSA library
ii  libc6                    2.3.5-8         GNU C Library: Shared libraries an
ii  libcurl2                 1:7.11.2-13     Multi-protocol file transfer libra
ii  libgsm1                  1.0.10-13       Shared libraries for GSM speech co
ii  libncurses5              5.5-1           Shared libraries for terminal hand
ii  libnewt0.51              0.51.6-31       Not Erik's Windowing Toolkit - tex
ii  libogg0                  1.1.2-1         Ogg Bitstream Library
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libpq4                   8.1.0-3         PostgreSQL C client library
ii  libpri1                  1.2.0-release-1 Primary Rate ISDN specification li
ii  libspeex1                1.1.10-1        The Speex Speech Codec
ii  libssl0.9.8              0.9.8a-4        SSL shared libraries
ii  libvorbis0a              1.1.0-1         The Vorbis General Audio Compressi
ii  libvorbisenc2            1.1.0-1         The Vorbis General Audio Compressi
ii  unixodbc                 2.2.11-9        ODBC tools libraries
ii  zlib1g                   1:1.2.3-8       compression library - runtime

asterisk recommends no packages.

-- no debconf information




More information about the Pkg-voip-maintainers mailing list