[Freeswitch-users] Not able to make call using external profile

pankaj anand pankajanand18 at gmail.com
Fri Sep 18 07:11:11 PDT 2009


I m using default configuration of freeswitch.. I m not using any gateway
for authentication.
in the $INSTALLDIR/conf/sip_profiles/external/ directory,  there exist only
one file which example.xml , this files contains

<include>
  <!--<gateway name="asterlink.com">-->
  <!--/// account username *required* ///-->
  <!--<param name="username" value="cluecon"/>-->
  <!--/// auth realm: *optional* same as gateway name, if blank ///-->
  <!--<param name="realm" value="asterlink.com"/>-->
  <!--/// username to use in from: *optional* same as  username, if blank
///-->
  <!--<param name="from-user" value="cluecon"/>-->
  <!--/// domain to use in from: *optional* same as  realm, if blank ///-->
  <!--<param name="from-domain" value="asterlink.com"/>-->
  <!--/// account password *required* ///-->
  <!--<param name="password" value="2007"/>-->
  <!--/// extension for inbound calls: *optional* same as username, if blank
///-->
  <!--<param name="extension" value="cluecon"/>-->
  <!--/// proxy host: *optional* same as realm, if blank ///-->
  <!--<param name="proxy" value="asterlink.com"/>-->
  <!--/// send register to this proxy: *optional* same as proxy, if blank
///-->
  <!--<param name="register-proxy" value="mysbc.com"/>-->
  <!--/// expire in seconds: *optional* 3600, if blank ///-->
  <!--<param name="expire-seconds" value="60"/>-->
  <!--/// do not register ///-->
  <!--<param name="register" value="false"/>-->
  <!-- which transport to use for register -->
  <!--<param name="register-transport" value="udp"/>-->
  <!--How many seconds before a retry when a failure or timeout occurs -->
  <!--<param name="retry-seconds" value="30"/>-->
  <!--Use the callerid of an inbound call in the from field on outbound
calls via this gateway -->
  <!--<param name="caller-id-in-from" value="false"/>-->
  <!--extra sip params to send in the contact-->
  <!--<param name="contact-params" value="tport=tcp"/>-->
  <!--send an options ping every x seconds, failure will unregister and/or
mark it down-->
  <!--<param name="ping" value="25"/>-->
  <!--</gateway>-->
</include>


as you can see, all the lines are commented. So i m not using any gateways.



On Fri, Sep 18, 2009 at 3:43 PM, pankaj anand <pankajanand18 at gmail.com>wrote:

> hi folks,   I m not able to make SIP calls using external profile.
>
>  i have added the following lines to the
> $installdir/conf/dialplan/public.xml
>
> <extension name="echo">
>       <condition field="destination_number" expression="^9996$">
>         <action application="answer"/>
>         <action application="echo"/>
>       </condition>
>     </extension>
>
> <extension name="public_extensions">
>       <condition field="destination_number" expression="^(10[01][0-9])$">
>         <action application="bridge" data="sofia/external/$1@$${domain}"/>
>       </condition>
>     </extension>
>
> I m able to connect using 1000 and 1001 from public Internet.  I am able to
> make an echo call.
>
> *when i type :*
>
> $: sofia status  profile external reg
>
> It shows the list of the connected clients and their information.
>
> but when I m trying to make a call from one user to other user, it
> generates the following error
>
>
> 2009-09-18 15:41:45.675054 [NOTICE] switch_channel.c:602 New Channel
> sofia/external/1001 at 192.168.1.50 [fcb6c23e-bdcd-41dd-b73e-df07b71252be]
> 2009-09-18 15:41:45.677063 [INFO] mod_dialplan_xml.c:315 Processing
> 1000->1000 in context public
> 2009-09-18 15:41:45.679071 [NOTICE] switch_channel.c:602 New Channel
> sofia/external/1000 at 192.168.1.50 [1a537865-be53-42ce-b8f5-cc183f4f1306]
> 2009-09-18 15:41:45.688161 [ERR] sofia_reg.c:1568 No Matching gateway found
> 2009-09-18 15:41:45.688161 [NOTICE] sofia_reg.c:1588 Hangup sofia/external/
> 1000 at 192.168.1.50 [CS_CONSUME_MEDIA] [MANDATORY_IE_MISSING]
> 2009-09-18 15:41:45.688161 [INFO] mod_dptools.c:2093 Originate Failed.
>  Cause: MANDATORY_IE_MISSING
> 2009-09-18 15:41:45.689090 [NOTICE] mod_dptools.c:2125 Hangup
> sofia/external/1001 at 192.168.1.50 [CS_EXECUTE] [MANDATORY_IE_MISSING]
> 2009-09-18 15:41:45.690064 [NOTICE] switch_core_session.c:1086 Session 1
> (sofia/external/1001 at 192.168.1.50) Ended
> 2009-09-18 15:41:45.690064 [NOTICE] switch_core_session.c:1088 Close
> Channel sofia/external/1001 at 192.168.1.50 [CS_DESTROY]
> 2009-09-18 15:41:45.692078 [NOTICE] switch_core_session.c:1086 Session 2
> (sofia/external/1000 at 192.168.1.50) Ended
> 2009-09-18 15:41:45.692078 [NOTICE] switch_core_session.c:1088 Close
> Channel sofia/external/1000 at 192.168.1.50 [CS_DESTROY]
>
>
> with regards
> Pankaj anand
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090918/87de407c/attachment-0002.html 


More information about the FreeSWITCH-users mailing list