Hi *, For the inter domain fax call (for a SIP <-> PSTN call), after the basic call setup, in case of fax tone detection at the Media Gateway, a new offer SDP shall be sent to the remote party using Re-invite. This new offer SDP should abide by the rules defined in RFC 3264. This SDP normally contains a media description for "image", and additionally a media description for "audio", which shall be used as a fallback (using voice band data). The ordering of the media lines in the offer SDP should be in accordance with Section 8 & 8.1 of RFC 3261, by which the new media line (in this case for "image" media type) should be added at the end or should replace any m-line which has been negated before using "port value" as "0".
So, our assumption is that, even though the "image" media type is after the "audio" media type, T.38 shall still be considered first for the fax transfer, and in case, if T38 fax is not supported, fallback using G.711 shall be used. So, the query would be, whether there is a preference for the media line ordering. For eg, if the "audio" media type is present before the "image" media line, then I presume, there is no preference handling for "audio", as it is present before "image" media type. Please find below the typical T.38 fax scenario: | GW1 Softswitch1 Softswitch 2 GW2 | | | | | | | | |F1 NOTIFY{offhook}| | | | | |----------------->| | | | | |F2 NOTIFY{digit} | | | | | |----------------->| | | | | | F3 Add | | | | | |<---------------- | | | | | | | F4 INVITE | | | | | |---------------->| | | | | | F5 100 Trying | F6 Add | | | | |<----------------|------------->| | | | | | F7 Modify{ri}| | | | | |------------->| | | | | F8 180 Ringing| | | | | F9 Modify{rt} |<----------------| | | | |<-----------------| | F10Notify{of}|hookoff | | | | |<-------------| | | | | | F11 Modify | | | | | |------------->| | | | | F12 200 OK | | | | | |<----------------| | | | | F13 Modify | | | | | |<-----------------| F14 ACK | | | | | |---------------->| | | | | | | | | | | | | | | | | Both Way RTP Media Established | | | Fax |<=================================================>| | | ------>| | | | | emitted| | | |Preamb | | | | |F15Notify{V21}|<----- | | | | |<-------------|detctd | | | | F17 Re-INVITE | F16 Modify | | | | | (GW2 T38 SDP) |------------->| | | | F18 Modify |<----------------| | | | |<-----------------| | | | | | | F19 200 OK | | | | | |(GW1 T38 SDP) | | | | | |---------------->| | | | | | | F20 Modify | | | | | |------------->| | | | | F21 ACK | | | | | |<----------------| | | | | | | | | | T.38/UDPT Fax Flow Established | | | |<=================================================>| | | | | | | | | | | | |End of fax | | | | | |<--------- | | End of | | | F22 Notify | detected | | fax | | F23 Re-INVITE |<-------------| | | detected | (GW2 voice SDP)| | | | ------>| |<----------------| | | | | F24 Notify | | | | | |----------------->| | | | | | F25 Modify | | | | | |<-----------------| | | | | | | F27 200 OK | | | | | | (GW1 voice SDP)| | | | | |---------------->| | | | | | | F28 Modify | | | | |<----------------| | | | | | | | | | | | | | | | | Both Way RTP Media Re-Established | | | |<=================================================>| | Following shall be the SDP present in the Re-invite after fax detection: v=0 o=- 200804293 1328781680 IN IP4 192.168.13.235 s=SDP Data c=IN IP4 192.168.13.235 t=0 0 m=image 51846 udptl t38 a=T38FaxRateManagement:transferredTCF a=T38FaxUdpEC:t38UDPRedundancy a=ecan:fb on - m=audio 49846 RTP/AVP 8 a=ptime:10 a=ecan:fb on - To my understanding of RFC 3264, the above SDP is not in-line with Section 8 & 8.1, if the previously offered or answered SDP (exchanged during the basic call setup) contains only "audio" media type with same port number. Or is it still OK to send the "image" media line before the "audio" media line for the fax call scenarios? Experts, I kindly request you to provide your views/comments in this regard. If any further additional information is required, please let me know. Thanks in advance, kumar Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors