VDAD pad RTP packets before transferring to agent
Posted: Wed Mar 11, 2020 8:34 pm
Hi guys,
I know this is a little bit of an asterisk question/little bit vici but I thought I'd post on here for some advice first.
I have a requirement for asterisk to not use silence suppression (not sure if it's actually silence suppression or just that it's not sending anything) for a call, the reason why is somewhat long and complicated and not really important. Essentially when a VDAD call goes out, the RTP (audio) packets are not sent until the call is transferred through to the agent. In the image below you can see this (top channel is asterisk, bottom channel is carrier). The first blue line is when the SIP ACK comes through and the customer picks up, then the first black line is when the agent is given the call. The lack of data between the blue and first black line are the missing RTP packets I'm talking about.
Is there a way that you're aware of to either:
1) Ensure that asterisk always sends RTP packets and doesn't stop as seen in the photos.
2) Add a line to the dialplan in the VDAD route to play some silence. Was thinking of using Background(silence/3) but not entirely sure where to put it or if it would block anything to do with transferring to the agent, or the dialplan continuing etc.
Thanks in advance.
VICI VERSION: 2.14-721a
BUILD: 191015-1620
Asterisk: 11.22.0-vici
OS: Centos 6.10
I know this is a little bit of an asterisk question/little bit vici but I thought I'd post on here for some advice first.
I have a requirement for asterisk to not use silence suppression (not sure if it's actually silence suppression or just that it's not sending anything) for a call, the reason why is somewhat long and complicated and not really important. Essentially when a VDAD call goes out, the RTP (audio) packets are not sent until the call is transferred through to the agent. In the image below you can see this (top channel is asterisk, bottom channel is carrier). The first blue line is when the SIP ACK comes through and the customer picks up, then the first black line is when the agent is given the call. The lack of data between the blue and first black line are the missing RTP packets I'm talking about.
Is there a way that you're aware of to either:
1) Ensure that asterisk always sends RTP packets and doesn't stop as seen in the photos.
2) Add a line to the dialplan in the VDAD route to play some silence. Was thinking of using Background(silence/3) but not entirely sure where to put it or if it would block anything to do with transferring to the agent, or the dialplan continuing etc.
Thanks in advance.
VICI VERSION: 2.14-721a
BUILD: 191015-1620
Asterisk: 11.22.0-vici
OS: Centos 6.10