Discussion:
[Freeswitch-users] MANDATORY_IE_MISSING when calling Linphone
Ajith de Silva
2015-05-20 07:44:19 UTC
Permalink
Hi,
I am trying to send a call to FreeBAPX from freeSWITCH.
Allow the freeSWithc IP in freePABX.

Followed the following sequence to do the calls

Step 1 (staic user)
1. Register user using the xml file in the directory
2. Dial defined code "5151"
3. Bridge the call to FreePABX.
5. FreeBAPX extension rings & answer
4. Both parties can hear the voice.


Step 2 (dynamic user)
1. Register user using the xml provided by the web server.
fetch it using the xml_curl & I get

<document type="freeswitch/xml">
<section name="directory">
<domain name="abc.com">
<params>
<param name="dial-string" value="
{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_us
er}@${dialed_domain})}"/>
</params>
<groups>
<group name="default">
<users>
<user id="1000">
<params>
<param name="password" value="123123"/>
</params>
<variables>
<variable name="user_context" value="default" />
<variable name="accountcode" value="1000" />
</variables>
</user>
</users>
</group>
</groups>
</domain>
</section>
</document>


2. Dial defined code "5151"
3. Try Bridge the call to FreePABX.
4. Call fail with following issue
Cannot locate any authentication credentials to complete an
authentication request for realm '"asterisk"'

Originate Resulted in Error Cause: 96 [MANDATORY_IE_MISSING]

2015-05-20 07:29:59.782326 [INFO] mod_dptools.c:3244 Originate Failed.
Cause: MANDATORY_IE_MISSING

mod_sofia.c:413 Channel sofia/internal/***@emrostel.com hanging up,
cause: MANDATORY_IE_MISSING
2015-05-20 07:29:59.782326 [DEBUG] mod_sofia.c:549 Responding to INVITE
with: 480

Can you please me guide what did I miss over there.

Best Regards,
Ajith de Silva




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
***@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-***@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Brian West
2015-05-20 12:43:03 UTC
Permalink
It usually means you were challenged on your outbound INVITE by the remote
party and you have no way to answer that challenge.
Post by Ajith de Silva
Hi,
I am trying to send a call to FreeBAPX from freeSWITCH.
Allow the freeSWithc IP in freePABX.
Followed the following sequence to do the calls
Step 1 (staic user)
1. Register user using the xml file in the directory
2. Dial defined code "5151"
3. Bridge the call to FreePABX.
5. FreeBAPX extension rings & answer
4. Both parties can hear the voice.
Step 2 (dynamic user)
1. Register user using the xml provided by the web server.
fetch it using the xml_curl & I get
<document type="freeswitch/xml">
<section name="directory">
<domain name="abc.com">
<params>
<param name="dial-string" value="
</params>
<groups>
<group name="default">
<users>
<user id="1000">
<params>
<param name="password" value="123123"/>
</params>
<variables>
<variable name="user_context" value="default" />
<variable name="accountcode" value="1000" />
</variables>
</user>
</users>
</group>
</groups>
</domain>
</section>
</document>
2. Dial defined code "5151"
3. Try Bridge the call to FreePABX.
4. Call fail with following issue
Cannot locate any authentication credentials to complete an
authentication request for realm '"asterisk"'
Originate Resulted in Error Cause: 96 [MANDATORY_IE_MISSING]
2015-05-20 07:29:59.782326 [INFO] mod_dptools.c:3244 Originate Failed.
Cause: MANDATORY_IE_MISSING
cause: MANDATORY_IE_MISSING
2015-05-20 07:29:59.782326 [DEBUG] mod_sofia.c:549 Responding to INVITE
with: 480
Can you please me guide what did I miss over there.
Best Regards,
Ajith de Silva
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
*Brian West*
***@freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> |
Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Loading...