<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff size=2>Thank
you Brian,</FONT></SPAN></DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma><FONT color=#0000ff
size=2>I ran FS with TPORT_LOG=1 ./freeswitch as you said and I got the output
below:</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff size=2>Note
that 3462101 is the DID provider username so it seems to me that the invitation
is going to the right place.</FONT></SPAN></DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff
size=2>In one part of the output there is- Processing
Unknown->3462101@public - so I think it is trying to reach this username as
if it was a FS registered extension in the public profile, and
this is not the case.</FONT></SPAN></DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff size=2>Am I
thinking right ?</FONT></SPAN></DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687255619-15092008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687255619-15092008><A href="mailto:freeswitch@maui"><FONT
face=Tahoma size=2>freeswitch@maui</FONT></A><FONT face=Tahoma color=#000080
size=2>> recv 995 bytes from udp/[208.239.76.169]:5060 at
19:51:09.809597:<BR>
------------------------------------------------------------------------<BR>
INVITE sip:3462101@24.67.78.200:5080;transport=udp SIP/2.0<BR> Via:
SIP/2.0/UDP
208.239.76.169:5060;branch=z9hG4bKrsqhv3rnbmpm7tkc71v7va10j6<BR>
CSeq: 1 INVITE<BR> Call-ID:
SDn17k701-7b10910a30ef844aaa5223619da54b89-gurpkk2<BR> Supported:
replaces<BR> From: Unknown
<sip:551133015337@216.143.130.65>;tag=SDn17k701-05eafc8d<BR>
Content-Type: application/sdp<BR> Allow: INVITE<BR>
X-DID: 3105266066<BR> X-UUID:
d5b75aa4287441c7ba85adcc573d5b6a<BR> To:
<sip:3462101-g471esoujgor0@10.0.5.66:5060;useradd=24.67.78.200;userport=5080;transport=udp><BR>
Contact:
<sip:208.239.76.169:5060;transport=udp;wlsscid=1ae4691c270666;appsessionid=app-13xszycpvbbhq><BR>
Content-Length: 337<BR> Max-Forwards: 69<BR>
<BR> v=0<BR> o=root 21292 21292 IN IP4
216.143.130.65<BR> s=session<BR> c=IN IP4
216.143.130.65<BR> t=0 0<BR> m=audio 9758 RTP/AVP 0 8 18
3 101<BR> a=rtpmap:0 PCMU/8000<BR> a=rtpmap:8
PCMA/8000<BR> a=rtpmap:18 G729/8000<BR> a=fmtp:18
annexb=no<BR> a=rtpmap:3 GSM/8000<BR> a=rtpmap:101
telephone-event/8000<BR> a=fmtp:101 0-16<BR>
a=silenceSupp:off - - - -<BR> a=ptime:20<BR>
a=sendrecv<BR>
------------------------------------------------------------------------<BR>send
415 bytes to udp/[208.239.76.169]:5060 at 19:51:09.809999:<BR>
------------------------------------------------------------------------<BR>
SIP/2.0 100 Trying<BR> Via: SIP/2.0/UDP
208.239.76.169:5060;branch=z9hG4bKrsqhv3rnbmpm7tkc71v7va10j6<BR>
From: Unknown
<sip:551133015337@216.143.130.65>;tag=SDn17k701-05eafc8d<BR>
To:
<sip:3462101-g471esoujgor0@10.0.5.66:5060;useradd=24.67.78.200;userport=5080;transport=udp><BR>
Call-ID: SDn17k701-7b10910a30ef844aaa5223619da54b89-gurpkk2<BR>
CSeq: 1 INVITE<BR> User-Agent:
FreeSWITCH-mod_sofia/1.0.1-exported<BR> Content-Length:
0<BR> <BR>
------------------------------------------------------------------------<BR>2008-09-15
12:51:09 [NOTICE] switch_channel.c:534 switch_channel_set_name() New Channel
</FONT><A href="mailto:sofia/external/551133015337@216.143.130.65"><FONT
face=Tahoma size=2>sofia/external/551133015337@216.143.130.65</FONT></A><FONT
face=Tahoma color=#000080 size=2>
[356d24c1-37f5-4af6-b911-7d130001a7bd]<BR>2008-09-15 12:51:09 [INFO]
mod_dialplan_xml.c:222 dialplan_hunt() Processing
Unknown->3462101@public<BR>2008-09-15 12:51:09 [WARNING]
mod_dialplan_xml.c:252 dialplan_hunt() context public not found<BR>2008-09-15
12:51:09 [INFO] switch_core_state_machine.c:114
switch_core_standard_on_routing() No Route, Aborting<BR>2008-09-15 12:51:09
[NOTICE] switch_core_state_machine.c:115 switch_core_standard_on_routing()
Hangup </FONT><A href="mailto:sofia/external/551133015337@216.143.130.65"><FONT
face=Tahoma size=2>sofia/external/551133015337@216.143.130.65</FONT></A><FONT
face=Tahoma color=#000080 size=2> [CS_ROUTING] [NO_ROUTE_DESTINATION]<BR>send
696 bytes to udp/[208.239.76.169]:5060 at 19:51:09.966296:<BR>
------------------------------------------------------------------------<BR>
SIP/2.0 404 Not Found<BR> Via: SIP/2.0/UDP
208.239.76.169:5060;branch=z9hG4bKrsqhv3rnbmpm7tkc71v7va10j6<BR>
From: Unknown
<sip:551133015337@216.143.130.65>;tag=SDn17k701-05eafc8d<BR>
To:
<sip:3462101-g471esoujgor0@10.0.5.66:5060;useradd=24.67.78.200;userport=5080;transport=udp>;tag=9XZ4vc3DeNpvp<BR>
Call-ID: SDn17k701-7b10910a30ef844aaa5223619da54b89-gurpkk2<BR>
CSeq: 1 INVITE<BR> User-Agent:
FreeSWITCH-mod_sofia/1.0.1-exported<BR> Accept:
application/sdp<BR> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK,
MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO<BR>
Supported: 100rel, timer, precondition, path, replaces<BR>
Allow-Events: talk<BR> Reason:
Q.850;cause=3;text="NO_ROUTE_DESTINATION"<BR> Content-Length:
0<BR> <BR>
------------------------------------------------------------------------<BR>2008-09-15
12:51:09 [NOTICE] switch_core_session.c:807 switch_core_session_thread() Session
1 (</FONT><A href="mailto:sofia/external/551133015337@216.143.130.65"><FONT
face=Tahoma size=2>sofia/external/551133015337@216.143.130.65</FONT></A><FONT
face=Tahoma color=#000080 size=2>) Ended<BR>2008-09-15 12:51:09 [NOTICE]
switch_core_session.c:809 switch_core_session_thread() Close Channel </FONT><A
href="mailto:sofia/external/551133015337@216.143.130.65"><FONT face=Tahoma
size=2>sofia/external/551133015337@216.143.130.65</FONT></A><FONT face=Tahoma
color=#000080 size=2> [CS_HANGUP]<BR>recv 418 bytes from
udp/[208.239.76.169]:5060 at 19:51:10.069046:<BR>
------------------------------------------------------------------------<BR>
ACK sip:3462101@24.67.78.200:5080;transport=udp SIP/2.0<BR> Via:
SIP/2.0/UDP
208.239.76.169:5060;branch=z9hG4bKrsqhv3rnbmpm7tkc71v7va10j6<BR>
From: Unknown
<sip:551133015337@216.143.130.65>;tag=SDn17k701-05eafc8d<BR>
To:
<sip:3462101-g471esoujgor0@10.0.5.66:5060;useradd=24.67.78.200;userport=5080;transport=udp>;tag=9XZ4vc3DeNpvp<BR>
Call-ID: SDn17k701-7b10910a30ef844aaa5223619da54b89-gurpkk2<BR>
CSeq: 1 ACK<BR> Content-Length: 0<BR> <BR>
------------------------------------------------------------------------</FONT><BR></SPAN></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV class=Section1>
<DIV align=left>
<TABLE
style="WIDTH: 6.25in; mso-cellspacing: 0in; mso-table-anchor-vertical: paragraph; mso-table-anchor-horizontal: column; mso-table-left: left; mso-padding-alt: 0in 0in 0in 0in"
height=126 cellSpacing=0 cellPadding=0 width=600 align=left border=0>
<TBODY>
<TR>
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #99cce6 0.75pt solid; PADDING-LEFT: 7.5pt; BACKGROUND: #99cce6; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; WIDTH: 131.25pt; PADDING-TOP: 0in; BORDER-BOTTOM: medium none"
width=175>
<P class=MsoNormal style="LINE-HEIGHT: 11.25pt"><SPAN
style="FONT-SIZE: 8.5pt; COLOR: #333333; FONT-FAMILY: Arial"><STRONG>Jair
Santos</STRONG><BR>Software Engineer<BR><A
href="http://www.cliconnect.com/" target=nw><B>Cliconnect Internet
Telephony</B><BR></A><A href="http://maps.google.com/maps?q=&hl=en"
target=nw></A><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P></TD>
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #99cce6 0.75pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #99cce6 0.75pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<P class=MsoNormal style="LINE-HEIGHT: 11.25pt"><SPAN
style="FONT-SIZE: 8.5pt; COLOR: #333333; FONT-FAMILY: Arial"><IMG
id=_x0000_i1025 height=130
src="http://www.linkedin.com/img/signature/pic_plastic_cool_26x130.gif"
width=26 border=0><o:p></o:p></SPAN></P></TD>
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #99cce6 0.75pt solid; PADDING-LEFT: 15pt; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<P class=MsoNormal style="LINE-HEIGHT: 11.25pt"><B><SPAN
style="FONT-SIZE: 8.5pt; COLOR: #333333; FONT-FAMILY: Arial">Brazil:</SPAN></B><SPAN
style="FONT-SIZE: 8.5pt; COLOR: #333333; FONT-FAMILY: Arial">
01155-11-3301-5337<BR><B>USA:</B> (310)526-6066<BR></SPAN></P></TD>
<TD
style="BORDER-RIGHT: #99cce6 0.75pt solid; PADDING-RIGHT: 7.5pt; BORDER-TOP: #99cce6 0.75pt solid; PADDING-LEFT: 7.5pt; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt; LINE-HEIGHT: 11.25pt"><SPAN
style="FONT-SIZE: 8.5pt; COLOR: #333333; FONT-FAMILY: Arial"><IMG
id=_x0000_i1027 height=59 src="cid:687255619@15092008-1325" width=105
border=0><o:p></o:p></SPAN></P></TD></TR>
<TR>
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #99cce6 0.75pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 1.5pt; BORDER-BOTTOM: medium none"
colSpan=2>
<P class=MsoNormal> <SPAN
style="FONT-SIZE: 7.5pt; COLOR: #333333; FONT-FAMILY: Arial"><o:p></o:p></SPAN></P></TD>
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #99cce6 0.75pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 1.5pt; BORDER-BOTTOM: medium none"
colSpan=2>
<P class=MsoNormal style="TEXT-ALIGN: right" align=right> <SPAN
style="FONT-SIZE: 7.5pt; COLOR: #333333; FONT-FAMILY: Arial"><o:p></o:p></SPAN></P></TD></TR></TBODY></TABLE></DIV>
<P class=MsoNormal> </P></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <B>On Behalf Of
</B>Brian West<BR><B>Sent:</B> Monday, September 15, 2008 10:33
AM<BR><B>To:</B> freeswitch-users@lists.freeswitch.org<BR><B>Subject:</B> Re:
[Freeswitch-users] DID not working<BR><BR></FONT></DIV><BR>
<DIV>
<DIV>On Sep 15, 2008, at 12:26 PM, Jair Santos wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; 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><FONT face=Tahoma color=#000080 size=2><SPAN
class=078562117-15092008>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=078562117-15092008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN class=078562117-15092008>I
am trying to use a DID so I included the following on
d</SPAN></FONT><SPAN class=078562117-15092008><FONT face=Tahoma
color=#000080 size=2>ialplan/public.xml</FONT></SPAN></DIV>
<DIV><SPAN class=078562117-15092008></SPAN><SPAN
class=078562117-15092008></SPAN><SPAN class=078562117-15092008><FONT
face=Tahoma color=#000080 size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2> <extension
name="inphonex_DID"><BR> <condition
field="destination_number"
expression="13105266066"><BR>
<action application="transfer" data="1001 XML
default"/><BR>
</condition><BR>
</extension></FONT></SPAN></DIV></SPAN></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Chances are the DID is sent into you without the 1 at the beginning.
</DIV>
<DIV><BR></DIV>
<DIV>Try this</DIV>
<DIV><BR></DIV>
<DIV>TPORT_LOG=1 ./freeswitch</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>See what you can tell is going on. Also "console loglevel debug"
and see if maybe it prints out what is going on.</DIV>
<DIV><BR></DIV><BR>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; 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><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2>Here is the sofia status</FONT></SPAN></DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2> sofia status<BR>API CALL [sofia(status)]
output:<BR>
Name
Type
Data
State<BR>=================================================================================================<BR>
internal profile sip:<A
href="mailto:mod_sofia@192.168.1.117">mod_sofia@192.168.1.117</A>:5060
RUNNING
(0)<BR>
external profile
sip:<A
href="mailto:mod_sofia@24.67.78.200">mod_sofia@24.67.78.200</A>:5080
RUNNING
(0)<BR>
inphonex
gateway sip:<A
href="mailto:3462101@sip.varphonex.com">3462101@sip.varphonex.com</A>
REGED<BR>
nat profile sip:<A
href="mailto:mod_sofia@24.67.78.200">mod_sofia@24.67.78.200</A>:5070
RUNNING
(0)<BR>
default
alias
internal
ALIASED<BR>
voipclic.com
alias
internal
ALIASED<BR>
outbound
alias
external
ALIASED<BR>=================================================================================================<BR>3
profiles 3 aliases<BR></FONT></SPAN></DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2>When I call the DID the extension 1001 does not
ring.</FONT></SPAN></DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2>Any help will be very much appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2>thanks</FONT></SPAN></DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078562117-15092008><FONT face=Tahoma color=#000080
size=2>Jair
Santos</FONT></SPAN></DIV></SPAN></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>