AWAITING FEEDBACK Uninstall Travelin' Man 2

vincer12

New Member
Joined
Sep 15, 2008
Messages
12
Reaction score
1
After installing the traveling man 3 on my server, traveling man 2 installed also.
is there a way to delete traveling man 2 with out reinstalling? Everything works from home but as soon as I leave home my sip phone doesn't register with the server. However I can still ssh into the server from a public IP so i was wondering if that meant that something else might be wrong instead. Thanks
 

vincer12

New Member
Joined
Sep 15, 2008
Messages
12
Reaction score
1
Awesome Thanks Ward! I just want to say that you guys are great and I greatly appreciate all the hard work you and your team have put into the PIAF software!
 

vincer12

New Member
Joined
Sep 15, 2008
Messages
12
Reaction score
1
Hi Ward and team, I tried the solution at the link, commenting out everything in the sip_custom.conf file and changed the extentions to 0.0.0.0/0.0.0.0 and even when I issued the command $ cat vince.iptables the fqdn and the correct ip are listed with a space, but I still couldnt connect outside my lan. Also I forgot to mention this is a digital ocean droplet (sandbox) so I got frustrated and destroyed the droplet and started over. This time I hit control c and did not install traveling man 2 during the install process. I setup the traveling man 3 files with $add-fqdn for the phones and ipad:
root@VRPIAF512:~ $ cat vince.iptables
myfqdnxxxx.dyndns.xx 172.56.8.xxx
And the entries look correct with a space.
Also edited the ipchecker :root@VRPIAF512:~ $ cat ipchecker
#!/bin/bash

# Insert the account filenames to be checked below
# Remember to increment the account[#] for new entries

account[0]=vince.iptables
account[1]=gina.iptables
account[2]=ipad.iptables
When ever I disconnect from my lan I cant connect to the server and I have the dyn client updater running on my phone, I can open it and see that it has updated but when I use $cat vince.iptables and see the ip is not correct with the updater. So Im wondering if my crontab edit was incorrect:
0 0 * * * root /var/lib/asterisk/agi-bin/run_recurring >/dev/null 2>&1
1 0 * * * root rm -f /var/lib/asterisk/sounds/tts/tts* >/dev/null 2>&1
2 0 * * * asterisk /var/lib/asterisk/agi-bin/nv-today.php >/dev/null 2>&1
3 0 * * * root /var/lib/asterisk/agi-bin/run_reminders >/dev/null 2>&1
*/3 * * * * root /root/ipchecker > /dev/null
Hope this was the correct information to give, and not to much. Didnt mean to write a book, thanks.
 

vincer12

New Member
Joined
Sep 15, 2008
Messages
12
Reaction score
1
The crontab is correct because I can trun off my wifi on the phone and wait just over 3 minutes and run the command $cat vince.iptables it has the updated ip. So Im not sure why it doesnt connect outside of my home lan? Any Ideas would be great thanks?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Issue the command: iptables -nL

Does it show the IP address of your phone when running without WiFi enabled??
 

vincer12

New Member
Joined
Sep 15, 2008
Messages
12
Reaction score
1
Hi Ward,
I ran the command and Yes it does list the updated or public IP when I turn off the wifi on the phone.
Thank you!
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Try turning off iptables momentarily and see if you can register. What does Asterisk CLI show with iptables on and off??

service iptables stop

Don't forget to restart iptables!

service iptables start
 

vincer12

New Member
Joined
Sep 15, 2008
Messages
12
Reaction score
1
I didnt get anything in the CLI either time. Could it be that my cell phone service provider is blocking it on their network? Becuase as soon as I turn on my wifi, on the phone it connects and you and see it in the Asterisk CLI.

iptables on:
root@VRPIAF512:~ $ asterisk -rvvvvvvvvvv
Asterisk 11.8.1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.8.1 currently running on VRPIAF512 (pid = 1581)
VRPIAF512*CLI>

iptables off:
root@VRPIAF512:~ $ asterisk -rvvvvvvvvvv
Asterisk 11.8.1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.8.1 currently running on VRPIAF512 (pid = 1581)
VRPIAF512*CLI>

Wifi ON:
-- Registered SIP '701' at xx.8.217.x:59591
[2014-04-24 17:22:34] NOTICE[1620]: chan_sip.c:23569 handle_response_peerpoke: Peer '701' is now Reachable. (141ms / 2000ms)
Wifi Off:
[2014-04-24 17:26:27] NOTICE[1620]: chan_sip.c:29497 sip_poke_noanswer: Peer '701' is now UNREACHABLE! Last qualify: 56
Thanks
 

vincer12

New Member
Joined
Sep 15, 2008
Messages
12
Reaction score
1
I have T -mobile.
Can you recommend a good android sip phone? Thanks for all your help!
 

Members online

No members online now.

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top