Re: [Sofia-sip-devel] Variable number of tag parameters

2009-03-09 Thread Aleksander Morgado
> > nua_invite(nh, ...other tags..., TAG_NEXT(tags)); > > Isn't TAG_END() needed here at the end? Or is it implicitly taken from the tag list? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, C

Re: [Sofia-sip-devel] Variable number of tag parameters

2009-03-09 Thread Pekka Pessi
2009/3/9 Aleksander Morgado : >>   nua_invite(nh, ...other tags..., TAG_NEXT(tags)); > Isn't TAG_END() needed here at the end? Or is it implicitly taken from the > tag list? The NULL pointer at tags[n_headers].t_tag is used as sentinel. NULL is as good as TAG_END() -- Pekka.Pessi mail at nokia

Re: [Sofia-sip-devel] Variable number of tag parameters

2009-03-09 Thread Aleksander Morgado
Hi Fabio, > I'd like to know it there is a way for me to pass a variable number of > tagged parameters for Sofia functions. For example, I have an array with an > unknown number of strings that represent headers, and I'd like to call > nua_invite() with a SIP_HEADER_STR() tag for each member of t

Re: [Sofia-sip-devel] Variable number of tag parameters

2009-03-09 Thread Pekka Pessi
...oops, too fast clickin... 2009/3/9 Fabio Margarido : > I'd like to know it there is a way for me to pass a variable number of > tagged parameters for Sofia functions. For example, I have an array with an > unknown number of strings that represent headers, and I'd like to call > nua_invite() wit

Re: [Sofia-sip-devel] Variable number of tag parameters

2009-03-09 Thread Pekka Pessi
2009/3/9 Fabio Margarido : > I'd like to know it there is a way for me to pass a variable number of > tagged parameters for Sofia functions. For example, I have an array with an > unknown number of strings that represent headers, and I'd like to call > nua_invite() with a SIP_HEADER_STR() tag for e

[Sofia-sip-devel] Variable number of tag parameters

2009-03-09 Thread Fabio Margarido
Hi there, I'd like to know it there is a way for me to pass a variable number of tagged parameters for Sofia functions. For example, I have an array with an unknown number of strings that represent headers, and I'd like to call nua_invite() with a SIP_HEADER_STR() tag for each member of the array.

Re: [Sofia-sip-devel] 904 No Matching Challenge

2009-03-09 Thread mikhail.zabaluev
Hi, >-Original Message- >From: ext Martin Drasar [mailto:dra...@optimsys.cz] >Sent: Monday, March 09, 2009 10:24 AM >To: sofia-sip-devel >Subject: Re: [Sofia-sip-devel] 904 No Matching Challenge > >Jerry Richards napsal(a): >> Hello All, >> >> If my MD5 Authentication username is incorre

Re: [Sofia-sip-devel] nta callbackfunction!!!

2009-03-09 Thread Della Betta Filippo
The signature of nta_request_f (see nta.h line 179) must be like the following int process_nta_request (nta_leg_magic_t *lmagic, nta_leg_t *leg, nta_incoming_t *irq, sip_t const *sip) { ... return ...; } From:

[Sofia-sip-devel] nta callbackfunction!!!

2009-03-09 Thread gilles Djomo Sawa
Hello, i get some problem with the declaration of the nat callbackfunction. i've done this example int process_nta_request(nta_agent_magic_t *context, nta_agent_t *agent, nta_incoming_t *irq, sip_t *sip) { ... return ...

Re: [Sofia-sip-devel] 904 No Matching Challenge

2009-03-09 Thread Martin Drasar
Jerry Richards napsal(a): > Hello All, > > If my MD5 Authentication username is incorrect, I noticed my sofia-sip phone > will get a "904 No Matching Challenge" event in response to my > nua_authenticate() call. This only happens AFTER the first > nua_authenticate() call (the first one works corr