[Freeswitch-users] Help with originate/bride command from FS to ITSP extension
mario_fs
mario_fs at mgtech.com
Thu Sep 5 16:26:43 UTC 2019
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 at callcentric.com <mailto:sip_auth_realm=callcentric.com}sofia/internal/1234567890130 at callcentric.com> &echo
> On Sep 5, 2019, at 9:09 AM, Brian West <brian at freeswitch.com> wrote:
>
> Don't force the realm.
>
> /b
>
>
> On Thu, Sep 5, 2019 at 10:28 AM mario_fs <mario_fs at mgtech.com <mailto: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 <mailto:sip_auth_realm=callcentric.com%7Dsofia/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 <http://callcentric.com/>". If you would please ensure that the FreeSwitch configuration will utlize "callcentric.com <http://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 <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 <https://signalwire.community/>
>
> Professional FreeSWITCH Services
> sales at freeswitch.com <mailto:sales at freeswitch.com>
> https://freeswitch.com <https://freeswitch.com/>
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss <https://freeswitch.com/oss>
> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
> https://cluecon.com <https://cluecon.com/>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> https://freeswitch.com <https://freeswitch.com/>
>
> --
>
> Brian West | Co-founder and Developer
> Need Commercial support? email sales at freeswitch.com <mailto: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 <mailto:brian at freeswitch.com>
> Mobile: 918-424-9378
> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
> <https://www.facebook.com/freeswitch> <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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190905/2fbea5ea/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list