[Sofia-sip-devel] Disabling REFER autorespond in Sofia - side issue

2010-12-14 Thread Nauman Sulaiman
Hi, using Sofia 1.12.10. If i disable autorespond 202 for incoming refer
like this NUTAG_APPL_METHOD(REFER)

So i handle the 202 myself like this 
nua_respond(nh, SIP_202_ACCEPTED, NUTAG_WITH_CURENT(nua), TAG_END());

But then when i try to save the event handle of the refer so i can pass to 
outgoing invite with replaces (so i get autosend of NOTIFYs)

sip_event_t const *event = NULL;
tl_gets(tags, NUTAG_REFER_EVENT_REF(event), TAG_END()); 

THe event is NULL, this time. I think its because i did the nua_respond.
Anyone know how to get this to work.
Everything was working fine with autorespond of the refer but i need to disable 
this.

Thanks


  

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] [sofia-sip-devel] digest authorization using HA1 directly

2010-12-14 Thread Paulo Vicentini
Hi
I using sofia-SIP as an UAC to register with a SIP registrar
I'd like to avoid using the secret (it is indeed not available) directly
while creating a digest authorization header with:
int auc_digest_authorization(auth_client_t *ca,
su_home_t *home,
char const *method,
url_t const *url,
msg_payload_t const *body,
msg_header_t **return_headers)

Only HA1 = md5(username:realm:password) is available
So that I intend to use HA1 = md5(username:realm:password) instead

What do you say about that?

Thanks

Paulo
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel