can't stop PJSIP from receiving silence packets

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

 



Hi! I am trying to connect a pjsip client program to FS conference. Everything works fine except during periods of silence FS still sends silence packets to pjsip client. I have enabled VAD in the sip profile.When I connect to same conference via zoiper, this issue does not exist; on silence it stops receiving packets. In both cases the client doesn't send any packets when mic muted.

Here is the SDPs for both scenarios for comparison and contrast (IP addresses removed):


This transaction works: no packets during silence
```
zoiper to FS

v=0
o=FreeSWITCH 1547150396 1547150397 IN IP4 x.x.x.x
s=FreeSWITCH
c=IN IP4 x.x.x.x
t=0 0
m=audio 24590 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

FS to zoiper

v=0
o=FreeSWITCH 1547150396 1547150397 IN IP4 x.x.x.x
s=FreeSWITCH
c=IN IP4 x.x.x.x
t=0 0
m=audio 24590 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

```

This one however doesn't. receives silence packets from FS when no one in conference is speaking(muted mics)

```
pjsip to Freeswitch

v=0
o=- 3756406405 3756406405 IN IP4 x.x.x.x
s=pjmedia
b=AS:117
t=0 0
a=X-nat:0
m=audio 28684 RTP/AVP 98 97 99 104 3 0 8 9 120 96
c=IN IP4 x.x.x.x
b=TIAS:96000
a=rtcp:4001 IN IP4 x.x.x.x
a=sendrecv
a=rtpmap:98 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:99 speex/32000
a=rtpmap:104 iLBC/8000
a=fmtp:104 mode=30
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:120 opus/48000/2
a=fmtp:120 useinbandfec=1
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16

freeswitch to pjsip

v=0
o=FreeSWITCH 1547399121 1547399122 IN IP4 x.x.x.x
s=FreeSWITCH
c=IN IP4 x.x.x.x
t=0 0
m=audio 18484 RTP/AVP 0 96
a=rtpmap:0 PCMU/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
a=ptime:20
a=rtcp:18485 IN IP4 x.x.x.x

``` 

I am so lost! Any assistance appreciated. 


This Communication is Confidential. We only send and receive email on the
basis of the terms set out at www.taitradio.com/email_disclaimer

_______________________________________________
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