res_pjsip: Add 'user_eq_phone' option to add a 'user=phone' parameter when applicable.

Note that this is a backport of r425804 from trunk.

This change adds a configuration option which adds a 'user=phone' parameter if the user
portion of the request URI or the From URI is determined to be a number.

Review: https://reviewboard.asterisk.org/r/4073/



git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/13@430083 f38db490-d61c-443f-a65b-d21fe96a405b
res_pjsip_keepalive: Add runtime configurable keepalive module for connection-oriented transports.

Note that this is backport from trunk of r425825.

This change adds a module which is configurable using the keep_alive_interval setting in the
global section that will send a CRLF keep alive to all active connection-oriented transports at
the provided interval. This is useful because it can help keep connections open through NATs.
This functionality also exists within PJSIP but can not be controlled at runtime and requires
recompiling it.

Review: https://reviewboard.asterisk.org/r/4084/



git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/13@430084 f38db490-d61c-443f-a65b-d21fe96a405b