TRY THIS GVSIP TRUNKS DISCONNECT after REBOOT

intouchpcdesigns

New Member
Joined
Feb 15, 2016
Messages
13
Reaction score
0
So like everyone else once the Simonic google voice gateway went down. I scrambled to get my PBX back up and running quickly for my google voice numbers. I did a fresh install of the rasp pi 3+ version of incredible Pbx with the gvsip naf already integrated. Everything went great .. Everything was back to normal all working great with the two google sip trunks. IVRs all working everything routing, extensions working correctly. Then after i was satisfied that all was restored completely i rebooted ... this is where the problems happened. the gvsip trunks weren't connected at all anymore. So i went in and removed gvsip1 and immediately put it back and both gvsip1 and gvsip2 were magically back up and running. and running for days no issues until again a reboot. same as before they weren't working. I remove one and then replace and boom they are both back up and running... Am i missing something... i dont want to have to manual do this everytime we lose power
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,221
I'd recommend you upgrade to the latest release of GVSIP and see if that doesn't solve the problem.

The upgrade procedure is documented in this topic:

How Do I Get the Latest Version of GVSIP?
 

intouchpcdesigns

New Member
Joined
Feb 15, 2016
Messages
13
Reaction score
0
I'd recommend you upgrade to the latest release of GVSIP and see if that doesn't solve the problem.

The upgrade procedure is documented in this topic:

How Do I Get the Latest Version of GVSIP?


Ward thank you in advance .. I followed this upgrade today and once i was finished everything was again functional until reboot.. Once i reboot its like its not connecting to google. i putty in and Iremove one of the gvsips and add it immediately back and they are both back in business.. Got me stumped ... Any other suggestions? thank you
 

intouchpcdesigns

New Member
Joined
Feb 15, 2016
Messages
13
Reaction score
0
Ward thank you in advance .. I followed this upgrade today and once i was finished everything was again functional until reboot.. Once i reboot its like its not connecting to google. i putty in and Iremove one of the gvsips and add it immediately back and they are both back in business.. Got me stumped ... Any other suggestions? thank you
I'd recommend you upgrade to the latest release of GVSIP and see if that doesn't solve the problem.

The upgrade procedure is documented in this topic:

How Do I Get the Latest Version of GVSIP?


Also just realized that the same thing happens when i lose internet connection
 

chris_c_

Active Member
Joined
Aug 19, 2010
Messages
509
Reaction score
67
Ward thank you in advance .. I followed this upgrade today and once i was finished everything was again functional until reboot.. Once i reboot its like its not connecting to google. i putty in and Iremove one of the gvsips and add it immediately back and they are both back in business.. Got me stumped ... Any other suggestions? thank you
You need to get more detail on what's going on.
1. Enter these commands, and watch for ERROR messages:
Code:
asterisk -r
stun set debug on
stun show status     #What is my external IP address.
pjsip show registrations #These should show Status Registered.
pjsip show contacts      #All gvsip trunks and phone extensions.
2. Dial to another extension, and watch the screen for red ERROR messages.
3. Dial to an outside phone number, and watch the screen for red ERROR messages.
 

intouchpcdesigns

New Member
Joined
Feb 15, 2016
Messages
13
Reaction score
0
You need to get more detail on what's going on.
1. Enter these commands, and watch for ERROR messages:
Code:
asterisk -r
stun set debug on
stun show status     #What is my external IP address.
pjsip show registrations #These should show Status Registered.
pjsip show contacts      #All gvsip trunks and phone extensions.
2. Dial to another extension, and watch the screen for red ERROR messages.
3. Dial to an outside phone number, and watch the screen for red ERROR messages.

Thank You i have tried this here is what i found - From a just powered on state both gvsip1 and gvsip2 show unregistered. Once i delete one and add it back both show registered and all is working.

It just keeps doing this over and over .... Sorry i am a novice so if i sound ignorant i apologize in advance. thank you for all the help

