[Asterisk-Users] chan_sip2 install instructions.

Glenn Dalgliesh asterisk at techhat.com
Tue Apr 27 12:16:15 MST 2004


Not the best but might help

Chan_sip2
http://bugs.digium.com/bug_view_page.php?bug_id=0000759

-download acl.c.patch,acl.h.patch,chan2s_sip.c to /root/software
cp /root/software/chan_sip2s.c /usr/src/asterisk/channels
cd /usr/src/asterisk/
patch -p0 acl.c /root/software/acl.c.patch
cd /usr/src/asterisk/include/asterisk
patch -p0 acl.h /root/software/acl.h.patch
- added the follow to /usr/src/asterisk/channels/Makefile
CHANNEL_LIBS=chan_modem.so chan_sip.so \
             chan_modem_aopen.so \
             chan_modem_bestdata.so chan_modem_i4l.so \
             chan_agent.so chan_mgcp.so chan_iax2.so \
             chan_local.so chan_skinny.so chan_sip2.so

chan_sip2.so: chan_sip2.o
        $(CC) $(SOLINK) -o $@ chan_sip2.o
- recompile
cd /usr/src/asterisk
make
make install


CHANNEL_LIBS=chan_modem.so chan_sip.so \
             chan_modem_aopen.so \
             chan_modem_bestdata.so chan_modem_i4l.so \
             chan_agent.so chan_mgcp.so chan_iax2.so \
             chan_local.so chan_skinny.so chan_sip2.so

down below:
chan_sip2.so: chan_sip2.o
        $(CC) $(SOLINK) -o $@ chan_sip2.o
----- Original Message ----- 
From: "Olle E. Johansson" <oej at edvina.net>
To: <asterisk-users at lists.digium.com>
Sent: Tuesday, April 27, 2004 2:41 PM
Subject: Re: [Asterisk-Users] chan_sip2 install instructions.


> WipeOut wrote:
>
> > Hi,
> >
> > Does anyone have any detailed install instructions for setting up
> > chan_sip2..
> Add chan_sip2 to the channels/Makefile
> >
> > I patched acl.c but could not see an acl.h file to apply the patch..
> it's in include/asterisk in your source directory
>
> > I copied the chan_sip2.c file into the channels directory..
> Right.
>
>
> > I am not sure what I need to do exaclty in the Makefile to get chan_sip2
> > to build..
> See above.
> Then change modules.conf to noload=chan_sip.so and load=chan_sip2.so
>
> Any comments and feedback is appreciated!
>
> /O
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>




More information about the asterisk-users mailing list