X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=message.h;h=6330654cdf7eea7ae681c23dc0b8603fb2794ed6;hp=4cfc5b19e107a4619dc48e43b1aa19a716c0bb25;hb=5463e1b62a39ce417b610584e3d34a8bc30ac15e;hpb=877a2dfd52782f72ba2d28483212166f2326b1fa diff --git a/message.h b/message.h index 4cfc5b1..6330654 100644 --- a/message.h +++ b/message.h @@ -148,6 +148,13 @@ enum { B_MODE_HDLC, /* hdlc data mode */ }; +/* rtp-info structure */ +struct rtp_info { + int payload_type; + unsigned int ip; + unsigned short port; +}; + /* call-info structure CALLER */ struct caller_info { char id[32]; /* id of caller (user number) */ @@ -191,6 +198,7 @@ struct connect_info { int screen; /* who provided the number */ char display[84]; /* display information */ char imsi[16]; /* IMSI for gsm terminated calls */ + struct rtp_info rtpinfo; /* info about RTP peer */ }; /* call-info structure DISCONNECT */ @@ -240,6 +248,7 @@ struct notify_info { struct progress_info { int progress; /* progress indicator */ int location; /* progress location */ + struct rtp_info rtpinfo; /* info about RTP peer */ }; /* call-info structure FACILITY */ @@ -266,7 +275,8 @@ struct message_setup { struct redir_info redirinfo; /* info on redirection (to the calling user) */ struct capa_info capainfo; /* info on l2,l3 capability */ struct useruser_info useruser; /* user-user */ -// struct progress_info progress; /* info on call progress */ + struct progress_info progress; /* info on call progress */ + struct rtp_info rtpinfo; /* info about RTP peer */ char context[128]; /* asterisk context */ };