[asterisk-dev] r128242 "KILL THE USER!" kills sip realtime?

Chris Maciejewski chris at wima.co.uk
Wed Aug 6 14:22:25 CDT 2008


Hi,

With the following configuration:

sip.conf:
  [general]
  context=default
  bindport=<port>
  bindaddr=<ip_address>

extconfig.conf:
  [settings]
  sipusers => mysql,asterisk,sip

extensions.conf:
  [default]
  exten => _X.,1,NoOp(We are in default context)
  exten => _X.,n,Hangup()

  [realtime]
  exten => _X.,1,NoOp(We are in openser context)
  exten => _X.,n,Hangup()

MySQL DB table 'sip':
  name: 10000
  username: 10000
  accountcode: 1
  type: user
  secret: NULL
  host: dynamic
  context: realtime
  mailbox: 10000
  nat: no
  qualify: no

when sending "INVITE" "From: 10000" in * trunk > r128242
(http://svn.digium.com/view/asterisk?view=rev&revision=128242) we are
in "default" context. The same works as expected ("realtime" context)
in 1.6 branch (r136168).

Is there any configuration option I am missing? Or maybe some changes
in 'sip' DB table are required? Or is it a bug?



More information about the asterisk-dev mailing list