vajkooo
(Martin Madarasz)
December 12, 2022, 7:40am
1
Hi guys I’m relative new in freepbx.
I have problem with Deutche telekom chan_pjsip trunk. Received calls are without any problem, but outbound calls are rejected with 401 Unauthorized
I’ve tried a lot of configurations which I found on the internet for Deutche telekom but same problem:(
Could anybody help me please?
Thanks
david55
(david55)
December 12, 2022, 12:02pm
2
401 is not a rejection.
The only thing odd in that trace is that the caller cancelled.
401 is a request for authentication, which seems to have been provided.
vajkooo
(Martin Madarasz)
December 12, 2022, 12:27pm
3
Hi Sorry here is other session
vajkooo
(Martin Madarasz)
December 12, 2022, 12:36pm
5
Then where I can find what is wrong
PBX give me message all circuits are busy now
PitzKey
(Itzik)
December 12, 2022, 12:48pm
6
Perhaps they require a real caller ID?
vajkooo
(Martin Madarasz)
December 12, 2022, 12:55pm
7
Maybe but how can I put there a Caller ID?
Did you provide YOUR caller-ID in the trunk settings, like +49…?
Don’t you use the web-gui?
vajkooo
(Martin Madarasz)
December 12, 2022, 1:28pm
10
I’m using web gui, caller ID in the trunk is set but there is just general number without last two numbers because we have numbers from 00 to 99,
M
david55
(david55)
December 12, 2022, 1:31pm
11
What about the outgoing and incoming settings of the trunk? Mine look like this…an Austrian provider.
vajkooo
(Martin Madarasz)
December 12, 2022, 1:34pm
13
I’m using pjsip protocol not chan_sip and there is different settings
MM
PitzKey
(Itzik)
December 12, 2022, 1:38pm
15
You should be able to set the CID on the outbound route and/or on the extension.
Maybe this helps…it is older though…
Hi! I’d like to present my current PJSIP settings for discussion for two different products offered by the Deutsche Telekom AG. I was struggling a bit with the proper settings, but it seems that I now have something that seems to work. The...
Reading time: 14 mins 🕑
Likes: 3 ❤
vajkooo
(Martin Madarasz)
December 12, 2022, 1:50pm
17
I’ve read the thread and compared almost all settings with mine but still could not find the problem. Incoming calls like a charm but outgoing calls I could not make.
Did you create an outbound route?
david55
(david55)
December 12, 2022, 2:12pm
19
It wouldn’t have sent the INVITE if there were no route or no trunk.
billsimon
(Bill Simon)
December 12, 2022, 2:19pm
20
Most likely you will find the answer in the log file: /var/log/asterisk/full