[Freeswitch-users] Call send from Freeswitch to Asterisk
Uday kumar
udy786 at gmail.com
Tue Oct 31 11:46:25 UTC 2017
Hello All,
I am using Freeswitch on Debain 8. Configured few DIDs. Calls coming from
provider and I am trying to send Call to a Asterisk server but getting an
error "MANDATORY_IE_MISSING".
DID Provider (3.3.3.3) => FS (192.168.1.70) => Asterisk (192.168.1.92) =>
Ext 8001
*FS dialplan =>*
<extension name="public">
<condition field="destination_number" expression="(.*)">
<action application="bridge" data="sofia/external/$1 at 192.168.1.92"/>
<action application="hangup"/>
</condition>
</extension>
Added DID Provider IP and Asterisk IP in ACL.
When I checked on Asterisk, got an error in sngrep, "401 Unauthorized".
Attached image is of error.
*On Asterisk =>*
SIP.conf
[freeswitch_1]
type=peer
host=192.168.1.70
port=5080
disallow=all
allow=ulaw
trustrpid=yes
sendrpid=yes
context=from-internal
EXTENSIONS.conf
exten => _XXX.,1,Dial(SIP/8001,30,oT)
exten => _XXX.,n,Hangup
Tried on port 5080 and 5060. Error both time same.
My point is, this is Asterisk issue or Freeswitch? Please advice.
--
Thanks & Regard
Uday.
Mobile:- +91-9377579349
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171031/25e084a0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.PNG
Type: image/png
Size: 49774 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171031/25e084a0/attachment-0001.png>
More information about the FreeSWITCH-users
mailing list