[Asterisk-Users] chan_sip2 install instructions.

WipeOut wipe_out at users.sourceforge.net
Tue Apr 27 12:56:06 MST 2004


Thanks Glenn and Olle..

I managed to get it to build but unfortunately it will not load..

I get the following error when trying to start asterisk with the noload 
and load commands at the top of the modules.conf..

 [chan_sip2.so]Apr 27 20:50:48 WARNING[-1084460928]: loader.c:240 
ast_load_resource: /usr/lib/asterisk/modules/chan_sip2.so: undefined 
symbol: ast_moh_stop
Apr 27 20:50:48 WARNING[-1084460928]: loader.c:372 load_modules: Loading 
module chan_sip2.so failed!

When its at the bottom of the modules.conf I get this..

 [chan_sip2.so]Apr 27 20:55:34 WARNING[-1084448640]: loader.c:240 
ast_load_resource: /usr/lib/asterisk/modules/chan_sip2.so: undefined 
symbol: ast_pickup_call
Apr 27 20:55:34 WARNING[-1084448640]: loader.c:372 load_modules: Loading 
module chan_sip2.so failed!

I checked out the asterisk CVS version from the 24th since the latest 
chan_sip2 file is from the 25th..

Later..



Glenn Dalgliesh wrote:

>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
>>
>>    
>>
>
>_______________________________________________
>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