Author Topic: Proxy Authentication Required? when trying to outbound call  (Read 9251 times)

Ramzu

  • Newbie
  • *
  • Posts: 4
    • View Profile
Proxy Authentication Required? when trying to outbound call
« on: April 26, 2021, 04:59:17 AM »
Hi everyone,
I input my sip credentials (Zadarma) in the outbound connection part of the nipc web interface, but still can't make calls outside of the network. Instead I read in the terminal output, after it stated at the start that the sip logon was successful, that proxy authentication is required. Can anyone tell me what I am doing wrong and advise the correct way forward? Thanks.

P.S. part of the terminal out put is this:
<CC>
  <TID TIFlag="true">0</TID>
  <Message type="Release">
    <Cause coding="GSM-PLMN" location="LPN">Proxy Authentication Required</Cause>
  </Message>
</CC>
-----
2021-04-26_06:47:46.372019 <ybts/2:CALL> Hangup reason='Proxy Authentication Required' [0x7f5fb000aa10]
2021-04-26_06:47:46.372043 <ybts/2:CALL> Destroyed [0x7f5fb000aa10]
2021-04-26_06:47:46.507520 <ybts-signalling:INFO> Received [0x55728a814900]

Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: Proxy Authentication Required? when trying to outbound call
« Reply #1 on: April 26, 2021, 05:24:26 AM »
Hi Ramzu,

Please post content of accfile.conf and a full log for a call with sniffer activated.

>> telnet 0 5037

debug mbts off

debug sip level 10

sniffer on
« Last Edit: May 07, 2021, 04:38:52 AM by Monica Tepelus »

Ramzu

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Proxy Authentication Required? when trying to outbound call
« Reply #2 on: April 27, 2021, 12:39:17 AM »
Thanks for the reply. Telnet  (telnet: Unable to connect to remote host: Connection refused). I couldnt seem to activate sniffer but here is the accfile.conf and log:
[outbound]
protocol=sip
username=xxxxx
server=sip.zadarma.com
password=xxxxxxxx
ip_transport=UDP
enabled=yes
match_port=yes
match_user=yes
formats=


Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: Proxy Authentication Required? when trying to outbound call
« Reply #3 on: April 27, 2021, 06:08:37 AM »
Please configure rmanager module if you can't connect using telnet. There aren't enough information in the current log.

https://docs.yate.ro/wiki/Rmanager

ip 127.0.0.1
port 5037

How did you install YateBTS? This should come by default in the labkit.

Ramzu

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Proxy Authentication Required? when trying to outbound call
« Reply #4 on: May 08, 2021, 10:31:27 AM »
I got it working! In the nipc web interface in the "Outgoing" section i unchecked "Match user" and in "Caller" i clicked "Use username". Thanks for the help!!!!