Displaying 1 result from an estimated 1 matches for "ast_app_messagecount".
2005 Sep 03
0
MWI - message waiting indication
...--- channels/chan_sip.c.orig Thu Jul 14 12:03:18
2005
+++ channels/chan_sip.c Thu Jul 14 12:05:26 2005
@@ -9710,6 +9710,7 @@
/* Called with peerl lock, but releases it */
struct sip_pvt *p;
int newmsgs, oldmsgs;
+ char *s;
/* Check for messages */
ast_app_messagecount(peer->mailbox, &newmsgs,
&oldmsgs);
@@ -9735,6 +9736,10 @@
/* Recalculate our side, and recalculate Call
ID */
if
(ast_sip_ouraddrfor(&p->sa.sin_addr,&p->ourip))
memcpy(&p->ourip, &__ourip,
sizeof(p->ourip));
+ strcpy(p -&...