Author Topic: Registration and call on one line in regexroute  (Read 480 times)

xyswitchz

  • Newbie
  • *
  • Posts: 26
    • View Profile
Registration and call on one line in regexroute
« on: April 10, 2018, 08:43:07 AM »

how can a provide username and password call do a sip call in one go. Without the need to use accfile?

something like

^.*$=sip/sip:peter@9.8.7.6;username=bruce;password=7v64f2

I remember I did it some how before.

marian

  • Hero Member
  • *****
  • Posts: 508
    • View Profile
Re: Registration and call on one line in regexroute
« Reply #1 on: April 11, 2018, 12:54:07 AM »
Setup a sip account in accfile.
Don't set registrar and server parameters. Set username and password.
This will define an account in sip which won't register to a server.
You may use its credentials when making an outbound call.

^.*$=sip/sip:peter@9.8.7.6;line=your_account_name