[Sofia-sip-devel] proxy

2010-08-19 Thread peter hanshon
how can i creat proxy server with sofia sip thank you -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p

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

2008-02-25 Thread Pekka Pessi
2008/2/22, 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 som

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

2008-02-22 Thread Martin Drasar
Martin Drasar napsal(a): > 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_challeng

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. >> sip-

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 invi

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

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) Pr

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

[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:

[Sofia-sip-devel] proxy-test-application - callback are not called to the application

2007-02-13 Thread adi yoresh
Hi, I'm using the test_proxy application and encounter a few issues. proxy->agent = nta_agent_create(root,URL_STRING_MAKE("sip:9.0.4.11:5060"),* message_recv*, /*call-back for recv message*/ NULL,NTATAG_UA(0),NTATAG_SERVER_RPORT(1),NTATAG_CLIENT_RPORT(1),* NTATAG_EXTRA_100*(1),TAG_END()); It

Re: [Sofia-sip-devel] proxy-test application

2007-02-12 Thread Pekka Pessi
On 2/11/07, adi yoresh <[EMAIL PROTECTED]> wrote: > I'm new to Sofia-SIP and I'm trying to figure out the flow within the stack. > > As I would like to build a SIP-Proxy on-top of the Sofia I used the > test_proxy sample as a starting point. > I have a few questions that I hope someone can answer:

[Sofia-sip-devel] proxy-test application

2007-02-12 Thread adi yoresh
Hi, I'm new to Sofia-SIP and I'm trying to figure out the flow within the stack. As I would like to build a SIP-Proxy on-top of the Sofia I used the test_proxy sample as a starting point. I have a few questions that I hope someone can answer: 1. Where is the parsing takes place? I see that i