[OpenSIPS-Users] presence blf

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Oct 26 02:34:02 EDT 2018


Hi Slave,

If you cannot do an IP authentication / whitelisting for OpenSIPS in 
3CX, you could use the uac_auth module and the uac_auth() function to 
perform user side authentication in OpenSIPS. See
     http://www.opensips.org/html/docs/modules/2.4.x/uac.html
     http://www.opensips.org/html/docs/modules/2.4.x/uac_auth.html

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
   http://opensips.org/training/OpenSIPS_Bootcamp_2018/

On 10/25/2018 09:49 PM, Slava Bendersky wrote:
> Hello Everyone,
> I am trying make BLF working and how opensips should handle PUBLISH 
> where server reply 407 ?
> Do we need forward to end point ?
> Opensips send PUBLISH then 3CX send 407 and conversation done.
> Here some trace
>
> [root at aitossbc01 ~]# cat BLF.txt
> 2018/10/25 12:22:19.148093 10.100.104.10:5060 -> 10.2.24.124:5060
> PUBLISH sip:120 at domain.tld:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.100.104.10:5060;branch=z9hG4bK9f23.99096732.0
> To: sip:120 at domain.tld:5060
> From: <sip:120 at domain.tld:5060>;tag=4c20d2ebf66939afcc7c67fb6893f1be-672a
> CSeq: 10 PUBLISH
> Call-ID: 0324183200c79905-20534 at 10.100.104.10
> Max-Forwards: 70
> Content-Length: 549
> User-Agent: OpenSIPS (3.0.0-dev (x86_64/linux))
> Event: dialog
> Expires: 3601
> Content-Type: application/dialog-info+xml
>
> <?xml version="1.0"?>
> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" 
> state="partial" entity="sip:120 at domain.tld:5060"><dialog 
> id="0_3095066305 at 192.168.88.146" call-id="0_3095066305 at 192.168.88.146" 
> direction="recipient"><state>confirmed</state><remote><identity>sip:221 at domain.tld:5060</identity><target 
> uri="sip:221 at domain.tld:5060"/></remote><local><identity>sip:120 at domain.tld:5060</identity><target 
> uri="sip:120 at domain.tld:5060"/></local></dialog></dialog-info>
>
>
> 2018/10/25 12:22:19.198773 10.2.24.124:5060 -> 10.100.104.10:5060
> SIP/2.0 407 Proxy Authentication Required
> Via: SIP/2.0/UDP 10.100.104.10:5060;branch=z9hG4bK9f23.99096732.0
> Proxy-Authenticate: Digest 
> nonce="414d53595bd1fbcb12:61835c52c28e8a89737c489e16fa5965",algorithm=MD5,realm="3CXPhoneSystem"
> To: <sip:120 at domain.tld:5060>;tag=d9bb492f
> From: <sip:120 at domain.tld:5060>;tag=4c20d2ebf66939afcc7c67fb6893f1be-672a
> Call-ID: 0324183200c79905-20534 at 10.100.104.10
> CSeq: 10 PUBLISH
> User-Agent: 3CXPhoneSystem 15.5.15502.6 (15502)
> Content-Length: 0
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181026/1af1e818/attachment.html>


More information about the Users mailing list