I m using default configuration of freeswitch.. I m not using any gateway for authentication.<div><br><div>in the $INSTALLDIR/conf/sip_profiles/external/ directory, there exist only one file which example.xml , this files contains </div>
<div><br></div><div><div><include></div><div> <!--<gateway name="<a href="http://asterlink.com">asterlink.com</a>">--></div><div> <!--/// account username *required* ///--></div><div> <!--<param name="username" value="cluecon"/>--></div>
<div> <!--/// auth realm: *optional* same as gateway name, if blank ///--></div><div> <!--<param name="realm" value="<a href="http://asterlink.com">asterlink.com</a>"/>--></div><div>
<!--/// username to use in from: *optional* same as username, if blank ///--></div><div> <!--<param name="from-user" value="cluecon"/>--></div><div> <!--/// domain to use in from: *optional* same as realm, if blank ///--></div>
<div> <!--<param name="from-domain" value="<a href="http://asterlink.com">asterlink.com</a>"/>--></div><div> <!--/// account password *required* ///--></div><div> <!--<param name="password" value="2007"/>--></div>
<div> <!--/// extension for inbound calls: *optional* same as username, if blank ///--></div><div> <!--<param name="extension" value="cluecon"/>--></div><div> <!--/// proxy host: *optional* same as realm, if blank ///--></div>
<div> <!--<param name="proxy" value="<a href="http://asterlink.com">asterlink.com</a>"/>--></div><div> <!--/// send register to this proxy: *optional* same as proxy, if blank ///--></div>
<div> <!--<param name="register-proxy" value="<a href="http://mysbc.com">mysbc.com</a>"/>--></div><div> <!--/// expire in seconds: *optional* 3600, if blank ///--></div><div> <!--<param name="expire-seconds" value="60"/>--></div>
<div> <!--/// do not register ///--></div><div> <!--<param name="register" value="false"/>--></div><div> <!-- which transport to use for register --></div><div> <!--<param name="register-transport" value="udp"/>--></div>
<div> <!--How many seconds before a retry when a failure or timeout occurs --></div><div> <!--<param name="retry-seconds" value="30"/>--></div><div> <!--Use the callerid of an inbound call in the from field on outbound calls via this gateway --></div>
<div> <!--<param name="caller-id-in-from" value="false"/>--></div><div> <!--extra sip params to send in the contact--></div><div> <!--<param name="contact-params" value="tport=tcp"/>--></div>
<div> <!--send an options ping every x seconds, failure will unregister and/or mark it down--></div><div> <!--<param name="ping" value="25"/>--></div><div> <!--</gateway>--></div>
<div></include></div><div><br></div><div><br></div><div>as you can see, all the lines are commented. So i m not using any gateways.</div><div><br></div><div><br></div></div><div><br><div class="gmail_quote">On Fri, Sep 18, 2009 at 3:43 PM, pankaj anand <span dir="ltr"><<a href="mailto:pankajanand18@gmail.com">pankajanand18@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi folks, <div> I m not able to make SIP calls using external profile. </div><div><br></div><div> i have added the following lines to the $installdir/conf/dialplan/public.xml </div>
<div><br></div><div><div><extension name="echo"></div>
<div> <condition field="destination_number" expression="^9996$"></div><div> <action application="answer"/></div><div> <action application="echo"/></div>
<div> </condition></div><div> </extension></div><div><br></div></div><div><div><extension name="public_extensions"></div><div> <condition field="destination_number" expression="^(10[01][0-9])$"></div>
<div> <action application="bridge" data="sofia/external/$1@$${domain}"/></div><div> </condition></div><div> </extension></div><div><br></div><div>I m able to connect using 1000 and 1001 from public Internet. I am able to make an echo call. </div>
<div><br></div><div><b>when i type :</b> </div><div><br></div><div>$: sofia status profile external reg</div><div><br></div><div>It shows the list of the connected clients and their information.</div><div><br></div><div>
but when I m trying to make a call from one user to other user, it generates the following error </div><div><br></div><div><br></div><div><div>2009-09-18 15:41:45.675054 [NOTICE] switch_channel.c:602 New Channel sofia/external/<a href="mailto:1001@192.168.1.50" target="_blank">1001@192.168.1.50</a> [fcb6c23e-bdcd-41dd-b73e-df07b71252be]</div>
<div>2009-09-18 15:41:45.677063 [INFO] mod_dialplan_xml.c:315 Processing 1000->1000 in context public</div><div>2009-09-18 15:41:45.679071 [NOTICE] switch_channel.c:602 New Channel sofia/external/<a href="mailto:1000@192.168.1.50" target="_blank">1000@192.168.1.50</a> [1a537865-be53-42ce-b8f5-cc183f4f1306]</div>
<div>2009-09-18 15:41:45.688161 [ERR] sofia_reg.c:1568 No Matching gateway found</div><div>2009-09-18 15:41:45.688161 [NOTICE] sofia_reg.c:1588 Hangup sofia/external/<a href="mailto:1000@192.168.1.50" target="_blank">1000@192.168.1.50</a> [CS_CONSUME_MEDIA] [MANDATORY_IE_MISSING]</div>
<div>2009-09-18 15:41:45.688161 [INFO] mod_dptools.c:2093 Originate Failed. Cause: MANDATORY_IE_MISSING</div><div>2009-09-18 15:41:45.689090 [NOTICE] mod_dptools.c:2125 Hangup sofia/external/<a href="mailto:1001@192.168.1.50" target="_blank">1001@192.168.1.50</a> [CS_EXECUTE] [MANDATORY_IE_MISSING]</div>
<div>2009-09-18 15:41:45.690064 [NOTICE] switch_core_session.c:1086 Session 1 (sofia/external/<a href="mailto:1001@192.168.1.50" target="_blank">1001@192.168.1.50</a>) Ended</div><div>2009-09-18 15:41:45.690064 [NOTICE] switch_core_session.c:1088 Close Channel sofia/external/<a href="mailto:1001@192.168.1.50" target="_blank">1001@192.168.1.50</a> [CS_DESTROY]</div>
<div>2009-09-18 15:41:45.692078 [NOTICE] switch_core_session.c:1086 Session 2 (sofia/external/<a href="mailto:1000@192.168.1.50" target="_blank">1000@192.168.1.50</a>) Ended</div><div>2009-09-18 15:41:45.692078 [NOTICE] switch_core_session.c:1088 Close Channel sofia/external/<a href="mailto:1000@192.168.1.50" target="_blank">1000@192.168.1.50</a> [CS_DESTROY]</div>
<div><br></div><div><br></div><div>with regards</div><div>Pankaj anand</div><div><br></div></div></div>
</blockquote></div><br></div></div>