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 t: <sip:1234567890130@callcentric.com> 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>