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

mario_fs mario_fs at mgtech.com
Thu Sep 5 15:28:08 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190905/8988fad7/attachment.html>


More information about the FreeSWITCH-users mailing list