Configure PJMEDIA_UDP_NO_SRC_ADDR_CHECKING viaconfig_site.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Benny,

Thank you for your response.
I probably will make a patch later.

Best regards,
Arie

-----Original Message-----
From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Benny Prijono
Sent: 2008-Feb-29 10:29
To: pjsip list
Subject: Re: Configure PJMEDIA_UDP_NO_SRC_ADDR_CHECKING
viaconfig_site.h

On 2/27/08, Velthoen, Arie <Arie.Velthoen at nec-philips.com> wrote:
>
>
> Hi Benny,
>
> I had the following problem:
>
> My PJSUA-like application is based on release 0.8.0.
> After it has cleared a call, the opposite involved SIP-phone kept on 
> sending RTP (due to some error condition elsewhere).
> After answering the next call my application switches the RTP address 
> alternatingly between the old and new party:
>
> udpmedia      Remote RTP address switched to 192.168.9.83:49226
> udpmedia      Remote RTP address switched to 192.168.9.72:49204
> ...
>
> I found in the mail-archive that this can be solved in my case by:
> supplying option PJMEDIA_UDP_NO_SRC_ADDR_CHECKING for 
> pjmedia_transport_udp_attach in pjsua_media.c
>
> This works for my application, although the old RTP stream is 
> troubling causing "jitter buffer reset".
>
> Now my question is:
> Can the option PJMEDIA_UDP_NO_SRC_ADDR_CHECKING be made available via 
> config_site.h ?
>
> This way it is easier to include new developments to pjproject in my 
> application.
>

Hi Arie,

frankly I don't know how to make the option configurable via
config_site.h at pjmedia level. At best, we can probably have a flag in
pjsua.h to specify default flag when creating media transport.

Care to make patch? ;-)

cheers,
 -benny


>
> Best regards,
>
> Arie Velthoen

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux