X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=apppbx.h;h=1d372b1de9f9f4875e278e53d45e1b1087ec1ada;hp=a37fc44434bd722880eea87c9b5c3f105c05eec4;hb=cdee00aeddbe22a0ac7505c5a6c882e17d5fa1bf;hpb=5463e1b62a39ce417b610584e3d34a8bc30ac15e diff --git a/apppbx.h b/apppbx.h index a37fc44..1d372b1 100644 --- a/apppbx.h +++ b/apppbx.h @@ -160,7 +160,8 @@ class EndpointAppPBX : public EndpointApp /* efi */ int e_efi_state; /* current spoken sample */ int e_efi_digit; /* current spoken digit */ - + +#ifdef WITH_CRYPT /* crypt states and vars */ int e_crypt; /* current user level crypt state */ int e_crypt_state; /* current crypt manager state */ @@ -192,6 +193,7 @@ class EndpointAppPBX : public EndpointApp int e_crypt_keyengine_busy; /* current job and busy state */ int e_crypt_keyengine_return; /* return */ struct lcr_timer e_crypt_handler; /* poll timer for crypt events */ +#endif /* messages */ void hookflash(void); @@ -209,9 +211,12 @@ class EndpointAppPBX : public EndpointApp void port_notify(struct port_list *portlist, int message_type, union parameter *param); void port_progress(struct port_list *portlist, int message_type, union parameter *param); void port_facility(struct port_list *portlist, int message_type, union parameter *param); + void port_3pty(struct port_list *portlist, int message_type, union parameter *param); + void port_transfer(struct port_list *portlist, int message_type, union parameter *param); void port_suspend(struct port_list *portlist, int message_type, union parameter *param); void port_resume(struct port_list *portlist, int message_type, union parameter *param); void port_enablekeypad(struct port_list *portlist, int message_type, union parameter *param); + void port_disable_dejitter(struct port_list *portlist, int message_type, union parameter *param); void ea_message_join(unsigned int join_id, int message, union parameter *param); void join_crypt(struct port_list *portlist, int message_type, union parameter *param); void join_mISDNsignal(struct port_list *portlist, int message_type, union parameter *param); @@ -226,6 +231,7 @@ class EndpointAppPBX : public EndpointApp void join_notify(struct port_list *portlist, int message_type, union parameter *param); void join_facility(struct port_list *portlist, int message_type, union parameter *param); void join_dtmf(struct port_list *portlist, int message_type, union parameter *param); + void join_disable_dejitter(struct port_list *portlist, int message_type, union parameter *param); /* epoint */ void new_state(int state); @@ -234,8 +240,6 @@ class EndpointAppPBX : public EndpointApp void keypad_function(char digit); void set_tone(struct port_list *portlist, const char *tone); void out_setup(int cfnr); - struct mISDNport *hunt_port(char *ifname, int *channel); - struct interface *hunt_interface(char *ifname); char *apply_callerid_display(const char *id, int itype, int ntype, int present, int screen, const char *extension, const char *name); void auth(int job, int bit_num); @@ -258,13 +262,10 @@ class EndpointAppPBX : public EndpointApp struct route_param *routeparam(struct route_action *action, unsigned long long id); /* init / dialing / hangup */ - int _action_init_call(char *remote); void action_init_call(void); - void action_init_remote(void); void action_dialing_internal(void); void action_dialing_external(void); void action_dialing_h323(void); - void action_dialing_remote(void); void action_dialing_vbox_record(void); void action_init_partyline(void); void action_hangup_call(void); @@ -287,6 +288,12 @@ class EndpointAppPBX : public EndpointApp void action_init_play(void); void action_init_vbox_play(void); void action_init_efi(void); + void action_init_pots_retrieve(void); + void action_init_pots_release(void); + void action_init_pots_reject(void); + void action_init_pots_answer(void); + void action_init_pots_3pty(void); + void action_init_pots_transfer(void); void action_dialing_vbox_play(void); void action_dialing_calculator(void); void action_dialing_timer(void); @@ -310,7 +317,11 @@ class EndpointAppPBX : public EndpointApp /* facility function */ void pick_join(char *extension); - void join_join(void); + int join_join_dss1(void); + int join_join_fxs(void); + int join_3pty_dss1(void); + int join_3pty_fxs(void); + int split_3pty(void); void encrypt_shared(void); void encrypt_keyex(void); void encrypt_off(void);