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

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 incorrect, I

[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

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

2009-03-09 Thread Pekka Pessi
2009/3/9 Fabio Margarido fabiomargar...@gmail.com: 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

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

2009-03-09 Thread Pekka Pessi
...oops, too fast clickin... 2009/3/9 Fabio Margarido fabiomargar...@gmail.com: 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

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 the

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

2009-03-09 Thread Pekka Pessi
2009/3/9 Aleksander Morgado sofia-sip-de...@aleksander.es:   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() --