Author Topic: yate to yate calling not working  (Read 7605 times)

sohail

  • Newbie
  • *
  • Posts: 3
    • View Profile
yate to yate calling not working
« on: October 05, 2013, 02:10:56 PM »
Hi

I am trying to configure yate on centos. I am able to call from yate to twinkle on extension but there is no call progessing ringing sound and calling from yate to yate is not working its showing audio failure erros. Can anyone has any idea on this.

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: yate to yate calling not working
« Reply #1 on: October 07, 2013, 02:34:45 AM »
Hi,

Can you describe your setup?
In yate client can you disable ringing? (Settings -> Options, Telephony page, uncheck 'Ringer')

sohail

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: yate to yate calling not working
« Reply #2 on: October 08, 2013, 11:34:42 AM »
Hi
Thanks for the reply.

Have disable ringer option that solves audio failure errors coming while calling from yate to twinkle.I am unable to hear the ringing sound but can talk to each other after accepting the call.. But yate to yate calling is still not working. Its showing audio failure errors. I am using sip protocol. Have downloaded yate and compiled it as follows:
untar yate
sudo ./configure --prefix=/usr/apps/bin/yate
sudo make
sudo make install

#.launching yate :
yate-qt4
Once i launch it i configured sip account for calling. It started working on twinkle with out ringing sound. But yate to yate its not working.

Let me know if i have to do changes in some config files.



marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: yate to yate calling not working
« Reply #3 on: October 09, 2013, 05:11:11 AM »
Hi,

Can you post a log?

yate-qt4 -CDat -vvvvv -l yate-qt4.log

sohail

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: yate to yate calling not working
« Reply #4 on: October 10, 2013, 05:07:49 AM »
We can see this when we call from yate to a to phone number . Its shows as Status 'Call progressing: client/2' in window and can hear the ringing sound.

<ALL> Created DataTranslator 0x2b006002b620 for 'mulaw' -> 'slin' by factory 0x2b0032189c20 (len=1)
<ALL> DataTranslator::attachChain [0x2b0094004850] 'mulaw' -> [0x2b006001d220] 'slin' succeeded   
<client:INFO> Dispatching 2 postponed messages                                                     
<client:INFO> Status 'Call progressing: client/2' in window (nil)                                 
<WARN> ALSA write underrun occurred                                                               
<WARN> ALSA write underrun occurred               


But when we call from yate to twinkle on extension we will get  there is no CALL PROGESsing status and no ringing.  No ALSA write underrun occurred

<client:INFO> Dispatching 2 postponed messages                                                     
<client:INFO> Status 'Call ringing: client/3' in window (nil)                                       
<client:INFO> callTerminate(client/3)                                                               
<client/3:CALL> msgDrop() reason=cancelled [0x12822d0]     

On yate to yate calling below logs
         
yrtp:ALL> RTP/AVP message received
<yrtp:ALL> Wrapper 0x2b6124029690 found by ID 'yrtp/1391167182'
<yrtp:INFO> YRTPWrapper::terminate() [0x2b6124029690]         
>>> DataTranslator::detachChain(0x2b612400acc0,0x2b6118026830)
  >>> DataTranslator::detachChain(0x2b612400acc0,0x2b6124010170)
  <<< DataTranslator::detachChain                               
<<< DataTranslator::detachChain                                 
>>> DataTranslator::detachChain(0x2b6118028d10,0x2b6124011610) 
  >>> DataTranslator::detachChain(0x2b6118028d10,0x2b6124011b50)
  <<< DataTranslator::detachChain                               
<<< DataTranslator::detachChain                                 
<yrtp:ALL> YRTPSource::~YRTPSource() [0x2b612400acc0] wrapper=0x2b6124029690 ts=0
<yrtp:ALL> YRTPConsumer::~YRTPConsumer() [0x2b6124011610] wrapper=0x2b6124029690 ts=77600
<yrtp:ALL> YRTPWrapper::~YRTPWrapper() bidir 'audio' [0x2b6124029690]                   
<ALL> Cleaning up RTP 0x2b61240226b0 [0x2b6124029690]                                   
<yrtp:ALL> RTP/AVP message received   
yrtp:INFO> RTP starting format 'mulaw' payload 0 [0x2b6124029870]                                                     
>>> DataTranslator::detachChain(0x2b612400acc0,0x2b6118026830)                                                         
<<< DataTranslator::detachChain                                                                                         
<ALL> Created DataTranslator 0x2b6124010170 for 'mulaw' -> 'slin' by factory 0x2b60eb35fc20 (len=1)                     
<ALL> DataTranslator::attachChain [0x2b612400acc0] 'mulaw' -> [0x2b6118026830] 'slin' succeeded                         
>>> DataTranslator::detachChain(0x2b6118028d10,0x2b612400f3f0)                                                         
<<< DataTranslator::detachChain                                                                                         
<ALL> Created DataTranslator 0x2b6124011b50 for 'slin' -> 'mulaw' by factory 0x2b60eb35fc20 (len=1)                     
<ALL> DataTranslator::attachChain [0x2b6118028d10] 'slin' -> [0x2b612400f3f0] 'mulaw' succeeded                         
<yrtp:INFO> Wrapper opened a hole in firewall/NAT [0x2b6124029870


i can see sound data sending because there will be some codes keeps changing like stop watch seconds time fast.


marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: yate to yate calling not working
« Reply #5 on: October 11, 2013, 12:55:46 AM »
Hi,

I can't help you without log file.