Matthew O Connor ha scritto:

 > Using the same handle I can't change the SDP information in the second
 > INVITE to T38 UDPTL. I use the SOATAG_USER_SDP_STR tag but whatever
 > I put in there is ignored for the old values.

i do more or less the same thing (tried all combinations of SOATAG_ ):

     nua_invite(tech_pvt->nh,
         SOATAG_USER_SDP_STR( buf_final ),
         SOATAG_RTP_SORT(SOA_RTP_SORT_LOCAL),
         RTP_SELECT(SOA_RTP_SELECT_COMMON),
         TAG_END()
     );


This is the SDP passed to nua_invite:

v=0
o=NFax 1638412668 1638412668 IN IP4 10.10.10.240
s=NFax
c=IN IP4 10.10.10.240
t=0 0
m=image 16384 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxFillBitRemoval:0
a=T38FaxTranscodingMMR:0
a=T38FaxTranscodingJBIG:0
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxDatagram:400


This is what actually is sent out:

    soa::local_sdp_str: "v=0
o=NFax 6547498866901436140 54553743616330857 IN IP4 10.10.10.240
s=NFax
c=IN IP4 10.10.10.240
t=0 0
a=sendrecv
m=audio 0 RTP/AVP 9
m=image 16384 UDPTL t38
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxFillBitRemoval:0
a=T38FaxTranscodingMMR:0
a=T38FaxTranscodingJBIG:0
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxDatagram:400
"

Please note:
     m=audio 0 RTP/AVP 9
which shouldn't be there and there is NO way at the moment to set it 
correctly.


I believe we need a way to:
1) use the given RTP without any modification
2) alternatively a SOATAG_RTP_SELECT( SOA_RTP_SELECT_NONE ), that does 
not inserts RTP data

Any other solution ??

Max










-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to