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="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