12.11.2012 Views

Encrypted mobile to landline phone calls with Asterisk 1.8, Snom ...

Encrypted mobile to landline phone calls with Asterisk 1.8, Snom ...

Encrypted mobile to landline phone calls with Asterisk 1.8, Snom ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Disable TCP keepalive<br />

Most modern operating system support TCP keepalive at Layer3 of ISO/OSI pile.<br />

The TCP keepalive of Linux must be disabled because the TCP keepalive <strong>to</strong> keep the TLS connection is done at SIP pro<strong>to</strong>col<br />

level by PrivateGSM Enterprise that every 3 minutes send a \r\n <strong>to</strong> the SIP/TLS server (56byte of data).<br />

On Linux you can disable TCP keepalive <strong>with</strong> the following command:<br />

● echo 0 > /proc/sys/net/ipv4/tcp_keepalive_probes<br />

Choose right data plan<br />

In order <strong>to</strong> use <strong>mobile</strong> VoIP networking efficiently you must consider<br />

Think that on <strong>mobile</strong> networks <strong>with</strong>:<br />

● AMR 4.75kbit you consume about 100Kbyte/s per minute<br />

● AMR 12.2kbit you consume about 200Kbyte/s per minute<br />

Additionally PrivateGSM require an always-on connection that consume 1-2Mb/months <strong>to</strong> keep connection <strong>to</strong> PBX always on.<br />

Best data plans are:<br />

● Flat<br />

● Traffic based<br />

You must not use a time based <strong>mobile</strong> data plan.<br />

Example SIP account<br />

In this section you will find example extension (VoIP account) <strong>with</strong> the specific configuration parameters required <strong>to</strong> configure a<br />

PrivateGSM Enterprise and a <strong>Snom</strong> <strong>phone</strong>.<br />

The extension has <strong>to</strong> be put in sip.conf or in realtime sql configuration.<br />

PrivateGSM SIP account<br />

Below is reported an example for SIP account for a PrivateGSM Enterprise <strong>phone</strong>.<br />

Here we add only the required field that must be used for Private GMS Enterprise edition.<br />

disallow=all<br />

allow=amr:100<br />

au<strong>to</strong>framing=yes<br />

encryption=yes<br />

transport=tls<br />

port=5061<br />

qualify=no<br />

<strong>Snom</strong> SIP account<br />

Below is reported an example for SIP account for a <strong>Snom</strong> <strong>phone</strong>:<br />

disallow=all<br />

allow=gsm<br />

au<strong>to</strong>framing=yes<br />

encryption=yes<br />

transport=tls<br />

port=5061<br />

qualify=yes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!