Gateway not connecting

1,004 views
Skip to first unread message

Ahmed Al-Ghawas

unread,
Feb 4, 2014, 6:18:50 AM2/4/14
to as...@googlegroups.com
Dear All,

I have CentOS 6.5, latest Freeswitch and ASTPP running.

My IP is NATed and I don't have a static public IP.

I have trouble with the gateway registration as follows:

                    Name   Type                                       Data State

=================================================================================================

            192.168.15.10   alias                                   default ALIASED

                  default profile           sip:mod_...@192.168.15.10:5060 RUNNING (0)

         default::VOIP.MS gateway                 sip:167...@London.voip.ms FAIL_WAIT

         default::IPCOMMS gateway       sip:01578...@trunking.ipcomms.net FAIL_WAIT

=================================================================================================


2014-02-04 14:16:42.548534 [ERR] sofia_reg.c:2108 IPCOMMS Registration Failed with status Request Timeout [408]. failure #3

2014-02-04 14:16:42.648534 [ERR] sofia_reg.c:2108 VOIP.MS Registration Failed with status Request Timeout [408]. failure #3

2014-02-04 14:16:43.548534 [WARNING] sofia_reg.c:473 VOIP.MS Failed Registration [408], setting retry to 90 seconds.

2014-02-04 14:16:43.548534 [WARNING] sofia_reg.c:473 IPCOMMS Failed Registration [408], setting retry to 90 seconds.


I tried connecting to the gateway with a SIP client and it worked so I'm sure the credentials are correct.  

Appreciate any help 



Ahmed Al-Ghawas

unread,
Feb 10, 2014, 9:27:56 AM2/10/14
to as...@googlegroups.com
Appreciate if anyone could help. 

On Tuesday, February 4, 2014 2:18:50 PM UTC+3, Ahmed Al-Ghawas wrote:
Dear All,

I have CentOS 6.5, latest Freeswitch and ASTPP running.

My IP is NATed and I don't have a static public IP.

I have trouble with the gateway registration as follows:

                    Name   Type                                       Data State

=================================================================================================

            192.168.15.10   alias                                   default ALIASED

                  default profile           sip:mod_...@192.168.15.10:5060 RUNNING (0)

         default::VOIP.MS gateway                 sip:167...@London.voip.ms FAIL_WAIT

         default::IPCOMMS gateway       sip:0157893158@trunking.ipcomms.net FAIL_WAIT

=================================================================================================

Samir Doshi

unread,
Feb 10, 2014, 9:45:45 AM2/10/14
to as...@googlegroups.com
Please enable aggressive-nat option in sip profile and check.
If still not work then capture sip log and send.


Thanks,
Samir Doshi
--
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/6b6ce293-4e47-40e3-b429-c97432969af3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Message has been deleted

Ahmed Al-Ghawas

unread,
Feb 10, 2014, 4:04:18 PM2/10/14
to as...@googlegroups.com, sa...@astpp.org
I tried adding aggressive-nat to sofia but no luck.   The gateway "voip" was created through ASTPP and I have enabled and loaded all curl, cdr, and perl xml modules.

One thing you may want to know is that I tried creating an astpp.xml file under sip_profiles/external (before turning on curl, cd, and perl) and the same gateway came up!

I also notice that after running the curl, cdr, and perl that any files under sip_profile were ignored. Is that normal?

Here's the sip traces as requested for registration of the gateway:

freeswitch@fs1> sofia status

                     Name   Type                                       Data State

=================================================================================================

            192.168.15.10   alias                                   default ALIASED

                  default profile           sip:mod_...@192.168.15.10:5060 RUNNING (0)

            default::voip gateway                 sip:167...@london.voip.ms FAIL_WAIT

=================================================================================================

1 profile 1 alias


2014-02-10 15:45:12.504829 [NOTICE] sofia_reg.c:418 Registering voip

send 537 bytes to udp/[5.77.36.136]:5060 at 20:45:12.508893:

   ------------------------------------------------------------------------

   REGISTER sip:london.voip.ms;transport=udp SIP/2.0

   Via: SIP/2.0/UDP 192.168.15.10;rport;branch=z9hG4bKgUQvBjDa7Dcrr

   Max-Forwards: 70

   From: <sip:167...@london.voip.ms>;tag=H8cj6253g9BNg

   To: <sip:167...@london.voip.ms>

   Call-ID: 169bce14-9294-11e3-abdb-5f6e6f29597a

   CSeq: 55696492 REGISTER

   Contact: <sip:gw+...@192.168.15.10:5060;transport=udp;gw=voip>

   Expires: 3600

   User-Agent: ASTPP

   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY

   Supported: precondition, path, replaces

   Content-Length: 0

   


