Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-23 Thread Pekka Pessi
2008/1/23, Martin Drasar [EMAIL PROTECTED]: 1) I have modified the proxy to send some realm and it didn't help. 2) reINVITE I'm not sure how the reinvite works so I have just tried this piece of code: nua_invite(nh, TAG_END()); Problem is that the invite is sent, but it's not challenged.

Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-23 Thread Martin Drasar
Pekka Pessi napsal(a): 2008/1/18, Martin Drasar [EMAIL PROTECTED]: I have a problem with proxy authentication. My user agent registers itself with proxy without a problem. However when I want it to redirect a call, the following happens: 1) REFER is sent to proxy 2) Proxy answers with

Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-23 Thread Pekka Pessi
2008/1/23, Martin Drasar [EMAIL PROTECTED]: Could you have a peek in 407 response, is the sip-sip_proxy_authenticate non-NULL? Does nua call auc_challenge()? auc_challenge is called, but the first parameter (nh-nh_auth) is NULL. sip-sip_proxy_authenticate has some data inside. Hm. And when

Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-23 Thread Martin Drasar
Pekka Pessi napsal(a): 2008/1/23, Martin Drasar [EMAIL PROTECTED]: 1) I have modified the proxy to send some realm and it didn't help. 2) reINVITE I'm not sure how the reinvite works so I have just tried this piece of code: nua_invite(nh, TAG_END()); Problem is that the invite is sent,

Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-23 Thread Martin Drasar
Pekka Pessi napsal(a): 2008/1/23, Martin Drasar [EMAIL PROTECTED]: Could you have a peek in 407 response, is the sip-sip_proxy_authenticate non-NULL? Does nua call auc_challenge()? auc_challenge is called, but the first parameter (nh-nh_auth) is NULL.

Re: [Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-21 Thread Pekka Pessi
2008/1/18, Martin Drasar [EMAIL PROTECTED]: I have a problem with proxy authentication. My user agent registers itself with proxy without a problem. However when I want it to redirect a call, the following happens: 1) REFER is sent to proxy 2) Proxy answers with 407 3) In nua_r_refer event

[Sofia-sip-devel] proxy authentication failed when redirecting

2008-01-18 Thread Martin Drasar
Hello, I have a problem with proxy authentication. My user agent registers itself with proxy without a problem. However when I want it to redirect a call, the following happens: 1) REFER is sent to proxy 2) Proxy answers with 407 3) In nua_r_refer event I use this code to answer the challenge: