binding: fix crash on non-active media
binding: fix localUri/remoteUri

pjsip uses a limited buffer (128 bytes) for URI portions of
From and To header values. If a URI exceeds the buffer size,
then the entire value is replaced. This is especially
problematic for some SIP trunks calls (e.g. CUCM).