Thanks,
Ahmed

On Monday, February 10, 2014 5:45:45 PM UTC+3, Samir Doshi wrote:
Please enable aggressive-nat option in sip profile and check.
If still not work then capture sip log and send.


Thanks,
Samir Doshi
On 02/10/2014 07:57 PM, Ahmed Al-Ghawas wrote:
Appreciate if anyone could help. 

On Tuesday, February 4, 2014 2:18:50 PM UTC+3, Ahmed Al-Ghawas wrote:
Dear All,

I have CentOS 6.5, latest Freeswitch and ASTPP running.

My IP is NATed and I don't have a static public IP.

I have trouble with the gateway registration as follows:

                    Name   Type                                       Data State

=================================================================================================

            192.168.15.10   alias                                   default ALIASED

                  default profile           sip:mod_...@192.168.15.10:5060 RUNNING (0)

         default::VOIP.MS gateway                 sip:1...@London.voip.ms FAIL_WAIT

         default::IPCOMMS gateway       sip:015...@trunking.ipcomms.net FAIL_WAIT

=================================================================================================


2014-02-04 14:16:42.548534 [ERR] sofia_reg.c:2108 IPCOMMS Registration Failed with status Request Timeout [408]. failure #3

2014-02-04 14:16:42.648534 [ERR] sofia_reg.c:2108 VOIP.MS Registration Failed with status Request Timeout [408]. failure #3

2014-02-04 14:16:43.548534 [WARNING] sofia_reg.c:473 VOIP.MS Failed Registration [408], setting retry to 90 seconds.

2014-02-04 14:16:43.548534 [WARNING] sofia_reg.c:473 IPCOMMS Failed Registration [408], setting retry to 90 seconds.


I tried connecting to the gateway with a SIP client and it worked so I'm sure the credentials are correct.  

Appreciate any help 



Samir Doshi

unread,
Feb 11, 2014, 12:09:25 AM2/11/14
to as...@googlegroups.com
Yeah astpp will overall all default gateways and sip profiles.

Can you please change gateway name voip gateway to voip_gateway? and also try to ping gateway domain from server and see if its getting response or not.

If everything ok then send me full sip log.


Thanks,
Samir Doshi

Ahmed Al-Ghawas

unread,
Feb 11, 2014, 12:27:15 AM2/11/14
to as...@googlegroups.com, sa...@astpp.org
Did that but didn’t work.

freeswitch@fs1> sofia status
                     Name    Type                                       Data State
=================================================================================================
            192.168.15.10   alias                                    default ALIASED
                  default profile           sip:mod_...@192.168.15.10:5060 RUNNING (0)
    default::voip_gateway gateway                  sip:167...@london.voip.ms TRYING (retry: 7s)
=================================================================================================
1 profile 1 alias

2014-02-11 00:20:55.844830 [ERR] sofia_reg.c:2264 voip_gateway Registration Failed with status Request Timeout [408]. failure #1
2014-02-11 00:20:56.524829 [WARNING] sofia_reg.c:473 voip_gateway Failed Registration [408], setting retry to 30 seconds.
2014-02-11 00:21:27.524829 [NOTICE] sofia_reg.c:418 Registering voip_gateway
2014-02-11 00:21:59.524830 [ERR] sofia_reg.c:2264 voip_gateway Registration Failed with status Request Timeout [408]. failure #2
2014-02-11 00:21:59.524830 [WARNING] sofia_reg.c:473 voip_gateway Failed Registration [408], setting retry to 60 seconds.

PING london.voip.ms (5.77.36.136) 56(84) bytes of data.
64 bytes from london1.voip.ms (5.77.36.136): icmp_seq=1 ttl=50 time=109 ms
64 bytes from london1.voip.ms (5.77.36.136): icmp_seq=2 ttl=50 time=112 ms

Can you please tell me where I can get the sip logs from?

Thanks,
Ahmed

Ahmed Al-Ghawas

unread,
Feb 11, 2014, 1:04:36 AM2/11/14
to as...@googlegroups.com, sa...@astpp.org
Hi Samir,

I have attached the logs as requested.

Thanks,
Ahmed
logs.txt
Reply all
Reply to author
Forward
0 new messages