Ajith de Silva
2015-05-20 07:44:19 UTC
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
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