Opened 4 years ago

Closed 4 years ago

#15188 closed defect (worksforme)

baresip missing "accounts"

Reported by: Andromeda Owned by: slachta
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: baresip, telephony Cc:


I can't find a way to have baresip read the accounts file in /root/.baresip/

That directory is created the first time baresip is run and is populated with "config" file.

Perhaps is missing "accounts" module that is responsible (at least on Intel platform) for accounts management.

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by slachta

  • Owner changed from developers to slachta
  • Status changed from new to assigned

comment:2 Changed 4 years ago by slachta

Would you be so kind to paste startup log and baresip configuration? You can put it together and append it here as an attachment in archive file.

Thank you.

comment:3 Changed 4 years ago by slachta

  • Resolution set to worksforme
  • Status changed from assigned to closed
  • Summary changed from baresip missing "accounts" - [telephony] to baresip missing "accounts"

I cannot replicate your issue. I just created new, fresh OpenWrt build based on trunk.

I added a testing user on local asterisk with following params:


and I started baresip with following params:

baresip -f /etc/baresip

to see, what files are created. I added sample account from asterisk to accounts configuration file:


I started baresip again to see, if baresip got registered and I got following output:

root@OpenWrt:/# baresip -f /etc/baresip
baresip is ready.
reg: sip:user@domain: Register: Destination address required
1@asterisk.lab: {0/UDP/v4} 200 OK (Asterisk PBX 11.8.1) [1 binding]
--- Help ---
 ENTER   Accept incoming call
 ESC     Hangup call
 SPACE   Toggle UAs
 - ..    Send MESSAGE to peer
 / ..    Dial from contacts
 = ..    Select chat peer
 C       List contacts
 M       Main loop debug
 b       Hangup call
 c       Call status
 d ..    Dial
 g       Print configuration
 h       Help menu
 i       SIP debug
 l       List active calls
 m       Module debug
 n       Network debug
 q       Quit
 r       Registration info
 s       System info
 t       Timer debug
 u       UA debug
 y       Memory status

--- Useragents: 2 ---
  sip:1@asterisk.lab               OK  Asterisk PBX 11.8.1


which seems to work fine. Also Asterisk succesfully registered baresip.

All of this is done on the latest trunk. Let me know, if something differs in your situation.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.