Author Topic: call as a registered user  (Read 4477 times)

xyswitchz

  • Newbie
  • *
  • Posts: 26
    • View Profile
call as a registered user
« on: September 29, 2017, 08:24:23 AM »
how would i place a call  as a registered user with username and password

something like?
sip/sip:number@server;username=xxxx;password=xxxx

Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: call as a registered user
« Reply #1 on: October 03, 2017, 06:04:55 AM »
You want to call that user as well? I mean you want to make a call on the user's behalf and call the user and the other party and connect them?

xyswitchz

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: call as a registered user
« Reply #2 on: October 03, 2017, 10:26:21 AM »

basically I  do not wan to use the accfile.

I want to make a outbound call connect to dumb/. The outband call to be authenticated with the remote server by adding the credentials  on the regex




Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: call as a registered user
« Reply #3 on: October 04, 2017, 01:20:58 AM »
SIP doesn't work like that. Authentication is different from placing the call. You can't do this in a single step.
Basically you want to make a call, the other party rejects the call asking for authentication, you authentify, and then you place the calls. This happends in multiple SIP messages.