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

pankaj anand pankajanand18 at gmail.com
Fri Sep 18 03:13:20 PDT 2009


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/cbfbbd09/attachment-0002.html 


More information about the FreeSWITCH-users mailing list