31 aug 2009 kl. 13.08 skrev Uwe Kastens: > Hi Bogdan, > >> >> So first registrions stays with OpenSIPsm while the next ones are >> forwarded to Asterisk, right? > > Nearly. IF the user is registered with opensips, opensips should > send a > registration to asterisk (and keep at alive). If more registrations > are > done with the same user account, opensips could send an new > registration > or send a keepalive. If all registration with opensips are expired or > deleted opensips should delete the registration with asterisk. > >> >> For the one registered with Asterisk, should opensips stay in the >> middle >> (as mid-registrar) or Asterisk will directly register the client >> contact? >> > opensips should stay in the middle. So there is no direct > communication > between User and asterisk >
This sounds very complex. Surely asterisk can forward a call to a URI at OpenSIPS and get different replies, depending on whether OpenSIPS has a registration or not for the AOR. Asterisk doesn't have to have a registration, but can depend on the reply. Or if you use database, check the database in the dialplan before placing a call. /O _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users