< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] About How To Combine the UAS and UAC to UA


All you need is one stack, one dum object, and to implement the proper handlers ? InviteSessionHandler.  You could look at the UserAgent souce under dum/test as a starting place.

 

From: resiprocate-users-bounces@xxxxxxxxxxxxxxx [mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxx] On Behalf Of ??
Sent: Saturday, May 10, 2008 11:06 PM
To: resiprocate-users@xxxxxxxxxxxxxxx
Subject: [reSIProcate-users] About How To Combine the UAS and UAC to UA

 

Hi everyone:

 

  I'm a fresh man to resiprocate. I'm making a p2p call demo program now.

I have seen the example(basicCall.cxx) of resip, it create a UAC(port:12005) and a UAS(12010) in one pc. The uac send invite message to the uas and the uas response to it.

But now, I want to create only one UA(only one port:5060) which has all the functionality of UAC and UAS. It means that, I can use it as UAC, also I can use it as UAS.

I'll test the demo with two pc, not in one pc.

 

How can I do ? Please help me. Thanks.

 

Best Regards
秦杨
  (Ryan Qin)
MSN: qinyang_1980@xxxxxxxxxxx
MAIL: qinyang_1980@xxxxxxx