Steven,<br>
<br>
I'm not familiar with AIS but if your plan is to support in-call
handoff to a different IP you have issues at the session layer to deal
with. That problem I am familiar with and its not easy to keep a SIP
call up and move the IPs of a SIP server than is in the call-control
and/or media path of the session. Especially if the original server
just dies mid-call. DNS tricks will be of little use mid-call. In fact,
without moving the sessions prior to the switch, I'm not sure its
even possible without 'dialing' back the parties to reestablish
the sessions. That may be your only viable option, and its not such a
bad one really. Note aslo that wrt SIP, Asterisk is a B2BUA and has 2
call-control (SIP) and often 2 media (RTP) sessions for each call
between UAs (SIP phones). <br>
<br>
Certainly it will be an interesting project.<br>
<br>
Mark<br><br><div><span class="gmail_quote">On 9/28/05, <b class="gmail_sendername">Steven Dake</b> <<a href="mailto:sdake@mvista.com">sdake@mvista.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Fellow developers,<br><br>I maintain the open source project openais<br><a href="http://developer.osdl.org/dev/openais">http://developer.osdl.org/dev/openais</a> which is an open source version of<br>the Service Availability Forum's AIS specification.
<br><br>This implementation provides checkpointing and application failover.<br>I'd like to create an integration between the SIP channel module and<br>openais AMF/checkpointing and perhaps have it integrated into the<br>
asterisk source base as a proof of concept of AIS.<br><br>The integration would allow multiple servers to maintain an<br>active/standby the state of all SIP sessions. Then the active server<br>for which the IP phone is communicating with would continue to operate
<br>and maintain its session in the event the active server failed.<br><br>Would someone be kind enough to point me to the data structures or<br>functions where the state of a SIP session is recorded. Is it possible<br>just to record SIPs state, or does the rest of the asterisk server that
<br>loads the sip module contain state about the SIP session?<br><br>In SIP, is an IP phone configured to talk to one specific IP address, or<br>is there a discovery process to determine the SIP server's ip address?<br><br>
Finally in do_monitor, I notice there is a ast_sched_wait, followed by<br>an ast_io_wait. ast_io_wait appears to dispatch any pending i/o events<br>as derived from poll. I need to plug in here with an ast_io_add to add<br>
my "healthchecking" for the SIP server. My question is with<br>ast_sched_wait.. Will it timeout immediately if there is I/O waiting?<br>In other event systems, timers and events are usually integrated.. I'm<br>
not sure how these two work in asterisk by looking at the code.<br><br>Thanks for the help<br><br>regards<br>-steve<br><br><br>_______________________________________________<br>Asterisk-Dev mailing list<br><a href="mailto:Asterisk-Dev@lists.digium.com">
Asterisk-Dev@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">
http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br>