diff -u ../asterisk-1.6.2-baseline/asterisk.conf ./asterisk.conf --- ../asterisk-1.6.2-baseline/asterisk.conf 2010-05-19 17:28:06.000000000 +0100 +++ ./asterisk.conf 2010-05-19 14:03:50.000000000 +0100 @@ -11,7 +11,7 @@ astlogdir => /var/log/asterisk [options] -;verbose = 3 +verbose = 5 ;debug = 3 ;alwaysfork = yes ; same as -F at startup ;nofork = yes ; same as -f at startup @@ -23,7 +23,7 @@ ;initcrypto = yes ; Initialize crypto keys (same as -i at startup) ;nocolor = yes ; Disable console colors ;dontwarn = yes ; Disable some warnings -;dumpcore = yes ; Dump core on crash (same as -g at startup) +dumpcore = yes ; Dump core on crash (same as -g at startup) ;languageprefix = yes ; Use the new sound prefix path syntax ;internal_timing = yes ;systemname = my_system_name ; prefix uniqueid with a system name for global uniqueness issues diff -u ../asterisk-1.6.2-baseline/extensions.conf ./extensions.conf --- ../asterisk-1.6.2-baseline/extensions.conf 2010-05-19 17:28:01.000000000 +0100 +++ ./extensions.conf 2010-05-19 14:45:25.000000000 +0100 @@ -668,6 +668,11 @@ ; include => demo +exten => 6999,1,Answer +exten => 6999,2,Dial(SIP/6105&Local/Redirector@default) +exten => 6998,1,Set(__FIRSTCHAN=${CHANNEL}) +exten => 6998,n,Dial(Local/6999@default) +exten => Redirector,1,ChannelRedirect(${IMPORT(${FIRSTCHAN},BRIDGEPEER)},default,600,1) ; ; An extension like the one below can be used for FWD, Nikotel, sipgate etc. ; Note that you must have a [sipprovider] section in sip.conf diff -u ../asterisk-1.6.2-baseline/logger.conf ./logger.conf --- ../asterisk-1.6.2-baseline/logger.conf 2010-05-19 17:28:02.000000000 +0100 +++ ./logger.conf 2010-05-19 14:03:28.000000000 +0100 @@ -92,7 +92,7 @@ console => notice,warning,error ;console => notice,warning,error,debug messages => notice,warning,error -;full => notice,warning,error,debug,verbose +full => notice,warning,error,debug,verbose ;syslog keyword : This special keyword logs to syslog facility ; diff -u ../asterisk-1.6.2-baseline/sip.conf ./sip.conf --- ../asterisk-1.6.2-baseline/sip.conf 2010-05-19 17:28:05.000000000 +0100 +++ ./sip.conf 2010-05-19 14:09:13.000000000 +0100 @@ -1141,3 +1141,8 @@ ; if the nat option is enabled. If a single RTP packet is received Asterisk will know the ; external IP address of the remote device. If port forwarding is done at the client side ; then UDPTL will flow to the remote device. + +[6105] +type=friend +host=dynamic +canreinvite=no