I started with the command below and had the same exact error which is why I tried adding it.

originate {sip_auth_username=1234567890130,sip_auth_password=mypass}sofia/internal/1234567890130@callcentric.com &echo


On Sep 5, 2019, at 9:09 AM, Brian West <brian@freeswitch.com> wrote:

Don't force the realm.

/b


On Thu, Sep 5, 2019 at 10:28 AM mario_fs <mario_fs@mgtech.com> wrote:
I am trying to get FS to make a call using a callcentric extension (not FS extension) without setting up the extension as an external gateway, I don’t want permanent since it’s only used to forward calls to cellphone. I am testing with the CLI originate command below, before I put it into a LUA script.

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

Callcentric is returning:

  SIP/2.0 403 Incorrect Authentication
   v: SIP/2.0/UDP 10.11.12.7;rport=47865;branch=z9hG4bK08agtrXr3c94j;received=77.99.55.42
   f: <sip:0000000000@10.11.12.7>;tag=mS3Q66862j8HK
   i: 75dfa23c-49f2-4448-4cbd-5936885236fb
   CSeq: 9260033 INVITE
   l: 0

The username and password are correct, callcentric says:
Looking at the INVITE 's "Proxy-Authorization" header we can see that the Username is correct as "1234567890130". However, the realm states "10.11.12.7" rather than "callcentric.com". If you would please ensure that the FreeSwitch configuration will utlize "callcentric.com" as the authorization realm. 

I looked at the wiki/google and tried the sip_auth_realm and fs_path to add the realm but no luck. O hope someone knows the magic option to set the realm. Thanks.
Mario G
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com


--

Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com
Mobile: 918-424-9378
https://www.facebook.com/signalwireinc?src=email https://twitter.com/freeswitch
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com