STUN Packet, msg Binding Response (0101), length: 12
Found STUN Attribute Mapped Address (0001), length 8
Ignoring STUN attribute Mapped Address (0001), length 8
[2018-08-15 00:42:21] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscr [2018-08-15 00:42:22] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscr [2018-08-15 00:42:52] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscr [2018-08-15 00:42:53] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscr [2018-08-15 00:43:24] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscr [2018-08-15 00:43:25] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscr Ignoring STUN attribute Mapped Address (0001), length 8
[2018-08-15 00:43:55] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscr [2018-08-15 00:43:56] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscr STUN Packet, msg Binding Response (0101), length: 12
Found STUN Attribute Mapped Address (0001), length 8
Ignoring STUN attribute Mapped Address (0001), length 8
[2018-08-15 00:44:26] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscr [2018-08-15 00:44:27] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscr [2018-08-15 00:44:57] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscription failed: Ext[2018-08-15 00:44:58] NOTICE[1881]: res_pjsip_exten_state.c:358 new_subscribe: Endpoint '299' state subscription failed: ExtFound STUN Attribute Mapped Address (0001), length 8
Ignoring STUN attribute Mapped Address (0001), length 8
 

intouchpcdesigns

New Member
Joined
Feb 15, 2016
Messages
13
Reaction score
0
You need to get more detail on what's going on.
1. Enter these commands, and watch for ERROR messages:
Code:
asterisk -r
stun set debug on
stun show status     #What is my external IP address.
pjsip show registrations #These should show Status Registered.
pjsip show contacts      #All gvsip trunks and phone extensions.
2. Dial to another extension, and watch the screen for red ERROR messages.
3. Dial to an outside phone number, and watch the screen for red ERROR messages.


i also got this when i made an out bound call to external phone. thankyou

[2018-08-15 00:53:19] ERROR[4630]: pjproject:0 <?>: icess0x6d96cd6 ......Error sending STUN request:
[2018-08-15 00:53:19] ERROR[4646]: pjproject:0 <?>: icess0x6d96cd6 ..Error sending STUN request: Net
 

chris_c_

Active Member
Joined
Aug 19, 2010
Messages
509
Reaction score
67
What happens when you:
1. reboot
2. wait until the web portal interface is working again
3. open a terminal window
4. amportal restart
5. wait a minute for it to reconnect to GV

6. asterisk -r
7. pjsip show registrations
 

chris_c_

Active Member
Joined
Aug 19, 2010
Messages
509
Reaction score
67
8. Open a terminal
Code:
egrep 'gvsip|pjsip|pjproject'  /var/log/asterisk/full | grep ERROR
 

intouchpcdesigns

New Member
Joined
Feb 15, 2016
Messages
13
Reaction score
0
Sorry been super busy last few days with kids.. Though i do want to thank you for all your advice. I decided tonight to dump that rasp pi system completely and Start over with the pc i was using to run the original freepbx distro before all this google nonsense happened and use the incrediblepbx ISO image. Well needless to say everything went great and believe it or not it has no issues registering both gvsip trunks at all now no matter how i try to piss it off.. i can unplug power and internet and it comes right back...either way the pbx is back up and running and from what i can see stable with no issues so thank you chris and ward for everything... Mark From Intouch
 

sergio305

New Member
Joined
Sep 9, 2018
Messages
7
Reaction score
0
the same thing is happing to me any fix on this i am running the last version of pbx 13 in a PC



WHEN IT DO amportal restart EVERY THING IS WORKING AGAIN

THEN I RAN THIS COMMAND IN THE TERMINAL

egrep 'gvsip|pjsip|pjproject' /var/log/asterisk/full | grep ERROR


GOT THIS HELP PLEASE




[2018-09-12 02:55:19] ERROR[4090] res_sorcery_config.c: Config file 'pjsip.conf' could not be loaded; configuration contains a duplicate object: 'global' of type 'global'


[2018-09-12 02:55:30] ERROR[4127] pjproject: sip_msg .Header with no vptr encountered!! Current buffer: REGISTER sip:eek:bihai.sip.google.com SIP/2.0
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
 

Members online

No members online now.

Forum statistics

Threads
25,812
Messages
167,761
Members
19,240
Latest member
nikko
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