IP address information

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

 



Hi Benny,

I probably missed your response from November 3rd, I'm sorry. But  
thanks for the hint anyway. Now I have a different problem when I try  
to register to a server. I get the following message:

SIP/2.0 401 Unauthorized
...
User-Agent: PJSUA v0.8.0/i686-pc-linux-gnu
WWW-Authenticate: digest realm="sapo.pt", qop="auth",  
nonce="475fff9401615d41eeb3848f8e1dab0a62652c25f7fe9240510f75440529019e1fa8f5ef06ba70e97d9e81b89859f19c68957abe", opaque="", stale=false,  
algorithm=md5
Content-Length: 0


--end msg--
pjsua-i686-pc-linux-gnu: ../src/pjsip/sip_auth_client.c:135:  
pjsip_auth_create_digest: Assertion `cred_info->data.slen == 32' failed.


and then the app crashes. Any hint about this? Thanks and best regards,

Jorge Amador



Quoting Benny Prijono <bennylp at pjsip.org>:

> jorge.amador at withus.pt wrote:
>> Hi everyone,
>>
>> I have used Ethereal to sniff the packets in the wire during a call
>> with pjsip and I've noticed that there were two different IP addresses.
>> The IP address to which my pjsip app sends RTP packets and the IP
>> address from which my pjsip app receives RTP packets during the media
>> stream are different. The question is: if I want to create dynamic
>> routes for a second IP address in cases like this where can I get this
>> information (IP address),
>
> I thought I've replied to your mail on 3 Nov? But anyway here's my
> answer again.
>
> If you want to support receiving RTP from different address than the
> sendto() address, first of all you'll need to put
> PJMEDIA_UDP_NO_SRC_ADDR_CHECKING flag when creating the UDP media
> transports.
>
> As to where to get the information about the secondary address,
> currently this information is not accessible outside the transport,
> so you'll need to create a transport API to access this (feel free
> to send a patch!).
>
> cheers,
>   -benny
>
>
>> Best regards,
>>
>> Jorge Amador
>>
>>
>>
>> _______________________________________________
>> 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
>
>
> --
> Benny Prijono
> http://www.pjsip.org
>
>
> _______________________________________________
> 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