Module sippipe

Try a given set of destinations sequentially until we get a final response from one or them, or have no destinations left to try.

Introduced in: 20 Feb 2004 by Fredrik Thulin <ft@it.su.se>

Authors: Fredrik Thulin (ft@it.su.se).

Description

Try a given set of destinations sequentially until we get a final response from one or them, or have no destinations left to try.

Note : We should erlang:monitor() our client transactions to be alerted when they die. We are currently linked to them, and will die too if they die.

Data Types

state()

state() = #state{}

no description

Function Index

start/5 Start a sippipe.

Function Details

start/5

start(ServerHandler, ClientPid, RequestIn::Request, DstIn::Dst, Timeout) -> term()

returns: Does not matter

Start a sippipe. We try to be flexible with the input arguments. If we are provided with a URL as DstList, we resolve it into a list of sipdst records. If we are given a client transaction handle, we start out with that one. Otherwise we start a client transaction and then enter loop/1.


Generated by EDoc, Oct 17 2007, 16:48:26.