X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=apppbx.h;h=b0d45f3e7b5d24dc9a5c7c145152709a5bf8557f;hp=8d5c52ce72aa20c0e65a5132c25a45df7df374e9;hb=e01d4caa3eef0f4d17e5513cb793e19fecd2b051;hpb=fe5641b200b00283e9d9f4552446229dff510deb diff --git a/apppbx.h b/apppbx.h index 8d5c52c..b0d45f3 100644 --- a/apppbx.h +++ b/apppbx.h @@ -55,7 +55,7 @@ extern class EndpointAppPBX *apppbx_first; class EndpointAppPBX : public EndpointApp { public: - EndpointAppPBX(class Endpoint *epoint); + EndpointAppPBX(class Endpoint *epoint, int origin); ~EndpointAppPBX(); class EndpointAppPBX *next; @@ -75,7 +75,7 @@ class EndpointAppPBX : public EndpointApp struct redir_info e_redirinfo; /* info on redirection (to the calling user) */ struct capa_info e_capainfo; /* info on l3,l2 capacity */ time_t e_start, e_stop; /* time */ -// int e_origin; /* origin of call */ + int e_origin; /* origin of call 0=incomming 1=outgoing */ struct route_ruleset *e_ruleset; /* current ruleset pointer (NULL=no ruleset) */ struct route_rule *e_rule; /* current rule pointer (NULL=no rule) */ struct route_action *e_action; /* current action pointer (NULL=no action) */