[Sofia-sip-devel] Multiple Registration support

2010-07-12 Thread Nauman Sulaiman
Hi, using sofia 1.12.10 I have read through the archives various posts on NUTAG_M_USERNAME and NUTAG_IDENTITY and its just confusing. Here's what i want to do, i want my applicationto support registrations with different SIP providers so that it can receive INVITES from different providers at

[Sofia-sip-devel] Duration of Sofia root step interval

2010-07-12 Thread Nauman Sulaiman
Hi, using sofia 1.12.10. How frequently must one call the Sofia root step function. i am currently calling every second. Is this too much? Thanks -- This SF.net email is sponsored by Sprint What will you do first

Re: [Sofia-sip-devel] Multiple Registration support

2010-07-25 Thread Nauman Sulaiman
...@gmail.com wrote: From: Pekka Pessi ppe...@gmail.com Subject: Re: [Sofia-sip-devel] Multiple Registration support To: nauman762-h...@yahoo.co.uk Cc: sofia-sip-devel@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 16:58 Hi, 2010/7/12 Nauman Sulaiman nauman762-h...@yahoo.co.uk Then i tried with 2

[Sofia-sip-devel] Contact header incorrect

2010-07-26 Thread Nauman Sulaiman
Hi, using Sofia 1.12.10. I have multiple sip accounts, with separate nua handles for each nua_register etc. When i get a nua_i_invite and send a response it seems to pick a contact randomly from sip accounts that i have for the contact header. I am switching on the sip_request field to determine

[Sofia-sip-devel] Using TLS with sofia

2010-08-01 Thread Nauman Sulaiman
Hi, using version 1.12.10. We've compiled OpenSSL 0.9.8, also compiled the 2 source files related to tls in tport. We know that in NUTAG_URL we must pass in transport=tls. What else do we need to do to enable tls on Sofia, is there any sample code to show how to use it? Thanks

[Sofia-sip-devel] Multiple transports with single nua_create instance

2010-08-01 Thread Nauman Sulaiman
Hi, using sofi 1.12.10 we have managed t support multiple registrations using separate nua handle to nua_register call, single nua_create call. However is it possible to specify separate ports and transport for each nua_handle OR do we need to create a separate stack instance to support this

[Sofia-sip-devel] Assertion failed: (b == bend) problem

2010-10-27 Thread Nauman Sulaiman
Hi, Using sofia 1.12.10. We are getting the following assertion in nua_signal after a nua_register call : Assertion failed: (b == bend) What is the purpose of this assertion? Is it saying there is something wrong with any of tag parameters passed to nua_register. Thanks

[Sofia-sip-devel] Receiving 500 glare causes Sofia to terminate dialog

2010-11-21 Thread Nauman Sulaiman
Hi, using 1.12.10. I've noticed that Sofia if in established dialog it receives 500 due to invites sent at same time for example both parties put each other on hold simultaneously. Sofia automatically sends a BYE. My understanding of RFC 3261 section 14.1 is that if the UA receives a non 2XX

[Sofia-sip-devel] Where is NUTAG_AUTO302(1)?

2010-11-27 Thread Nauman Sulaiman
Hi, using sofia 1.12.10, couldn't find NUTAG_AUTO302(1) tag. Which version should i be using to use this tag. Thanks -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest

[Sofia-sip-devel] Building latest sofia lib from git repo

2010-11-27 Thread Nauman Sulaiman
Hi, I've been using 1.12.10 and as i would like to use the NUTAG_AUTO302 tag i need to use a release from git. So i'm going for the latest master branch. I downloaded the tar.gz file, i'm on mac os snow leopard here. With 1.12.10 i simply used ./configure + make and it built right away. However

[Sofia-sip-devel] Populating to header from Refer message with replaces

2010-12-08 Thread Nauman Sulaiman
Hi, using sofia 1.12.10 how to populate TO header of Invite created in response to incoming REFER with refer-to header containing replaces parameter. I can't just use the refer-to uri on its own as it has the all the replaces stuff. I suppose i could grab the various bits from the refer-to

[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

[Sofia-sip-devel] Register WWW-Authenticate header 'qop' missing

2011-01-08 Thread Nauman Sulaiman
Hi, using 1.12.10 sofia. If one receives a challenge to register request I currently reply with nua_authenticate(NUTAG_AUTH()) However if the challenge had the 'qop' parameter then this does not get copied to the response sent by nua_authenticate. Plus no 'nc' parameter. how do i add these to

Re: [Sofia-sip-devel] Register WWW-Authenticate header 'qop' missing

2011-01-11 Thread Nauman Sulaiman
Please ignore previous message, i was talking rubbish :) qop is there of course --- On Sat, 8/1/11, Nauman Sulaiman nauman762-h...@yahoo.co.uk wrote: From: Nauman Sulaiman nauman762-h...@yahoo.co.uk Subject: [Sofia-sip-devel] Register WWW-Authenticate header 'qop' missing To: sofia-sip-devel

[Sofia-sip-devel] Incoming REFER , how does app receive status of NOTIFYs

2011-02-10 Thread Nauman Sulaiman
Hi, Using latest Sofia master from git. When i get an incoming REFER the stack sends NOTIFY's to the referror if i pass the event to the INVITE i generate. This works very nicely. But how does the app know what NOTIFY's are being sent to the referror ie i would like to get hold of the

[Sofia-sip-devel] NOTIFY sip frag set to 503 when receiving 407 Invite response

2011-03-30 Thread Nauman Sulaiman
Hi, when performing an attended transfer, when the transfer destination sends a 407 to the INVITE with replaces generated by transferee, a NOTIFY with 503 sipfrag is sent to the transferrer. Code is here in nua_session.c in function nh_referral_respond. The transfer destination is in different

[Sofia-sip-devel] How to know when to send PRACK?

2011-06-25 Thread Nauman Sulaiman
Hi, To use PRACK in our application we set 100rel as supported in outgoing INVITE. However to know whether to use nua_prack as response to a 18X, does the application have to always check the Require header in a 18X to see if it has 100rel or is there some other we should be doing it? Also if

Re: [Sofia-sip-devel] PRACK and 200 OK(INVITE) forking issue

2011-07-01 Thread Nauman Sulaiman
from and are happy for CANCEL to be sent to others. Any comments most appreciated. Thanks --- On Wed, 29/6/11, Nauman Sulaiman nauman762-h...@yahoo.co.uk wrote: From: Nauman Sulaiman nauman762-h...@yahoo.co.uk Subject: [Sofia-sip-devel] PRACK and 200 OK(INVITE) forking issue To: sofia-sip

[Sofia-sip-devel] Using sips: AND sip:ip;transport=tls with Sofia

2011-09-26 Thread Nauman Sulaiman
Hi, We have managed to get TLS working with Sofia by specifying a sips uri with NUTAG_URL however the other way sip:ip;transport=tls is still widely used and we would like to know how to use this with Sofia. How can we get Sofia to use TLS transport with a sip uri. Passing

Re: [Sofia-sip-devel] PRACK and 200 OK(INVITE) forking issue

2012-03-16 Thread Nauman Sulaiman
Hi Timo No we don't have a solution, we looked into it and it needs major changes so we left it. RegardsĀ  From: Timo Bruhn voip_v...@web.de To: nauman762-h...@yahoo.co.uk Cc: sofia-sip-devel@lists.sourceforge.net Sent: Wednesday, 14 March 2012, 11:04