[Freeswitch-users] 407 undefined? sip port 5060

Rodney notlikeme75 at yahoo.com
Sat Jan 7 20:41:17 MSK 2012


Vitalie,

I asked my provider to switch up to port 5080 and everything is negotiating perfectly. thanks for your help.




________________________________
 From: "freeswitch-users-request at lists.freeswitch.org" <freeswitch-users-request at lists.freeswitch.org>
To: freeswitch-users at lists.freeswitch.org 
Sent: Friday, January 6, 2012 11:54 PM
Subject: FreeSWITCH-users Digest, Vol 67, Issue 58
 
----- Forwarded Message -----

Send FreeSWITCH-users mailing list submissions to
    freeswitch-users at lists.freeswitch.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
    freeswitch-users-request at lists.freeswitch.org

You can reach the person managing the list at
    freeswitch-users-owner at lists.freeswitch.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."

Today's Topics:

   1. 407 undefined? sip port 5060 (Rodney)
   2.  Why database is locked? (Valery Kalinin)
   3. Re: Why database is locked? (Ken Rice)
   4. Re: 407 undefined? sip port 5060 (Vitalie Colosov)

I currently have external profile ipkall working on port 5080 but now i am testing RNK carrier services and they are sending to me on port 5060. I do not notice anything on the console but they are saying they are sending to my server and getting this response: 

2012-01-06 21:52:46.0 000000000   614???????      6174530953 (          DID-IN:RNK) (H1 usinteractive-nextdi)   407       undefined 




I have the following gateway setup in C:\Program Files\FreeSWITCH\conf\sip_profiles\external


<include>
    <gateway name="RNK_Test">
      <param name="username" value="superadmin"/>
      <param name="password" value="fusionpbx"/>
      <param name="proxy" value="76.181.53.231:5060"/>
      <param name="expire-seconds" value="800"/>
      <param name="register" value="false"/>
      <param name="retry-seconds" value="60"/>
      <param name="context" value="default"/>
    </gateway>
</include>

It is exactly the same as my IPkall except for the gateway name and proxy port. How do I make sure I can accept on this port. Is there somewhere else I need to be adding this 5060 port information.

thank you.


> Are you running the latest version of FS?

FreeSWITCH Version 1.0.head (git-4cd616c 2011-12-15 23-36-20 -0500)

> Also are you doing anything externally to mess with the sql db files?

No.

> Another possibility is a slow filesystem, we used to have people get this
problem on suse linux.

CentOS release 5.5 (Final)

> You could try running your db dir in a ramdisk.

These problems appeared after the upgrade version of FS.


Thank you in advance...

Re: [Freeswitch-users]  Why database is locked? 
Blow away all the files in freeswitch/db and restart freeswitch

Save the voicemail.db file if you don’t wanna lose all the voicemails and give that a try.

That will force a reset of the all the databases and should clear any errors... 


On 1/6/12 10:00 PM, "Valery Kalinin" <valery.kalinin at gmail.com> wrote:


> Are you running the latest version of FS?
>
>FreeSWITCH Version 1.0.head (git-4cd616c 2011-12-15 23-36-20 -0500)
>
>> Also are you doing anything externally to mess with the sql db files?
>
>No.
>
>> Another possibility is a slow filesystem, we used to have people get this
>problem on suse linux.
>
>CentOS release 5.5 (Final)
>
>> You could try running your db dir in a ramdisk.
>
>These problems appeared after the upgrade version of FS.
>
>
>Thank you in advance...
>
>>________________________________
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
>
>
>
>
>Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://wiki.freeswitch.org
>http://www.cluecon.com
>
>FreeSWITCH-users mailing list
>FreeSWITCH-users at lists.freeswitch.org
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>http://www.freeswitch.org
>
Ask your provider to send sip packets to 5080, instead of 5060.
Every good provider should allow you to select the port YOU want, and not THEY want.

If it will not help, then you need to make external profile listen to 5060, instead of 5080.
So, you will be sending and receiving sip messages between you and provider, using port 5060 (which is usually used only for your internal profile and your clients).

To change this, you need to modify conf/sip_profiles/external.xml
<param name="sip-port" value="5080"/> replace to "5060"

In this case, you will have to reconfigure internal profile to be on a different port, say 5062, and ask your clients to add :5062 to the sip server address when they configure their softphone/sip adapter.

Maybe another option would be to consider provider as one of your internal clients, and allow password-less communication from his IP, but this is way too crazy to consider as a good option.

Vitalie






2012/1/6 Rodney <notlikeme75 at yahoo.com>

I currently have external profile ipkall working on port 5080 but now i am testing RNK carrier services and they are sending to me on port 5060. I do not notice anything on the console but they are saying they are sending to my server and getting this response: 
>
>
>2012-01-06 21:52:46.0 000000000   614???????      6174530953 (          DID-IN:RNK) (H1 usinteractive-nextdi)   407       undefined 
>
>
>
>
>
>
>
>I have the following gateway setup in C:\Program Files\FreeSWITCH\conf\sip_profiles\external
>
>
>
>
><include>
>    <gateway name="RNK_Test">
>      <param name="username" value="superadmin"/>
>      <param name="password" value="fusionpbx"/>
>      <param name="proxy" value="76.181.53.231:5060"/>
>      <param name="expire-seconds" value="800"/>
>      <param name="register" value="false"/>
>      <param name="retry-seconds" value="60"/>
>      <param name="context" value="default"/>
>    </gateway>
></include>
>
>
>It is exactly the same as my IPkall except for the gateway name and proxy port. How do I make sure I can accept on this port. Is there somewhere else I need to be adding this 5060 port information.
>
>
>thank you.
>
>
>
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
>
>
>
>
>Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://wiki.freeswitch.org
>http://www.cluecon.com
>
>FreeSWITCH-users mailing list
>FreeSWITCH-users at lists.freeswitch.org
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>http://www.freeswitch.org
>
>

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120107/bb7cea62/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list