Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_refer_tech Struct Reference

A refer technology. More...

#include <refer.h>

Data Fields

const char *const name
 Name of this refer technology. More...
 
int(*const refer_send )(const struct ast_refer *refer)
 Send a refer. More...
 

Detailed Description

A refer technology.

A refer technology is capable of transmitting text refers.

Definition at line 52 of file refer.h.

Field Documentation

const char* const name

Name of this refer technology.

This is the name that comes at the beginning of a URI for refers that should be sent to this refer technology implementation. For example, refers sent to "pjsip:m.fridrich@commend.com" would be passed to the ast_refer_tech with a name of "pjsip".

Definition at line 61 of file refer.h.

Referenced by PathSegment::__init__(), ast_refer_tech_register(), ast_refer_tech_unregister(), PathSegment::get_child(), and refer_tech_cmp().

int(* const refer_send) (const struct ast_refer *refer)

Send a refer.

Parameters
referThe refer to send

The fields of the ast_refer are guaranteed not to change during the duration of this function call.

Return values
0success
non-zerofailure

Definition at line 73 of file refer.h.

Referenced by ast_refer_send().


The documentation for this struct was generated from the following file: