Hi all,
Solved! If i create an identical user/password in kamailio which i get from command
kamcmd uac.reg_dump { l_uuid: 2 l_username: xyz }
then it works. Else result from Provider would be: SIP/2.0 403 Check SIP ID or username.
Is there any way to use avoid a refresh of providing digest authentication credentials from INVITE? The first auth from uac module should be enough!
I'm not sure why you would immediately jump to the conclusion that you need to rewrite the To header.
This is just a normal 407 challenge. The first and most straightforward interpretation is that the provider expects you to provide digest authentication credentials, or that they don't have your IP in their ACL and are falling back to a digest challenge as a default behaviour for that reason.
On Tue, Apr 25, 2017 at 08:29:47AM +0200, gh@heissa.de wrote:
Hi, after Kamailio did a correct (INVITE sip:089321608@5.9.87.18 SIP/2.0 looks good to me), to our Sip-Provider we get: "SIP/2.0 407 Proxy Authentication Required."
Could it be that i have to rewrite also the following line: To: sip:089321608@sip.heissa.de.
To: sip:089321608@provider_from_dispatcher_table.
and how can i do that?
Until now i use just ds_select_domain("2", "4")
Thanks, Georg
U 130.255.76.95:5060 -> 5.9.87.18:5060 INVITE sip:089321608@5.9.87.18 SIP/2.0. Record-Route: sip:130.255.76.95;lr;ftag=Wl3D6P2TkS5KuAGzo-9Z1Ezqy7NMRvco. Via: SIP/2.0/UDP 130.255.76.95;branch=z9hG4bK7828.51fb03ff0ac02b01b2ba2bb73c1de051.0. Via: SIP/2.0/UDP 100.99.24.192:53230;received=91.186.0.208;rport=39126;branch=z9hG4bKPjnlNeJmB2Id2F2Tmypfaf5sdh47ir3wg8. Max-Forwards: 69. From: "4321" sip:080424321@sip.heissa.de;tag=Wl3D6P2TkS5KuAGzo-9Z1Ezqy7NMRvco. To: sip:089321608@sip.heissa.de. Contact: sip:080424321@91.186.0.208:39126;ob. Call-ID: -rgvfObl0VN39nEiZTf55yxxn8FemD52. CSeq: 5545 INVITE. Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS. Supported: replaces, 100rel, timer, norefersub. Session-Expires: 1800. Min-SE: 90. User-Agent: CSipSimple_acer_z520-19/r2457. Content-Type: application/sdp. Content-Length: 366.
U 5.9.87.18:5060 -> 130.255.76.95:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 130.255.76.95;branch=z9hG4bK7828.51fb03ff0ac02b01b2ba2bb73c1de051.0. Via: SIP/2.0/UDP 100.99.24.192:53230;received=91.186.0.208;rport=39126;branch=z9hG4bKPjnlNeJmB2Id2F2Tmypfaf5sdh47ir3wg8. Record-Route: sip:130.255.76.95;lr;ftag=Wl3D6P2TkS5KuAGzo-9Z1Ezqy7NMRvco. From: "4321" sip:080424321@sip.heissa.de;tag=Wl3D6P2TkS5KuAGzo-9Z1Ezqy7NMRvco. To: sip:089321608@sip.heissa.de. Call-ID: -rgvfObl0VN39nEiZTf55yxxn8FemD52. CSeq: 5545 INVITE. User-Agent: einfachVoIP.de. Content-Length: 0.
U 5.9.87.18:5060 -> 130.255.76.95:5060 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP 130.255.76.95;branch=z9hG4bK7828.51fb03ff0ac02b01b2ba2bb73c1de051.0.
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users