Displaying 1 result from an estimated 1 matches for "__ourip".
2005 Sep 03
0
MWI - message waiting indication
...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 -> username, peer -> mailbox); /*
Username = Mailbox name */
+ s = strchr(p -> username, '@'); /*
Remove the context part */
+ if (s != NULL)
+ *s = 0;
build_via(p, p->via, sizeof(p->via));...