[Asterisk-Dev] iax spec

Derek Smithies derek at indranet.co.nz
Tue May 3 18:29:06 MST 2005


Hi,

 In the iax spec, can someone tell me what the stop sounds packet is ?



           |  <=================stop sounds=======  |

Is it a QUELCH message  ?

I did a dump with ethereal of a iax2 call to the server at 
guest at misery.digium.com/s   
and did not observe a stop sounds packet betwewen ringing and answer

Is the stop sounds packet optional ?

      |    |  ====ACK===========================>   |
      |    |                                        |
      |    |  <---------Voice miniframe (ring)---   |
      |    |  <---------Voice miniframe (ring)---   |
      |    |                                        |
    \ | /  |  <=========================RINGING===  |
     \|/   |  ====ACK============================>  |
           |                                        |
           |  <---------Voice miniframe (ring)---   |
           |  <---------Voice miniframe (ring)---   |
           |                                        |
           |  <=================stop sounds=======  |


===============================================

In that dump with ethereal of a iax2 call to guest at misery.digium.com/s
I noted that digium server sent me a ringing packet 1 millisecond after 
sending me an accept packet.

Which means the server at digium sent me a ringing packet before it had 
received my ack of the server's accept.

The spec states:
           |                                        |
           |  ====NEW============================>  |
      T    |  <=========================AUTHREQ===  |
      i    |  ====AUTHREP========================>  |
      m    |  <==========================ACCEPT===  |
      e    |  ====ACK============================>  | **
           |                                        |
      |    |  <=============Voice (full frame)===   |
      |    |  ====ACK===========================>   |
      |    |                                        |
      |    |  <---------Voice miniframe (ring)---   |
      |    |  <---------Voice miniframe (ring)---   |
      |    |                                        |
    \ | /  |  <=========================RINGING===  |
     \|/   |  ====ACK============================>  |
           |                                        |
           |  <---------Voice miniframe (ring)---   |
           |  <---------Voice miniframe (ring)---   |
           |                                        |
           |  <=================stop sounds=======  |
           |  <==========================ANSWER===  |
           |  ====ACK============================>  |
           |                                        |
           |  ====Voice (full frame)=============>  |
           |  <=============================ACK===  |

Yep, the server should have waited for the ACK at ** before sending the 
RINGING. 

==============================================================

Further, I did not receive any voice frames between the ACCEPT and 
and ANSWER frames. So, are the above voice frames optional? If they are 
optional, the spec should state so.


thanks,
 Derek.
-- 
Derek Smithies Ph.D.                         
IndraNet Technologies Ltd.                
Email: derek at indranet.co.nz         
ph +64 3 365 6485                          
Web: http://www.indranet-technologies.com/  




More information about the asterisk-dev mailing list