[OpenSIPS-Users] T38 and changing media port for T38 SDP

Julian Yap julianokyap at gmail.com
Thu Jul 15 03:59:32 CEST 2010


Yeah, I am having way too many issues with RTPProxy and the re-invite
port changing.  It's an absolute nightmare.  Everything works fine
when the UA doesn't change media port but when it does, it's really
inconsistent.  Sometimes it works, sometimes it doesn't work.

I think I'm going to try out MediaProxy.

MediaProxy is able to detect the changing media port?

- Julian

On Tue, Jul 6, 2010 at 9:19 PM, Adrian Georgescu <ag at ag-projects.com> wrote:
>
> On Jul 7, 2010, at 12:27 AM, Julian Yap wrote:
>
>> Hi All,
>>
>> I managed to get it working by adding a whole lot of debugging and a
>> whole lot of rtpproxy_offer() and rtpproxy_answer().
>>
>> Now I need to clean up my config because it's a total mess.
>>
>
> You may want to try use mediaproxy if you do not like the mess. You
> need a single line of code in your opensips configuration to achieve
> this.
>
> Adrian
>
>
>> - Julian
>>
>> On Tue, Jul 6, 2010 at 10:07 AM, Bogdan-Andrei Iancu
>> <bogdan at voice-system.ro> wrote:
>>> Hi Julian,
>>>
>>> Do you trigger again the rtpproxy at re-INVITE time ? basically you
>>> need
>>> to do the insertion of rtpproxy again, as for the initial INVITE.
>>>
>>> Regards,
>>> Bogdan
>>>
>>> Julian Yap wrote:
>>>> Any help greatly appreciated!
>>>>
>>>> I'm having problems with a T38 UA which changes port when
>>>> negotiating
>>>> T38 media.  All the other UA's I've encountered thus far use the
>>>> same
>>>> RTP port throughout.
>>>>
>>>> I'm also using RTPProxy.
>>>>
>>>> In the final 200 OK SDP, the UA changes media port from 49200 to
>>>> 49152
>>>> but this changeover isn't detected and the media is sent back to
>>>> port
>>>> 49200 so the call then fails to negotiate T38 properly.  Not sure
>>>> how
>>>> to log the port changes to further debug this issue as well.
>>>>
>>>> Here is the flow:
>>>> | UA                | OpenSIPS          | T38 GW            |
>>>> |         INVITE SDP ( g711U)           |                   |
>>>> |(5060)   ------------------>  (5060)   |                   |
>>>> |         100 Trying|                   |                   |
>>>> |(5060)   <------------------  (5060)   |                   |
>>>> |                   |         INVITE SDP ( g711U)           |
>>>> |                   |(5060)   ------------------>  (5060)   |
>>>> |                   |         100 Trying|                   |
>>>> |                   |(5060)   <------------------  (5060)   |
>>>> |                   |         180 Ringing SDP ( g711U)      |
>>>> |                   |(5060)   <------------------  (5060)   |
>>>> |                   |         200 OK SDP ( g711U)           |
>>>> |                   |(5060)   <------------------  (5060)   |
>>>> |                   |         RTP (g711U)                   |
>>>> |                   |(11392)  <------------------  (14110)  |
>>>> |         RTP (g711U)                   |                   |
>>>> |(49200)  <------------------  (10878)  |                   |
>>>> |         180 Ringing SDP ( g711U)      |                   |
>>>> |(5060)   <------------------  (5060)   |                   |
>>>> |         RTP (g711U)                   |                   |
>>>> |(49200)  ------------------>  (10878)  |                   |
>>>> |                   |         RTP (g711U)                   |
>>>> |                   |(11392)  ------------------>  (14110)  |
>>>> |         200 OK SDP ( g711U)           |                   |
>>>> |(5060)   <------------------  (5060)   |                   |
>>>> |         ACK       |                   |                   |
>>>> |(5060)   ------------------>  (5060)   |                   |
>>>> |         RTP (g711U)                   |                   |
>>>> |(49200)  ------------------>  (10878)  |                   |
>>>> |         RTP (g711U)                   |                   |
>>>> |(49200)  <------------------  (10878)  |                   |
>>>> |                   |         200 OK SDP ( g711U)           |
>>>> |                   |(5060)   <------------------  (5060)   |
>>>> |                   |         RTP (g711U)                   |
>>>> |                   |(11392)  ------------------>  (14110)  |
>>>> |                   |         ACK       |                   |
>>>> |                   |(5060)   ------------------>  (5060)   |
>>>> |         200 OK SDP ( g711U)           |                   |
>>>> |(5060)   <------------------  (5060)   |                   |
>>>> |         ACK       |                   |                   |
>>>> |(5060)   ------------------>  (5060)   |                   |
>>>> |         RTP (g711U)                   |                   |
>>>> |(49200)  ------------------>  (10878)  |                   |
>>>> |         RTP (g711U)                   |                   |
>>>> |(49200)  <------------------  (10878)  |                   |
>>>> |                   |         ACK       |                   |
>>>> |                   |(5060)   ------------------>  (5060)   |
>>>> |                   |         INVITE SDP ( t38)             |
>>>> |                   |(5060)   <------------------  (5060)   |
>>>> |         INVITE SDP ( t38)             |                   |
>>>> |(5060)   <------------------  (5060)   |                   |
>>>> |         200 OK SDP ( t38)             |                   |
>>>> |(5060)   ------------------>  (5060)   |                   |
>>>>
>>>> This is where it sends the 200 OK with a different media port.
>>>>
>>>> - Julian
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>
>>>
>>> --
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Bootcamp
>>> 20 - 24 September 2010, Frankfurt, Germany
>>> www.voice-system.ro
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list