<!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.3354" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN class=937340117-28072008>I
have two users 1000 and 2001. The first is in the same network as FS. The second
is in another network.</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN class=937340117-28072008>I am
trying to :</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008>1000->NAT->internet->NAT->2001</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN class=937340117-28072008>Both
users can call PSTN. I can call 2001->1000. When I try to cal 1000->2001
it reachs the configured gateway and I get invalid number. Below are the console
outputs. Does anybody know what could be wrong ?</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008>thanks</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN class=937340117-28072008>Jair
Santos</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN class=937340117-28072008>1-
Calling 2001->1000</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2>2008-07-28 09:59:29 [NOTICE]
switch_channel.c:534 switch_channel_set_name() New Channel <A
href="mailto:sofia/internal/1000@192.168.1.117">sofia/internal/1000@192.168.1.117</A>
[15f1d32c-1f5d-4b8d-a795-825ecd980b95]<BR>2008-07-28 09:59:29 [INFO]
mod_dialplan_xml.c:222 dialplan_hunt() Processing
Cliconnect->2001@default<BR>2008-07-28 09:59:29 [NOTICE] switch_channel.c:534
switch_channel_set_name() New Channel sofia/external/2001
[01c73138-db8f-48a5-8c03-21b15806196e]<BR>2008-07-28 09:59:30 [NOTICE]
sofia.c:2491 sofia_handle_sip_i_state() Channel [sofia/external/2001] has been
answered<BR>2008-07-28 09:59:30 [NOTICE] switch_ivr_originate.c:1298
switch_ivr_originate() Channel [sofia/internal/1000@192.168.1.117] has been
answered<BR>2008-07-28 09:59:34 [NOTICE] sofia.c:2545 sofia_handle_sip_i_state()
Hangup <A
href="mailto:sofia/internal/1000@192.168.1.117">sofia/internal/1000@192.168.1.117</A>
[CS_EXECUTE] [NORMAL_CLEARING]<BR>2008-07-28 09:59:34 [NOTICE]
switch_ivr_bridge.c:382 audio_bridge_on_exchange_media() Hangup
sofia/external/2001 [CS_RESET] [NORMAL_CLEARING]<BR>2008-07-28 09:59:34 [NOTICE]
switch_core_session.c:807 switch_core_session_thread() Session 8
(sofia/external/2001) Ended<BR>2008-07-28 09:59:34 [NOTICE]
switch_core_session.c:809 switch_core_session_thread() Close Channel
sofia/external/2001 [CS_HANGUP]<BR>2008-07-28 09:59:34 [NOTICE]
switch_core_session.c:807 switch_core_session_thread() Session 7 (<A
href="mailto:sofia/internal/1000@192.168.1.117">sofia/internal/1000@192.168.1.117</A>)
Ended<BR>2008-07-28 09:59:34 [NOTICE] switch_core_session.c:809
switch_core_session_thread() Close Channel <A
href="mailto:sofia/internal/1000@192.168.1.117">sofia/internal/1000@192.168.1.117</A>
[CS_HANGUP]</FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008>2-Calling 1000->2001</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#000080 size=2><SPAN
class=937340117-28072008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#000080 size=2>2008-07-28 10:27:20 [INFO]
mod_dialplan_xml.c:222 dialplan_hunt() Processing
FreeSwitch->1000@default<BR>2008-07-28 10:27:20 [INFO]
switch_ivr_async.c:1481 switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 1
execute_extension::dx XML features<BR>2008-07-28 10:27:20 [INFO]
switch_ivr_async.c:1481 switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 2
record_session::/usr/local/freeswitch/recordings/2001.2008-07-28-10-27-20.wav<BR>2008-07-28
10:27:20 [INFO] switch_ivr_async.c:1481 switch_ivr_bind_dtmf_meta_session()
Bound B-Leg: 3 execute_extension::cf XML features<BR>2008-07-28 10:27:20
[NOTICE] switch_channel.c:534 switch_channel_set_name() New Channel <A
href="mailto:sofia/internal/1000@192.168.1.105;user=phone">sofia/internal/1000@192.168.1.105;user=phone</A>
[5de50898-165d-408b-ba90-ae12c44a6b89]<BR>2008-07-28 10:27:20 [NOTICE]
sofia.c:2167 sofia_handle_sip_i_state() Ring-Ready <A
href="mailto:sofia/internal/1000@192.168.1.105;user=phone">sofia/internal/1000@192.168.1.105;user=phone</A>!<BR>2008-07-28
10:27:20 [NOTICE] mod_sofia.c:1058 sofia_receive_message() Ring-Ready <A
href="mailto:sofia/doublenat/2001@24.67.78.200:5090">sofia/doublenat/2001@24.67.78.200:5090</A>!<BR>2008-07-28
10:27:20 [NOTICE] switch_ivr_originate.c:1148 switch_ivr_originate() Ring Ready
<A
href="mailto:sofia/doublenat/2001@24.67.78.200:5090">sofia/doublenat/2001@24.67.78.200:5090</A>!<BR>2008-07-28
10:27:23 [NOTICE] sofia.c:2545 sofia_handle_sip_i_state() Hangup <A
href="mailto:sofia/doublenat/2001@24.67.78.200:5090">sofia/doublenat/2001@24.67.78.200:5090</A>
[CS_EXECUTE] [ORIGINATOR_CANCEL]<BR>2008-07-28 10:27:23 [NOTICE]
switch_ivr_originate.c:1277 switch_ivr_originate() Hangup <A
href="mailto:sofia/internal/1000@192.168.1.105;user=phone">sofia/internal/1000@192.168.1.105;user=phone</A>
[CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]<BR>2008-07-28 10:27:23 [ERR]
switch_ivr_originate.c:926 switch_ivr_originate() Cannot create outgoing channel
of type [user] cause: [ORIGINATOR_CANCEL]<BR>2008-07-28 10:27:23 [INFO]
mod_dptools.c:1789 audio_bridge_function() Originate Failed. Cause:
ORIGINATOR_CANCEL<BR>2008-07-28 10:27:23 [NOTICE] switch_core_session.c:807
switch_core_session_thread() Session 9 (<A
href="mailto:sofia/doublenat/2001@24.67.78.200:5090">sofia/doublenat/2001@24.67.78.200:5090</A>)
Ended<BR>2008-07-28 10:27:23 [NOTICE] switch_core_session.c:807
switch_core_session_thread() Session 10 (<A
href="mailto:sofia/internal/1000@192.168.1.105;user=phone">sofia/internal/1000@192.168.1.105;user=phone</A>)
Ended<BR>2008-07-28 10:27:23 [NOTICE] switch_core_session.c:809
switch_core_session_thread() Close Channel <A
href="mailto:sofia/internal/1000@192.168.1.105;user=phone">sofia/internal/1000@192.168.1.105;user=phone</A>
[CS_HANGUP]<BR>2008-07-28 10:27:23 [NOTICE] switch_core_session.c:809
switch_core_session_thread() Close Channel <A
href="mailto:sofia/doublenat/2001@24.67.78.200:5090">sofia/doublenat/2001@24.67.78.200:5090</A>
[CS_HANGUP]<BR></DIV>
<DIV><BR></DIV></FONT>
<DIV> </DIV>
<DIV class=Section1>
<DIV align=left><FONT face=Tahoma color=#000080 size=2>API CALL [sofia(status)]
output:<BR>
Name
Type
Data
State<BR>=================================================================================================<BR>
internal profile
sip:mod_sofia@192.168.1.117:5060 RUNNING
(0)<BR>
nat profile
sip:mod_sofia@24.67.78.200:5070 RUNNING
(0)<BR>
default
alias
internal
ALIASED<BR>
internal2 profile
sip:mod_sofia@24.67.78.200:5061 RUNNING
(0)<BR>
external profile
sip:mod_sofia@24.67.78.200:5080 RUNNING
(0)<BR>
inphonex
gateway
sip:3462101@sip.varphonex.com
REGED<BR>
192.168.1.117
alias
internal
ALIASED<BR>
outbound
alias
external
ALIASED<BR>
doublenat profile
sip:mod_sofia@24.67.78.200:5090 RUNNING
(0)<BR>=================================================================================================<BR></FONT></DIV>
<P class=MsoNormal> </P></DIV>
<DIV> </DIV></BODY></HTML>