<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2800.1605" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello :)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>At the begining - sorry for my english.<BR>I have 
following problems with freeswitch:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>1. I have got 3 computers in LAN. On one computer 
is running freeswitch, and on the others are intalleted Xlite software (sip 
clients).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>2. On "voipdiscount.com" I've got an account for 
free local calls.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>3. I want make a call on mobile phone using 
freeswitch and voipdiscount.com So on my computer I start XLite, log in on 
default freeswitch account 1000 and then try dial a mobile phone 
number</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>4. On dialplan I have something like 
this:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>./CONF//DIALPLAN: 
public.xml<BR>&lt;include&gt;<BR>&nbsp; &lt;context 
name="public"&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &lt;extension 
name="public_extensions"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition 
field="destination_number" 
expression="^(10[01][0-9])$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;action application="transfer" data="$1 XML 
default"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/condition&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &lt;extension 
name="test_voipdiscount"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;condition field="destination_number" 
expression="^([0-9]{13})$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;action application="bridge" data="<A 
href='mailto:sofia/gateway/voipdiscount.com/$1@sip.voipdiscount.com"/'>sofia/gateway/voipdiscount.com/$1@sip.voipdiscount.com"/</A>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/condition&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; 
&lt;/context&gt;<BR>&lt;/include&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and on the sip_profiles 
(conf/sip_profiles/outbound/voipdiscount.com.xml) I have following configuration 
of gateway:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;include&gt;<BR>&nbsp; &lt;gateway 
name="voipdiscount.com"&gt;<BR>&nbsp; &lt;param name="username" 
value="user_name"/&gt;<BR>&nbsp; &lt;param name="realm" 
value="sip.voipdiscount.com"/&gt;<BR>&nbsp; &lt;param name="password" 
value="user_password"/&gt;--&gt;<BR>&nbsp; &lt;param name="proxy" 
value="sip.voipdiscount.com"/&gt;<BR>&nbsp; 
&lt;/gateway&gt;<BR>&lt;/include&gt;</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>After connection on freeswitch I get following messages:</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>2008-05-13 09:51:43 [INFO] mod_iax.c:928 mod_iax_runtime() IAX Ready 
Port 4569<BR><A href="mailto:freeswitch@xx">freeswitch@xx</A>&gt; 2008-05-13 
09:51:43 [NOTICE] sofia_reg.c:104 sofia_reg_check_gateway() registering 
voipdiscount.com<BR>2008-05-13 09:51:43 [NOTICE] sofia_reg.c:104 
sofia_reg_check_gateway() registering ideasip.com<BR>2008-05-13 09:51:47 
[NOTICE] switch_channel.c:531 switch_channel_set_name() New Channel <A 
href="mailto:sofia/default/1000@192.168.3.79">sofia/default/1000@192.168.3.79</A> 
[701574c2-20c1-11dd-9725-39613e150eca]<BR>2008-05-13 09:51:47 [INFO] 
mod_dialplan_xml.c:223 dialplan_hunt() Processing 
1000-&gt;0048606xxxxxx@public<BR>2008-05-13 09:51:47 [NOTICE] 
switch_channel.c:531 switch_channel_set_name() New Channel <A 
href="mailto:sofia/outbound/0048606xxxxxx@sip.voipdiscount.com">sofia/outbound/0048606xxxxxx@sip.voipdiscount.com</A> 
[70165892-20c1-11dd-9725-39613e150eca]<BR>2008-05-13 09:52:14 [NOTICE] 
sofia_reg.c:104 sofia_reg_check_gateway() registering 
voipdiscount.com<BR>2008-05-13 09:52:14 [NOTICE] sofia_reg.c:104 
sofia_reg_check_gateway() registering ideasip.com<BR>2008-05-13 09:52:46 
[NOTICE] sofia_reg.c:104 sofia_reg_check_gateway() registering 
voipdiscount.com<BR>2008-05-13 09:52:46 [NOTICE] sofia_reg.c:104 
sofia_reg_check_gateway() registering ideasip.com<BR>2008-05-13 09:52:47 
[NOTICE] switch_ivr_originate.c:1154 switch_ivr_originate() Hangup <A 
href="mailto:sofia/outbound/NTK@sip.voipdiscount.com">sofia/outbound/NTK@sip.voipdiscount.com</A> 
[CS_HOLD] [NO_ANSWER]<BR>2008-05-13 09:52:47 [INFO] mod_dptools.c:1551 
audio_bridge_function() Originate Failed.&nbsp; Cause: 
ORIGINATOR_CANCEL<BR>2008-05-13 09:52:47 [NOTICE] mod_dptools.c:1578 
audio_bridge_function() Hangup <A 
href="mailto:sofia/default/1000@192.168.3.79">sofia/default/1000@192.168.3.79</A>&nbsp; 
[CS_EXECUTE] [ORIGINATOR_CANCEL]<BR>2008-05-13 09:52:47 [NOTICE] 
switch_core_session.c:748 switch_core_session_thread() Session 1 (<A 
href="mailto:sofia/default/1000@192.168.3.79">sofia/default/1000@192.168.3.79</A> 
) Ended<BR>2008-05-13 09:52:47 [NOTICE] switch_core_session.c:750 
switch_core_session_thread() Close Channel <A 
href="mailto:sofia/default/1000@192.168.3.79">sofia/default/1000@192.168.3.79</A> 
[CS_HANGUP]<BR>2008-05-13 09:52:47 [NOTICE] switch_core_session.c:748 
switch_core_session_thread() Session 2 (<A 
href="mailto:sofia/outbound/0048606xxxxxx@sip.voipdiscount.com">sofia/outbound/0048606xxxxxx@sip.voipdiscount.com</A>) 
Ended<BR>2008-05-13 09:52:47 [NOTICE] switch_core_session.c:750 
switch_core_session_thread() Close Channel <A 
href="mailto:sofia/outbound/0048606xxxxxx@sip.voipdiscount.com">sofia/outbound/0048606xxxxxx@sip.voipdiscount.com</A> 
[CS_HANGUP]</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>There are no errors but after few minutes connection is hang up (no 
calling signal on the channnel).</DIV>
<DIV>&nbsp;</DIV>
<DIV>I don't know where is the problem.<BR>Also I was trying connect through 
ideasip.com (got SIP number and an account at this provider) same as above, but 
in the dialplan instead of "bridge" I used "redirect". So my dialplan looks like 
this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;include&gt;<BR>&nbsp; &lt;context name="public"&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &lt;extension 
name="public_extensions"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition 
field="destination_number" 
expression="^(10[01][0-9])$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;action application="transfer" data="$1 XML 
default"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/condition&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &lt;extension 
name="test_voipdiscount"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;condition field="destination_number" 
expression="^([0-9]{11})$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- It works with 
the following line 
--&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;action application="redirect" 
data="sip:$1@proxy.ideasip.com"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- below 
line doesn't work --&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- &lt;action 
application="bridge" data="<A 
href='mailto:sofia/gateway/ideasip.com/$1@sip.ideasip.com"/'>sofia/gateway/ideasip.com/$1@sip.ideasip.com"/</A>&gt; 
--&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/condition&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;/context&gt;<BR>&lt;/include&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>On voipdiscount.com this trick doesn't working.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Could anyone help me, please ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks<BR>Paul.</FONT></DIV></BODY></HTML>