<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><html>On May 13, 2008, at 6:49 AM, Czaderna wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div bgcolor="#ffffff"><div><font face="Arial" size="2">Hello :)</font></div><div> </div><div><font face="Arial" size="2">At the begining - sorry for my english.<br>I have following problems with freeswitch:</font></div><div> </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> </div><div><font face="Arial" size="2">2. On "voipdiscount.com" I've got an account for free local calls.</font></div><div> </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> </div><div><font face="Arial" size="2">4. On dialplan I have something like this:</font></div><div> </div><div><font face="Arial" size="2">./CONF//DIALPLAN: public.xml<br><include><br> <context name="public"></font></div><div> </div><div><font face="Arial" size="2"> <extension name="public_extensions"><br> <condition field="destination_number" expression="^(10[01][0-9])$"><br> <action application="transfer" data="$1 XML default"/><br> </condition><br> </extension></font></div><div> </div><div><font face="Arial" size="2"> <extension name="test_voipdiscount"><br> <condition field="destination_number" expression="^([0-9]{13})$"><br> <action application="bridge" data="<a href="mailto:sofia/gateway/voipdiscount.com/$1@sip.voipdiscount.com"/">sofia/gateway/voipdiscount.com/$1@sip.voipdiscount.com"/</a>><br> </condition><br> </extension></font></div><div> </div></div></span></blockquote><div><br></div><div>tip.. I see your bridge line is a bit over worked. sofia/gateway/voipdiscount.com/$1 is plenty then set from-domain in your gateway properly.</div><div><br></div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div bgcolor="#ffffff"><div><font face="Arial" size="2"> </context><br></include></font></div><div> </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> </div><div><font face="Arial" size="2"><include><br> <gateway name="voipdiscount.com"><br> <param name="username" value="user_name"/><br> <param name="realm" value="sip.voipdiscount.com"/><br> <param name="password" value="user_password"/>--><br> <param name="proxy" value="sip.voipdiscount.com"/><br> </gateway><br></include></font></div><div> </div></div></span></blockquote><div><br></div><div>Why are you setting a realm? They should tell you the realm when they challenge you... only rare cases should you ever need to fill out the realm.</div><div><br></div><div><br></div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div bgcolor="#ffffff"><font face="Arial" size="2"><div><br>After connection on freeswitch I get following messages:</div><div> </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>> 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<span class="Apple-converted-space"> </span><a href="mailto:sofia/default/1000@192.168.3.79">sofia/default/1000@192.168.3.79</a><span class="Apple-converted-space"> </span>[701574c2-20c1-11dd-9725-39613e150eca]<br>2008-05-13 09:51:47 [INFO] mod_dialplan_xml.c:223 dialplan_hunt() Processing 1000->0048606xxxxxx@public<br>2008-05-13 09:51:47 [NOTICE] switch_channel.c:531 switch_channel_set_name() New Channel<span class="Apple-converted-space"> </span><a href="mailto:sofia/outbound/0048606xxxxxx@sip.voipdiscount.com">sofia/outbound/0048606xxxxxx@sip.voipdiscount.com</a><span class="Apple-converted-space"> </span>[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<span class="Apple-converted-space"> </span><a href="mailto:sofia/outbound/NTK@sip.voipdiscount.com">sofia/outbound/NTK@sip.voipdiscount.com</a><span class="Apple-converted-space"> </span>[CS_HOLD] [NO_ANSWER]<br>2008-05-13 09:52:47 [INFO] mod_dptools.c:1551 audio_bridge_function() Originate Failed. Cause: ORIGINATOR_CANCEL<br>2008-05-13 09:52:47 [NOTICE] mod_dptools.c:1578 audio_bridge_function() Hangup<span class="Apple-converted-space"> </span><a href="mailto:sofia/default/1000@192.168.3.79">sofia/default/1000@192.168.3.79</a> [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><span class="Apple-converted-space"> </span>) Ended<br>2008-05-13 09:52:47 [NOTICE] switch_core_session.c:750 switch_core_session_thread() Close Channel<span class="Apple-converted-space"> </span><a href="mailto:sofia/default/1000@192.168.3.79">sofia/default/1000@192.168.3.79</a><span class="Apple-converted-space"> </span>[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<span class="Apple-converted-space"> </span><a href="mailto:sofia/outbound/0048606xxxxxx@sip.voipdiscount.com">sofia/outbound/0048606xxxxxx@sip.voipdiscount.com</a><span class="Apple-converted-space"> </span>[CS_HANGUP]</div><div> </div><div><br>There are no errors but after few minutes connection is hang up (no calling signal on the channnel).</div></font></div></span></blockquote><div><br></div><div>Please try to collect the log with "console level debug" and see if that gives you any more info. This looks like Originator Cancel was the hangup cause but the debug might show a bit more info.</div><div><br></div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div bgcolor="#ffffff"><font face="Arial" size="2"><div> </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> </div><div><include><br> <context name="public"></div><div> </div><div> <extension name="public_extensions"><br> <condition field="destination_number" expression="^(10[01][0-9])$"><br> <action application="transfer" data="$1 XML default"/><br> </condition><br> </extension></div><div> </div><div> <extension name="test_voipdiscount"><br> <condition field="destination_number" expression="^([0-9]{11})$"><br> <!-- It works with the following line --><br> <action application="redirect" data="<a href="sip:$1@proxy.ideasip.com">sip:$1@proxy.ideasip.com</a>"/><br> <!-- below line doesn't work --><br> <!-- <action application="bridge" data="<a href="mailto:sofia/gateway/ideasip.com/$1@sip.ideasip.com"/">sofia/gateway/ideasip.com/$1@sip.ideasip.com"/</a>> --></div></font></div></span></blockquote><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div bgcolor="#ffffff"><font face="Arial" size="2"><div><br> </condition><br> </extension></div><div> </div><div> </context><br></include></div><div> </div><div>On voipdiscount.com this trick doesn't working.</div><div> </div><div>Could anyone help me, please ?</div></font></div></span></blockquote><div><br></div><div>I would recommend you join the IRC channel so we can help you in realtime and get a clear understanding of what you're trying to accomplish.</div><div><br></div><div>Thanks,</div><div>Brian </div><div><br></div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div bgcolor="#ffffff"><font face="Arial" size="2"><div> </div></font><div><font face="Arial" size="2">Thanks<br>Paul.</font></div>_______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></span></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Brian West</div><div><a href="sip:brian@freeswitch.org">sip:brian@freeswitch.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"> </div><br></body></html>