On Thu, 18 Jul 2019, Joshua C. Colp wrote:
On Thu, Jul 18, 2019, at 10:10 AM, Jerry Geis wrote:
I have two SIP extensions defined in sip.conf
register => [email protected]/4450
[4450]
type=friend
username=4450
host=10.20.1.1
allow=all
dtmfmode=inband
context=incoming
register => [email protected]/4451
[4451]
type=friend
username=4451
host=10.20.1.1
allow=all
dtmfmode=inband
context=incoming
"register" lines have to be under the general section. They can't be within a
friend/peer/user.
I format my entries in sip.conf like below to keep everything related to
the endpoint together.
; 4450
[general](+)
register = [email protected]/4450
[4450]
allow = all
context = incoming
dtmfmode = inband
host = 10.20.1.1
type = friend
username = 4450
; 4451
[general](+)
register = [email protected]/4451
[4451]
allow = all
context = incoming
dtmfmode = inband
host = 10.20.1.1
type = friend
username = 4451
I like to keep the parameters in each stanza sorted and 'tabbed out' to
make it easier to compare stanzas and because I'm just that kind of guy :)
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards [email protected] Voice: +1-760-468-3867 PST
https://www.linkedin.com/in/steve-edwards-4244281
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users