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 any given time.
I currently have no issue getting one working. I create a register handle fill
out the from,to , contact headers etc and call nua_register. I notice the stack
resolves the DNS address and i get a 401 to which i reply with nua_authenticate
and then get a 200.
Then i tried with 2 different accounts, one Sipgate the other Callcentric. I
created 2 separate register handles and separate call back handlers for each
handle. I call nua_register twice with the separate handles now.
What i noticed is the REGISTER messages go out to the 2 different providers and
i get a 401 back from each one, but my callback handlers are not getting
called, its like the stack is not passing these on.
I also noticed that the REGISTER messages to the 2 differnet providers are
getting sent with the same
CSEQ number!!! So i assume the stack is getting completely confused with the
responses. I assumed that sending nua_register with separate handles would
allow each REGISTER transaction to be treated separately and the responses
would be routed to the separate handlers.
Can someone give me a high level description how to set up what i want to,
as mentioned i have a single account working fine.
Regards
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel