Two questions really:
-
Should each “peer” setup below be labeled as its respective extension number, as I have it setup below?
-
Is my trunk (FXO port on sipura 3000, setup below as [112]) supposed to be setup like an extension; like the rest of them?
This is the entire contents of sip.conf:
[code][general]
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
[authentication]
[100]
type=friend
context=100
secret=xxxxx
host=192.168.0.124
dtmfmode=rfc2833
[101]
type=friend
context=101
secret=xxxxx
host=192.168.0.125
dtmfmode=rfc2833
[111]
type=friend
context=111
secret=xxxxx
host=192.168.0.120
dtmfmode=rfc2833
[112]
type=friend
context=112
secret=xxxxx
host=192.168.0.120
dtmfmode=rfc2833[/code]
mbruni
2
No, you can do this but it’s not mandatory.
Yes, an extension with a pattern, to be able to call pstn numbers.
Cheers.
Marco Bruni
Great, thanks for the info.
You mentioned an “extension with a pattern” . What exactly is a pattern?
mbruni
4
From the book Asterisk TFOT 2nd edition, page 137:
Cheers.
Marco Bruni
bwilks
5
Hi,
You can download the book mbruni is speaking of from here;
The Future of Telephony, 2nd Edition FREE from Digium.
digium.com/elqNow/elqRedir.h … 510480.pdf