[Freeswitch-users] Help with originate/bride command from FS to ITSP extension

Brian West brian at freeswitch.com
Thu Sep 5 16:09:43 UTC 2019


Don't force the realm.

/b


On Thu, Sep 5, 2019 at 10:28 AM mario_fs <mario_fs at 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 at 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 at 10.11.12.7>;tag=mS3Q66862j8HK
>    t: <sip:1234567890130 at 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 at 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 at 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 at 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 at 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190905/e6d81393/attachment.html>


More information about the FreeSWITCH-users mailing list