Author Topic: Not working provider ringback tone  (Read 7402 times)

parti3an

  • Newbie
  • *
  • Posts: 6
    • View Profile
Not working provider ringback tone
« on: December 08, 2014, 04:49:53 PM »
Hi all,

   My phone is registered to Yate, when dialing the operator instead of beeps I hear the fake ringback tone Yate. Below dump call

Conv.| Time    | 1.1.1.1                          | 3.3.3.3                        |
     |         |                   | 2.2.2.2    |                   
0    |2.840988 |         INVITE SDP (g729 g71          |                   |SIP From: "234" <sip:234@2.2.2.2 To:<sip:102102123456789@2.2.2.2
     |         |(5064)   ------------------>  (5060)   |                   |
0    |2.848526 |         100 Trying|                   |                   |SIP Status
     |         |(5064)   <------------------  (5060)   |                   |
-----------------------------------------------------------------------------
1    |2.854427 |                   |         INVITE SDP (g729 g71          |SIP From: "234" <sip:234@2.2.2.2 To:<sip:102102123456789@3.3.3.3:5066
     |         |                   |(5060)   ------------------>  (5066)   |
1    |2.855425 |                   |         100 Trying|                   |SIP Status
     |         |                   |(5060)   <------------------  (5066)   |
1    |4.463644 |                   |         180 Ringing                   |SIP Status
     |         |                   |(5060)   <------------------  (5066)   |
1    |4.463723 |                   |         183 Session Progress          |SIP Status
     |         |                   |(5060)   <------------------  (5066)   |
-----------------------------------------------------------------------------
0    |4.472327 |         180 Ringing                   |                   |SIP Status
     |         |(5064)   <------------------  (5060)   |                   |
0    |19.745184|         CANCEL    |                   |                   |SIP Request
     |         |(5064)   ------------------>  (5060)   |                   |
0    |19.752724|         100 Trying|                   |                   |SIP Status
     |         |(5064)   <------------------  (5060)   |                   |
0    |19.753101|         487 Request Terminat          |                   |SIP Status
     |         |(5064)   <------------------  (5060)   |                   |
0    |19.753164|         200 OK    |                   |                   |SIP Status
     |         |(5064)   <------------------  (5060)   |                   |
-----------------------------------------------------------------------------
1    |19.758351|                   |         CANCEL    |                   |SIP Request
     |         |                   |(5060)   ------------------>  (5066)   |
1    |19.758407|                   |         BYE       |                   |SIP Request
     |         |                   |(5060)   ------------------>  (5066)   |
1    |19.758827|                   |         487 Request Terminat          |SIP Status
     |         |                   |(5060)   <------------------  (5066)   |
1    |19.758938|                   |         200 OK    |                   |SIP Status
     |         |                   |(5060)   <------------------  (5066)   |
1    |19.758972|                   |         487 Request Terminat          |SIP Status
     |         |                   |(5060)   <------------------  (5066)   |
1    |19.758977|                   |         200 OK    |                   |SIP Status
     |         |                   |(5060)   <------------------  (5066)   |
1    |19.763604|                   |         ACK       |                   |SIP Request
     |         |                   |(5060)   ------------------>  (5066)   |
-----------------------------------------------------------------------------
0    |19.888881|         ACK       |                   |                   |SIP Request
     |         |(5064)   ------------------>  (5060)   |                   |


1.1.1.1 - its my phone
2.2.2.2 - Yate
3.3.3.3 - provider

My provider send 180 and then 183 SDP, Yate only send 180 in my phone.
Why Yate not send me 183 code? please help

My config
regexroute.conf

[contexts]

[default]
${rtp_forward}^.*=;rtp_forward=no

.*=sip/sip:\0@3.3.3.3:5066

ysipchan.conf

[general]
port=5060
;multi_ringing=yes - I included this option, though it did not help me, maybe I do not rightly understood how it works.

[codecs]
default=disable
g729=yes
mulaw=yes
alaw=yes

YATE version = Yate 5.4.0 1 r5880

Thank you very much for your help, if you need any more then configs or other information write.

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: Not working provider ringback tone
« Reply #1 on: December 09, 2014, 03:29:43 AM »
Hi,

A yate log with sip signalling and message sniffer would help.

parti3an

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Not working provider ringback tone
« Reply #2 on: December 09, 2014, 04:43:53 AM »
Hi, yate log sip signalling and message sniffer in attachment.

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: Not working provider ringback tone
« Reply #3 on: December 09, 2014, 04:58:28 AM »
183 comes after 180 indeed.
set multi_ringing=yes in ysipchan.conf [general] section.
Make sure you don't add it with comment char before it (no ; char).

If still not working please attach the log again.
Try to start yate with timestamps (-Dt should be fine).

parti3an

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Not working provider ringback tone
« Reply #4 on: December 11, 2014, 04:11:03 AM »
Hi,

Is still not work.
This my ysipchan.conf

[general]
; This section sets global variables of the implementation

; port: int: SIP UDP port
port=5060
multi_ringing=yes

[codecs]


Log in attachment.
Thank you for your help.