<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I understood the example.<br>
What I mean is that my DNS issue comes from sofia-sip and my sip
provider (freephonie.net) name resolution which fails when calling
whereas it is well resolved during the registration process.<br>
Here is a trace :<br>
<pre><font size="-1">2009-03-17 18:47:28 [NOTICE] switch_channel.c:538 switch_channel_set_name() New Channel sofia/external/0123456789 [ae9c2108-131b-11de-8a2f-1fafbaa54120] nua: nh_create_handle: entering  
; </font></pre>
<pre><font size="-1">nua: nua_handle_bind: entering </font></pre>
<pre><font size="-1">nua: nua_invite: entering </font></pre>
<pre><font size="-1">nua: nua_stack_set_params: entering </font></pre>
<pre><font size="-1">soa_clone(static::0x100abd98, 0x100a8738, 0x100c6748) called </font></pre>
<pre><font size="-1">soa_set_params(static::0x100b4728, ...) called </font></pre>
<pre><font size="-1">soa_set_params(static::0x100b4728, ...) called </font></pre>
<pre><font size="-1">soa_set_user_sdp(static::0x100b4728, (nil), 0x10106364, -1) called </font></pre>
<pre><font size="-1">soa_set_capability_sdp(static::0x100b4728, (nil), 0x10106364, -1) called </font></pre>
<pre><font size="-1">su_localinfo: if lo with index 1 </font></pre>
<pre><font size="-1">su_localinfo: if lan1 with index 18 </font></pre>
<pre><font size="-1">su_localinfo: if ppp1 with index 23 </font></pre>
<pre><font size="-1">nta_leg_tcreate(0x100c7f30) </font></pre>
<pre><font size="-1">nua(0x100c6748): adding session usage </font></pre>
<pre><font size="-1">soa_init_offer_answer(static::0x100b4728) called </font></pre>
<pre><font size="-1">soa_generate_offer(static::0x100b4728, 0) called </font></pre>
<pre><font size="-1">soa_static_offer_answer_action(0x100b4728, soa_generate_offer): called </font></pre>
<pre><font size="-1">soa_static(0x100b4728, soa_generate_offer): generating local description </font></pre>
<pre><font size="-1">su_localinfo: if lo with index 1 </font></pre>
<pre><font size="-1">su_localinfo: if lan1 with index 18 </font></pre>
<pre><font size="-1">su_localinfo: if ppp1 with index 23 </font></pre>
<pre><font size="-1">soa_static(0x100b4728, soa_generate_offer): upgrade with local description </font></pre>
<pre><font size="-1">soa_sdp_mode_set(0x7dbfd850, (nil), ""): called </font></pre>
<pre><font size="-1">soa_static(0x100b4728, soa_generate_offer): storing local description </font></pre>
<pre><font size="-1">soa_get_local_sdp(static::0x100b4728, [(nil)], [0x7dbff980], [0x7dbff984]) called </font></pre>
<pre><font size="-1">nta: selecting scheme sip </font></pre>
<pre><font size="-1">sres_cache_get(0x100abfc0, NAPTR, "freephonie.net.") called </font></pre>
<pre><font size="-1">rr found in cache: freephonie.net. 35 </font></pre>
<pre><font size="-1">sres_cache_get(0x100abfc0, NAPTR, "freephonie.net.") returned 1 entries </font></pre>
<pre><font size="-1">nta: for "freephonie.net" query "freephonie.net" NAPTR (cached) </font></pre>
<pre><font size="-1">nta: freephonie.net. IN NAPTR 100 100 "s" "SIP+D2U" "" _sip_udp.freephonie.net. </font></pre>
<pre><font size="-1">sres_cache_get(0x100abfc0, SRV, "_sip_udp.freephonie.net.") called </font></pre>
<pre><font size="-1">rr found in cache: _sip_udp.freephonie.net. 33 </font></pre>
<pre><font size="-1">sres_cache_get(0x100abfc0, SRV, "_sip_udp.freephonie.net.") returned 1 entries </font></pre>
<pre><font size="-1">nta: for "freephonie.net" query "_sip_udp.freephonie.net." SRV (cached) </font></pre>
<pre><font size="-1">nta: timer set to 32000 ms </font></pre>
<pre><font size="-1">nua(0x100c6748): call state changed: init -> calling, sent offer </font></pre>
<pre><font size="-1">soa_get_local_sdp(static::0x100b4728, [0x7dbff988], [0x7dbff98c], [(nil)]) called </font></pre>
<pre><font size="-1">nua: nua_application_event: entering </font></pre>
<pre><font size="-1">nua(0x100c6748): call state changed: calling -> init </font></pre>
<pre><font size="-1">nua(0x100c6748): removing session usage </font></pre>
<pre><font size="-1">soa_destroy(static::0x100b4728) called </font></pre>
<br>
I check my dnsmasq log, and I see there is no data for SRV DNS request,
and that's the reason (I think) sofia stops.<br>
<br>
Regards<br>
<br>
Ludovic<br>
Brian West a écrit :
<blockquote
cite="mid:E12F7C63-5423-4CC0-BDFF-77DD00787ECE@freeswitch.org"
type="cite">
<pre wrap="">What I provided you was an example. I don't think you understood what
I was talking about.
In the settings for ext-sip-ip and ext-rtp-ip you'll have to use
something like "host:yourdyndnshostname.blah.tld"
Then set the sip-ip and rtp-ip to what ever is auto detected.
/b
On Mar 17, 2009, at 6:22 AM, ludovic wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Thanks.
It seems that it comes from my sip provider.
when using my_host as my hostname, reg fails
when using my_host.com as my hostname, reg succeeds (my_host.com
does not exist as a domain internet)
when using ip address, reg succeeds.
Tested with version 1.0.3
Is it a way to force the IP address to be used in SIP header instead
of hostname ?
Thanks
Ludovic
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<table>
<tbody>
<tr>
<td> <a href="http://www.bewan.com"><img
src="cid:part1.08010908.01050306@bewan.com" border="0" height="100"
width="100"></a> </td>
<td> <font color="#990000" face="Arial, Helvetica, sans-serif"
size="2"><b>Ludovic Fouquet</b></font><br>
<font color="#000000" face="Arial, Helvetica, sans-serif" size="2"><b>R&D
Engineer</b><br>
</font> <font color="#000000" face="Arial, Helvetica, sans-serif"
size="1"><br>
Tel. : + 33 (0)1 43 34 63 38<br>
Fax : + 33 (0)1 46 91 03 71<br>
Web : <a href="http://www.bewan.com">www.bewan.com</a></font> </td>
</tr>
</tbody>
</table>
</div>
</body>
</html>