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

2010-07-16 Thread Thomas Gelf
Am 16.07.2010 04:43, schrieb Julian Yap:
>>> However, I'd in most cases still prefer to do so instead of using
>>> Rtpproxy ;-)
> 
> Any particular reasons against using RTPProxy?

No, RTPProxy shall also work fine. However, you have to shift all
packets to userspace - Mediaproxy doesn't do so. That fact alone
should be a great performance advantage. Mediaproxy's architecture
is really well done and it allows you to scale far (even if for
most setups a single host would suffice).

I didn't follow RTPProxy development for a long time, I'm pretty
sure there have also been improvements. And: Mediaproxy is not the
right tool when you are trying to create some multihomed ALG/SBC-
solution, involving private IP addresses. Mediaproy must run on a
public IP address.

Regards,
Thomas

-- 
 mail: tho...@gelf.net
  web: http://thomas.gelf.net/



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2010-07-16 Thread Julian Yap
Holy shit (pardon my French and excitement), I just ran through the
install of MediaProxy on my development server and it all works!  All
my initial testing works.  IT JUST WORKS.

What a great piece of software!

I was initially put off by the difficult install of MediaProxy and all
the hype around RTPProxy being written in C but I can tell you I spent
a lot of time trying to get RTPProxy working...  And for a long time
it was working until I brought on my new T38 Fax server and stuff just
didn't work in any consistent and logical fashion.  I've been beating
my head against a wall for a week.

MediaProxy works, RTPProxy doesn't work.  Simple as that.

Thank you!

- Julian

On Thu, Jul 15, 2010 at 9:03 PM, Saúl Ibarra Corretgé
 wrote:
> Hi,
>
>> You mean 'Now all corner cases'?  So I would use engage_media_proxy()
>> and also need to implement the dialog module?
>>
>
> No, there are two ways of using mediaproxy:
>   - Using the dialog module triggered function engage_mediaproxy: the
> dialog module enables or disables MediaProxy by calling functions
> internally. You only need to call this function once for the original
> INVITE.
>   - Using the individual function use_media_proxy and
> end_media_session: you'll need to call then manually in your routing script.
>
>> Does MediaProxy require 2 servers.  One for OpenSIPS and one for the
>> relay?  Dispatcher can run on the same box as OpenSIPS?  Or can it all
>> go on 1 server.
>>
>
> MedisPRoxy consists of two components: the dispatcher and the relay. The
> dispatcher must be installer in the same box as OpenSIPS, but the relay
> can be installed on a separate server. You may install both components
> in the same server.
>
>
> Regards,
>
> --
> Saúl Ibarra Corretgé
> AG Projects

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2010-07-16 Thread Saúl Ibarra Corretgé
Hi,

> You mean 'Now all corner cases'?  So I would use engage_media_proxy()
> and also need to implement the dialog module?
>

No, there are two ways of using mediaproxy:
   - Using the dialog module triggered function engage_mediaproxy: the 
dialog module enables or disables MediaProxy by calling functions 
internally. You only need to call this function once for the original 
INVITE.
   - Using the individual function use_media_proxy and 
end_media_session: you'll need to call then manually in your routing script.

> Does MediaProxy require 2 servers.  One for OpenSIPS and one for the
> relay?  Dispatcher can run on the same box as OpenSIPS?  Or can it all
> go on 1 server.
>

MedisPRoxy consists of two components: the dispatcher and the relay. The 
dispatcher must be installer in the same box as OpenSIPS, but the relay 
can be installed on a separate server. You may install both components 
in the same server.


Regards,

-- 
Saúl Ibarra Corretgé
AG Projects

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2010-07-15 Thread Julian Yap
On Wed, Jul 14, 2010 at 11:14 PM, Adrian Georgescu  wrote:
>
> On Jul 15, 2010, at 11:59 AM, Thomas Gelf wrote:
>
>> Am 15.07.2010 09:26, schrieb Adrian Georgescu:
 MediaProxy is able to detect the changing media port?
>>>
>>> If the port change is present in the signaling MP will act upon it 
>>> accordingly.
>>
>> I can confirm this, I'm intensively T.38 with and without Mediaproxy.
>> And YES, there are such ReINVITEs - changing IPs and Ports...
>>
>
> Thanks for the confirmation

