Media dropped on re-INVITE

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

 



Hello,

I'm using the PJSIP client (via the python bindings) in combination
with a Metaswitch VP2510. Fifteen minutes into a call, the VP2510
sends an SDP INVITE message re-stating the session information and
media description in use. When it arrives, my client says:

 15:02:45.968   pjsua_call.c  Call 3: received updated media offer
 15:02:45.969  pjsua_media.c  Media session for call 3 is destroyed
 15:02:45.969  strm0x2270d48  VAD temporarily disabled
 15:02:45.969  strm0x2270d48  Encoder stream started
 15:02:45.969  strm0x2270d48  Decoder stream started
 15:02:45.969  pjsua_media.c  Media updates, stream #0: PCMA (sendrecv)

And then drops the media. My CallCallback object's on_media_state
method gets called and the media_state is 1.

As far as I can tell the re-INVITE is identical to the initial one,
and other SIP clients seem to have no trouble with it. Indeed, the
pjsua example binary has no problem.

Is this something I explicitly need to handle inside my application
code? I find calling conf_connect immediately after the media_state
notification seems to reconnect the media, but it feels like a bit of
a hack.

Many thanks,
Matt.



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux