Author Topic: Drop SIP Channel if RTP failed  (Read 6456 times)

ganapathi

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Drop SIP Channel if RTP failed
« on: January 16, 2019, 03:36:23 AM »
Hi,

As i experienced issue as in-between middle of the SIP call there was an network issue and yate shows this error log and my calls was disconnected. But channels are not cleared until restarting of yate service.

ErrorLog :
2019-01-10_07:44:18.353790 <NOTE> RTP send failed (local=192.168.1.254:30522 remote=192.168.1.189:4016): 22 Invalid argument
2019-01-10_07:44:19.000387 <sip:WARN> Transport(general) Socket send error: Network is unreachable (101) [0x25845c0]
2019-01-10_07:44:19.957242 <NOTE> RTCP send failed (local=192.168.1.254:19815 remote=192.168.1.78:10121): 22 Invalid argument
2019-01-10_07:44:20.079785 <NOTE> RTCP send failed (local=192.168.1.254:21143 remote=192.168.1.91:10053): 22 Invalid argument
2019-01-10_07:44:22.745151 <NOTE> RTCP send failed (local=192.168.1.254:30523 remote=192.168.1.189:4017): 22 Invalid argument

So i wish to drop those channel by handling the messages or any other way to do by altering ysipchan.cpp.

Kindly point me to proper function alter this because i didn't noticed any message to put handler and do drop channel action.