RTPProxy has been working nicely for me thus far but I've introduced a
new Fax Server which doesn't play nicely with RTPProxy for some reason
:(.

>>> You only need to use a single line in your config for enabling mediaproxy 
>>> so is very easy to test it.
>>
>> Please note that once you are using multiple parallel / serial branches
>> this could no longer be true, you could be forced to manually "use/stop"
>> Mediaproxy on your branch routes instead of just calling "engage".
>
> Right, no all corner cases are captured by the logic of engage method.

You mean 'Now all corner cases'?  So I would use engage_media_proxy()
and also need to implement the dialog module?

Does MediaProxy require 2 servers.  One for OpenSIPS and one for the
relay?  Dispatcher can run on the same box as OpenSIPS?  Or can it all
go on 1 server.

>> However, I'd in most cases still prefer to do so instead of using
>> Rtpproxy ;-)

Any particular reasons against using RTPProxy?

- Julian

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2010-07-15 Thread Adrian Georgescu

On Jul 15, 2010, at 11:59 AM, Thomas Gelf wrote:

> Am 15.07.2010 09:26, schrieb Adrian Georgescu:
>>> MediaProxy is able to detect the changing media port?
>> 
>> If the port change is present in the signaling MP will act upon it 
>> accordingly.
> 
> I can confirm this, I'm intensively T.38 with and without Mediaproxy.
> And YES, there are such ReINVITEs - changing IPs and Ports...
> 

Thanks for the confirmation

>> You only need to use a single line in your config for enabling mediaproxy so 
>> is very easy to test it.
> 
> Please note that once you are using multiple parallel / serial branches
> this could no longer be true, you could be forced to manually "use/stop"
> Mediaproxy on your branch routes instead of just calling "engage".

Right, no all corner cases are captured by the logic of engage method.

> 
> However, I'd in most cases still prefer to do so instead of using
> Rtpproxy ;-)

Adrian


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2010-07-15 Thread Thomas Gelf
Am 15.07.2010 09:26, schrieb Adrian Georgescu:
>> MediaProxy is able to detect the changing media port?
> 
> If the port change is present in the signaling MP will act upon it 
> accordingly.

I can confirm this, I'm intensively T.38 with and without Mediaproxy.
And YES, there are such ReINVITEs - changing IPs and Ports...

> You only need to use a single line in your config for enabling mediaproxy so 
> is very easy to test it.

Please note that once you are using multiple parallel / serial branches
this could no longer be true, you could be forced to manually "use/stop"
Mediaproxy on your branch routes instead of just calling "engage".

However, I'd in most cases still prefer to do so instead of using
Rtpproxy ;-)

Regards,
Thomas Gelf

-- 
 mail: tho...@gelf.net
  web: http://thomas.gelf.net/



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2010-07-15 Thread Adrian Georgescu
On Jul 15, 2010, at 4:59 AM, Julian Yap wrote:

> 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?
> 

If the port change is present in the signaling MP will act upon it accordingly.

You only need to use a single line in your config for enabling mediaproxy so is 
very easy to test it.

Adrian


> - Julian
> 
> On Tue, Jul 6, 2010 at 9:19 PM, Adrian Georgescu  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
>>>  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)  -->  (1

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

2010-07-14 Thread Julian Yap
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  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
>>  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)             |
 |        

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

2010-07-07 Thread Adrian Georgescu

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
>  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@lists.opensips.org
>>> http://l

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

2010-07-06 Thread Julian Yap
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.

- Julian

On Tue, Jul 6, 2010 at 10:07 AM, Bogdan-Andrei Iancu
 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@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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

___

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

2010-07-06 Thread Bogdan-Andrei Iancu
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@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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2010-07-03 Thread Julian Yap
Hi Pavel,

Yeah, in my example, the media port is changed on the T38 reinvite.
Isn't RTPProxy meant to handle this port change?

- Julian

2010/7/3 Pavel Eremin :
> you may change and control content of SDP body by module "textops". So, if
> port is change you may change it back or log it or smth else...
> i use it when Broadworks change media port for G711 to 0...
>
> Julian Yap  писал(а) в своём письме Sat, 03 Jul
> 2010 03:37:48 +0600:
>
>> 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@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>> __ Information from ESET NOD32 Antivirus, version of virus
>> signature database 5248 (20100703) __
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.esetnod32.ru/.ml
>>
>>
>>
>
>
>
> ___
> Users mailing list
> Users@lists.opens

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

2010-07-03 Thread Pavel Eremin
you may change and control content of SDP body by module "textops". So, if  
port is change you may change it back or log it or smth else...
i use it when Broadworks change media port for G711 to 0...

Julian Yap  писал(а) в своём письме Sat, 03 Jul  
2010 03:37:48 +0600:

> 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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> __ Information from ESET NOD32 Antivirus, version of virus  
> signature database 5248 (20100703) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.esetnod32.ru/.ml
>
>
>



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2010-07-02 Thread Julian Yap
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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users