Matt Schulte
2004-Dec-15  12:44 UTC
[Asterisk-Users] chan_sccp compile problem w/ CVS head?
Any ideas? I edited the Makefile as instructed, ty. Now compiling .... sccp_channel.c 279 lines sccp_channel.c: In function `sccp_channel_send_callinfo': sccp_channel.c:48: structure has no member named `callerid' sccp_channel.c:49: structure has no member named `callerid' sccp_channel.c:49: structure has no member named `callerid' sccp_channel.c:49: structure has no member named `callerid' sccp_channel.c:49: structure has no member named `callerid' sccp_channel.c:49: structure has no member named `callerid' make: *** [.tmp/sccp_channel.o] Error 1
Matthew Boehm
2004-Dec-15  12:55 UTC
[Asterisk-Users] chan_sccp compile problem w/ CVS head?
Seems that the author of sccp_channel.c hasn't upgraded his code. You can fix this by replacing all instances of chan->callerid with chan->cid.cid_num -Matthew ----- Original Message ----- From: "Matt Schulte" <mschulte@netlogic.net> To: <asterisk-users@lists.digium.com> Sent: Wednesday, December 15, 2004 1:44 PM Subject: [Asterisk-Users] chan_sccp compile problem w/ CVS head? Any ideas? I edited the Makefile as instructed, ty. Now compiling .... sccp_channel.c 279 lines sccp_channel.c: In function `sccp_channel_send_callinfo': sccp_channel.c:48: structure has no member named `callerid' sccp_channel.c:49: structure has no member named `callerid' sccp_channel.c:49: structure has no member named `callerid' sccp_channel.c:49: structure has no member named `callerid' sccp_channel.c:49: structure has no member named `callerid' sccp_channel.c:49: structure has no member named `callerid' make: *** [.tmp/sccp_channel.o] Error 1 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Matt Schulte
2004-Dec-15  13:28 UTC
[Asterisk-Users] chan_sccp compile problem w/ CVS head?
Here is a snip from sccp_channel.c:
if (c->line->callerid)
      strncpy(tmp, c->line->callerid, 253);
    else
      ast_log(LOG_WARNING, "Outgoing calls %s doesn't have
CallerId\n",
c->owner->name);
I changed to:
if (c->line->cid.cid_num)
      strncpy(tmp, c->line->cid.cid_num, 253);
    else
      ast_log(LOG_WARNING, "Outgoing calls %s doesn't have
CallerId\n",
c->owner->name);
Still no dice, ideas?
Thanks
	Matt
-----Original Message-----
From: Matthew Boehm [mailto:mboehm@cytelcom.com] 
Sent: Wednesday, December 15, 2004 1:55 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] chan_sccp compile problem w/ CVS head?
Seems that the author of sccp_channel.c hasn't upgraded his code.
You can fix this by replacing all instances of chan->callerid with
chan->cid.cid_num
-Matthew
----- Original Message ----- 
From: "Matt Schulte" <mschulte@netlogic.net>
To: <asterisk-users@lists.digium.com>
Sent: Wednesday, December 15, 2004 1:44 PM
Subject: [Asterisk-Users] chan_sccp compile problem w/ CVS head?
Any ideas? I edited the Makefile as instructed, ty.
Now compiling .... sccp_channel.c           279 lines
sccp_channel.c: In function `sccp_channel_send_callinfo':
sccp_channel.c:48: structure has no member named `callerid'
sccp_channel.c:49: structure has no member named `callerid'
sccp_channel.c:49: structure has no member named `callerid'
sccp_channel.c:49: structure has no member named `callerid'
sccp_channel.c:49: structure has no member named `callerid'
sccp_channel.c:49: structure has no member named `callerid'
make: *** [.tmp/sccp_channel.o] Error 1
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users