[Freeswitch-users] How to add proxy realm to CLI originate command

mario_fs mario_fs at mgtech.com
Thu Sep 5 19:27:22 UTC 2019


I am getting incorrect proxy authorization due to realm error. Trying many things nothing works. So far I have added sip_auth_realm and fs_path but the realm becomes my local IP address instead of the remote URL which is required:

originate {sip_auth_username= 1234567890130,sip_auth_password=mypass,sip_auth_realm=callcentric.com}sofia/internal/1234567890130 at callcentric.com;fs_path=sip:callcentric.com &echo

According to ITSP, I need “callcentric.com <http://callcentric.com/>” instead of 10.12.13.7” in what I see in the INVITE message:

Proxy-Authorization: Digest username="1234567890130", realm="10.12.13.7", nonce="1bb85bb0553333e87e0779e40444df4f", opaque="", algorithm=MD5, uri="sip: 1234567890130 at callcentric.com", response="a269eaa24433332b49e8e5521002484a"

Anyone know if this is even possible? I am using CLI to test then plan to use in bridge command in LUA. Thanks.
Mario G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190905/4e10b052/attachment.html>


More information about the FreeSWITCH-users mailing list