Regcontext


#1

I can’t get the regcontext command in sip.conf to work. According to the TFOT book, “you can configure Asterisk to perform a number of actions when a peer registers to your server”. I would imagine then that when my phone registers, I should see ‘User Registered’ appear on my console. Yes? No? It isn’t working.

sip.conf:
[3250071]
type=friend
username=3250071
secret=180
host=dynamic
context=internal
callerid=Doug <3250071>
regcontext=reg_3250071
regexten=12345

extensions.conf:
[reg_3250071]
exten => 12345,2,NoOp(“User registered”)