SDP offer contains to audio media descriptions, only the first one is active

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

 



Hi

I have a setup where I receive 2 audio media description on a single SDP offer:

v=0
o=CiscoSystemsSIP-GW-UserAgent 7701 3179 IN IP4 172.16.0.124
s=SIP Call
c=IN IP4 172.16.0.124
t=0 0
m=audio 19546 RTP/AVP 8
c=IN IP4 172.16.0.124
a=rtpmap:8 PCMA/8000
a=ptime:20
a=sendonly
a=label:1
m=audio 19548 RTP/AVP 8
c=IN IP4 172.16.0.124
a=rtpmap:8 PCMA/8000
a=ptime:20
a=sendonly
a=label:2

PJSUA seems to be able to handle only the first audio channel, the second one has no media type and the answer looks like:

v=0
o=- 3712979275 3712979276 IN IP4 10.0.5.160
s=pjmedia
t=0 0
m=audio 4000 RTP/AVP 8
c=IN IP4 10.0.5.160
b=TIAS:64000
a=rtcp:4001 IN IP4 10.0.5.160
a=rtpmap:8 PCMA/8000
a=recvonly
m=audio 0 RTP/AVP 8
c=IN IP4 172.16.0.124

The second audio channel is received to port 0 and the media type is none, thus there is no way to receive the audio stream from the second audio media.

Can this problem be solved with some configuration parameters or PJSUA library needs to be modified in order to handle both audio media ?

thanks
Bogdan 


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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