PjSip vs Chan_sip

Can an instance of free pbx have both pjsip and chan_sip devices?

I did an install of freepbx on ubunut 14.04. I can create and register pjsip devices but not chan_sip. I noticed in the log that the system is using a pjsip method for the chan_sip device.

res_pjsip/pjsip_distributor.c: Request from ‘sip:[email protected]’ failed for ‘xxx.xxx.xxx.xxx:43761’ (callid: YjcxNTc5MmQ3NWJiZWRjN2IxZGU0M2MwNTVjYzk4MTU.) - No matching endpoint found

Thanks.
Mark

chan sip and chan pjsip can not be bound to the same ports. So usually PJSIP is on 5060 and CHAN SIP is on 5061

Thanks Andrew.

I was able to register.

Changed the port on the device from 5060 to 5061 and then on the client add the port to the domain xxx.xxx.xxx.xxx:5061

Can a chan_sip device use a pjsip trunk and vice versa?

The freepbx ui says that the pjsip trunk is experiential. Should we be using pjsip for devices and chan_sip for trunks in production?

Thanks again,
Mark