[ previous ] [ next ] [ threads ]
 To :  Ganapathi Chidambaram <ganapathi.rj@g...>,Yate mailing list <yate@v...>
 From :  aucyxob <aucyxob@y...>
 Subject :  Re: [yate] [ YATE 6.0 ] Call Disconnected once Answered
 Date :  Mon, 02 Oct 2017 09:55:20 +0300
Hello Ganapathi Chidambaram!
 
I'll give advice on how to cook yate. The msgsniff module will help you to understand what happens under the hood of the yate.
 
Pay attention to
Sniffed = Ask,
Returned = Answer,
retval = answer,
handlers = who were asked
 
For example:
Sniffed 'call.route' time96310869.987047
  thread=0x7ff70c0bb960 'Call Router'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/57897'
  param['module'] = 'sip'
  param['status'] = 'incoming'
...
Sniffed 'chan.startup' time96310869.987334
  thread=0x7ff714021c60 'Engine Worker'
  data=(nil)
  retval='(null)'
  param['id'] = 'sip/57897'
  param['module'] = 'sip'
  param['status'] = 'incoming'
...
Sniffed 'database' time96310869.990845
  thread=0x7ff70c0bb960 'Call Router'
  data=(nil)
  retval='(null)'
  param['account'] = 'default'
  param['query'] = 'SELECT * FROM ...
  param['results'] = 'true'
...
Returned true 'database' delay=0.003325
  thread=0x7ff70c0bb960 'Call Router'
  data=0x1442520
  retval='(null)'
  param['account'] = 'default'
...
Returned true 'call.route' delay=0.007236
  thread=0x7ff70c0bb960 'Call Router'
  data=(nil)
  retval='fork'
param['handlers'] = 'regexroute:100,cdrbuild:50,regexroute:80,sip:100,register:100'
...
...
etc.
 
It is also useful to see what happens outside of yate in communication protocols (SIP, H323 etc). These tools can also be useful:
sngrep
tcpdump
wireshark
 
As for me these tools are more useful than
yate.conf
[debug]
sip=level ...
 
Best Regards,
Anton


01.10.2017, 14:30, "Ganapathi Chidambaram" <ganapathi.rj@g...>:
Hi

As everything fine until few days before but right now when i noticed every outgoing call are dropped once it's answered by called party. And Incoming call are all immediately disconnected with the SIP disconnect reason as "Not Accepted Here - 488".

As i referenced and assumed as issue related with SIP Codec. If that's the reason then why suddenly the problem arised and how to resolve the same.

log :
YateSIPConnection::hangup() state=1 trans=0x7f30d00055b0 error='unacceptable' codeH8 reason='Not Acceptable Here' [0x7f30d00020d0]



Regards,
Ganapathi