29.01.2015 Views

trixbox2_without_tea.. - UV UTBM J. Millet - Free

trixbox2_without_tea.. - UV UTBM J. Millet - Free

trixbox2_without_tea.. - UV UTBM J. Millet - Free

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.

; 'from-trunk', rather than 'from-sip-external'. You'll know this is happening if when<br />

; you call in you get a message saying "The number you have dialled is not in service.<br />

; Please check the number and try again."<br />

context = from-sip-external ; Send unknown SIP callers to this context<br />

callerid = Unknown<br />

tos=0x68<br />

useragent = Trixbox<br />

; #, in this configuration file, is NOT A COMMENT. This is exactly how it should be.<br />

#include sip_nat.conf<br />

#include sip_custom.conf<br />

#include sip_additional.conf<br />

7.4.2 Oztell (SIP)<br />

Oztell requires the numbers dialled to follow international format Country code + area<br />

code + phone number. To call Sydney 67541234, Oztell requires it in the following<br />

format 61 267541234. To use Oztell family cheap rate you can also prefix it with 09.<br />

Therefore the dialling rule will be in this form:<br />

We need various patterns here:<br />

Pattern<br />

Explanation<br />

899060X. This pattern tells Oztell to dial the inter Oztell’s numbers<br />

This pattern dials numbers start with 60 followed by a one<br />

digit number 1-9 followed by other numbers minimum of 2<br />

60ZXX.<br />

digits from 0 -9. This can be an international number with a<br />

Country code of 60 followed by a number between 1 and 9<br />

inclusive.<br />

06612+NXXXXXXX Using the Oztell 06 rate to dial any NSW number.<br />

0661+NXXXXXXXX Using Oztell 06 rate to dial any Australian number.<br />

61+1300XXXXXX Dials 1300 numbers<br />

61+13ZXXX Dials 13 numbers<br />

61+1800XXXXXX Dials 1800 numbers<br />

In your Outgoing Dial Rules box, it will look like this:<br />

– this is simply an example based on my setting;<br />

yours will no doubt be different.<br />

899060X.<br />

60ZXX.<br />

06612+NXXXXXXX<br />

0661+NXXXXXXXX<br />

61+1300XXXXXX<br />

61+13ZXXX<br />

61+1800XXXXXX<br />

Next we need to create the Outgoing Setting, Incoming Settings and Registration for<br />

Oztell.<br />

Outgoing Settings<br />

In the Trunk Name, enter the name of this trunk: oztellsip (as an example)<br />

In the Peer Details we will need the<br />

following;<br />

You must enable all the codecs that you want to<br />

use through Oztell’s web page.<br />

allow=ulaw&alaw<br />

canredirect=no<br />

disallow=all<br />

dtmfmode=rfc2833<br />

fromuser=899060xxxxx<br />

host= sip2.syd.net2max.com<br />

insecure=very<br />

secret=Password<br />

type=peer<br />

username=899060XXXXX<br />

TRIXBOX-2 Without Tears Page 48 of 238

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

Saved successfully!

Ooh no, something went wrong!