[Freeswitch-users] MANDATORY_IE_MISSING when calling Linphone

Ajith de Silva ajithdesilva at gmail.com
Wed May 20 11:44:19 MSD 2015


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/1000 at 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






Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list