Well after going around the configs i managed to set up phones to make outside Voip calls and to accept inbound calls from pstn line. The only thing that isnt working now is, im not able to dial from Voip to PSTN, outbound rules are set. Everything working except for that.
22:47:23.375|.\CallTarget.cpp(449)|Trace5|CallManager|CT_Lines::Invite:Rule (Linksys): Placing call to line 10003@L:2@C:2b to reach 912299381
22:47:23.421|DialogUsageManager.cxx(1190)|Trace5|Resip|>>:Got: SipResp: 404 tid=092dd3005241161e cseq=INVITE / 1 from(wire)
22:47:23.421|Dialog.cxx(547)|Trace5|Resip|>>

ialog::dispatch, ignoring stray response: SipResp: 404 tid=092dd3005241161e cseq=INVITE / 1 from(wire)
22:47:23.421|ClientInviteSession.cxx(701)|Trace5|Resip|>>:Failure: error response: SipResp: 404 tid=092dd3005241161e cseq=INVITE / 1 from(wire)
22:47:23.421|InviteSession.cxx(2046)|Trace5|Resip|>>:Transition UAC_Start -> InviteSession::Terminated
22:47:23.421|.\ISHandler.cpp(39)|Trace5|CallControl|ISHandler:

nFailure:Failure: cis=302;rl=SIP/2.0 404 Not Found
22:47:23.421|.\Call.cpp(180)|Trace5|CallControl|CallLegImpl:

nFailure:Call to 10003@L:2@C:2b is failed, reason: Not Found
22:47:23.421|.\ISHandler.cpp(100)|Trace5|CallControl|ISHandler:

nTerminated:Terminated: is=302;reason=Failure;rl=SIP/2.0 404 Not Found
22:47:23.421|.\CallStrategies.cpp(781)|Trace5|CallManager|StratInOut:

nCancel:InOut: got Cancel from 10003@L:2@C:2b
22:47:23.421|.\CallTarget.cpp(466)|Trace5|CallManager|CT_Lines::failed:Line 10003@L:2@C:2b doesn't accept the call, reason SIP/2.0 404 Not Found
22:47:23.421|.\CallEvents.cpp(78)|Trace5||FireStatusEvent:Fire event: OnHook; DN 10003
22:47:23.421|.\CallTarget.cpp(374)|Trace5|CallManager|CT_Lines::selectNextTarget:Select new line for outbound call
22:47:23.421|.\CallTarget.cpp(412)|Trace5|CallManager|CT_Lines::selectNextTarget:No outbound line has been found
22:47:23.421|.\CallTarget.cpp(472)|Trace5|CallManager|CT_Lines::failed:Breaking the call
22:47:23.421|.\CallStrategies.cpp(811)|Log2|CallManager|StratInOut:

nCancel:[CM104008] Call(43): Call from Ext.100 to 912299381 terminated; cause: 404 Not Found; from IP:10.20.30.241
22:47:23.421|.\CallConf.cpp(394)|Log2|CallControl|CallConf::Rejected:[CM103005] Call(43) is rejected: Not Found
22:47:23.421|ServerInviteSession.cxx(384)|Trace5|Resip|>>:UAS_EarlyOffer: reject(404)
22:47:23.421|.\ISHandler.cpp(140)|Trace5|CallControl|ISHandler:

nReadyToSend:InviteSession(299) sends SIP/2.0 404 Not Found
22:47:23.421|InviteSession.cxx(2046)|Trace5|Resip|>>:Transition UAS_EarlyOffer -> InviteSession::Terminated
22:47:23.421|.\ISHandler.cpp(101)|Trace5|CallControl|ISHandler:

nTerminated:Terminated: is=299;reason=Ended
22:47:23.421|.\Call.cpp(345)|Trace5|CallControl|CallLegImpl:

nEnded:Leg.onEnded 100@L:1@C:2b got zero msg
22:47:23.421|.\CallStrategies.cpp(734)|Trace5|CallManager|StratInOut:

nHangUp:InOut: got Hang-Up from 100@L:1@C:2b
22:47:23.421|.\CallConf.cpp(514)|Trace5|CallControl|CallConf::~CallConf

estroying call 43
22:47:23.437|.\CallStrategies.cpp(908)|Trace5|CallManager|StratInOut::~StratInOut:InOut: strategy is terminated
22:47:23.437|.\CallEvents.cpp(78)|Trace5||FireStatusEvent:Fire event: OnHook; DN 100
22:47:23.437|.\Call.cpp(1403)|Trace5|CallControl|CallLegImpl::~CallLegImpl:Leg 100@L:1@C:2b is destroyed
22:47:23.437|.\Call.cpp(1403)|Trace5|CallControl|CallLegImpl::~CallLegImpl:Leg 10003@L:2@C:2b is destroyed
Thks