$Revision: 1.2 $
$Date: 2005/08/24 13:24:35 $

# Functions

## `uac_replace_from(display,uri)`

Replace in FROM header the display name and the URI part.

### `uac_replace_from` usage

    ...
    uac_replace_from("batman","sip:batman@gotham.org");
    uac_replace_from("","sip:robin@gotham.org");
    uac_replace_from("batman","");
    ...

## `uac_replace_from(uri)`

Replace in FROM header the the URI part without altering the display name.

### `uac_replace_from` usage

    ...
    uac_replace_from("sip:batman@gotham.org");
    ...

## `uac_restore_from()`

This function will check if the FROM URI was modified and will use the information stored in header parameter to restore the original FROM URI value.

### `uac_restore_from` usage

    ...
    uac_restore_from();
    ...

## `uac_auth()`

This function can be called only from failure route and will build the authentication response header and insert it into the request without sending anything.

### `uac_auth` usage

    ...
    uac_auth();
    ...