Author Topic: Removing sip line  (Read 7490 times)


  • Newbie
  • *
  • Posts: 3
    • View Profile
Removing sip line
« on: April 25, 2013, 12:31:28 AM »
Hi !

I have 2 lines described in accfile.conf, [MF] and [MF2].
After loading all works well, lines register at provider side and I can see them in rmanager console.

status accounts

status sip accounts
%%+status:sip accounts

Then I try to delete second sip line.
I delete it from accfile.conf and reload acc file.

accounts reload
status accounts
Second line was deleted from the list.
But I was suprised to find that second line still in sip accounts list and tries to register at aprovder
status sip accounts
%%+status:sip accounts
and later
Sniffed 'user.notify' time=1366870980.157782
  thread=0x1954770 'Engine Worker'
  param['account'] = 'MF2'
  param['protocol'] = 'sip'
  param['username'] = 'YYYYY'

I check sources and  could not find anything relatetig to deleting line, something like s_lines.remove() or delete line.

How can I fully delete line from list ?
Actually I work with extmodule, accfile was taken to sniff messages.

Thanks in advance.
« Last Edit: April 25, 2013, 02:35:01 AM by Bell »

Diana Cionoiu

  • Administrator
  • Jr. Member
  • *****
  • Posts: 71
    • View Profile
Re: Removing sip line
« Reply #1 on: May 17, 2013, 04:04:31 PM »
just use enable=no instead of deleting it.