brainstorm
New Member
- Joined
- Jan 8, 2016
- Messages
- 10
- Reaction score
- 0
Hi,
I have a couple of issues with my Incredible PBX – I don't know whether they are related, or separate issues. So for this I apologise in advance, and am happy to correct this query into separate forums if these issues are not related. I have searched the forums, and although there is threads about call drops, I have tried the suggestions, but to no avail.
I am running Incredible PBX 12.0.74, Asterisk Ver. 13.6.0 on a RaspberyPi 2.
The Trunk settings that follow were running faultlessly on my previous Incredible PBX box (asterisk version 11), and on a laptop – but upgrading it screwed up, and used this as an opportunity to experiment with the Raspberry Pi 2, as it automatically reboots after a power outage (few, but not uncommon here). Before anyone says it – it was cheaper to get the RPI2 than another battery for the lappy.
Trunk Name: Nodephone
PEER Details:
disallow=all
allow=alaw&ulaw&gsm
canreinvite=no
dtmfmode=rfc2833
fromdomain=sip.internode.on.net
username=XXXXXXXXXX
fromuser=XXXXXXXXXX
defaultuser=XXXXXXXXXX
host=sip.internode.on.net
secret=secretpass
trustrpid=no
sendrpid=no
qualify=yes
insecure=invite,port
canreinvite=no
type=peer
nat=yes
context=from-trunk
USER Context: XXXXXXXXXX
context=nodephone-outbound
host=sip.internode.on.net
secret=secretpass
type=user
username=XXXXXXXXXX
Register string:
XXXXXXXXXX:[email protected]/XXXXXXXXXX
This is where the first problem arises. Whenever the system reboots, I have to go into the system, change nothing but have to go into trunks, then submit changes and then apply config: then the trunk registers. It never drops out, always stays connected after I have done the aforementioned routine. It does not connect cleanly on reboot.
I have changed, in the peer details, the insecure=very to insecure=invite,port, as well as changing nat=no to nat=yes; same routine required. So, problem 1.
Problem 2:
I can make calls to any land line, be it local, interstate, special numbers (toll free/special toll etc), but I ring a mobile (cell) phone number, and although the mobile (cell) will ring, there is no ring tone that I can hear, when they answer there is no audio, and if I hang up from the pbx the mobile (cell) that I am ringing does not stop ringing – it does not disconnect. I have looked in the log files, which are below, but can't make out what is going on.
Log File:
[2016-01-09 22:40:36] WARNING[3417] res_odbc.c: SetConnectAttr (Txn isolation) returned an error: HY000: [MySQL][ODBC 5.1 Driver]MySQL server has gone away
[2016-01-09 22:40:36] WARNING[3417] res_odbc.c: SQL Execute returned an error -1: 08S01: [MySQL][ODBC 5.1 Driver][mysqld-5.5.46-0+deb7u1]MySQL server has gone away (74)
[2016-01-09 22:40:36] WARNING[3417] res_odbc.c: SQL Execute error -1! Verifying connection to MySQL-asteriskcdrdb [MySQL-asteriskcdrdb]...
[2016-01-09 22:40:36] WARNING[3417] res_odbc.c: Connection is down attempting to reconnect...
[2016-01-09 22:40:36] WARNING[3414] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2016-01-09 22:40:41] NOTICE[3417] res_odbc.c: Connecting MySQL-asteriskcdrdb
[2016-01-09 22:40:41] NOTICE[3417] res_odbc.c: res_odbc: Connected to MySQL-asteriskcdrdb [MySQL-asteriskcdrdb]
and from the cdr-csv Log File:
"","SIP_num","044","from-internal",""""" <SIP_num>","SIP/150-00000040","SIP/Nodephone-00000041","Dial","SIP/Nodephone/044,300,Tt","2016-01-09 00:32:20",,"2016-01-09 00:32:23",2,0,"NO ANSWER","DOCUMENTATION","1452299540.436",""
"","SIP_num","mobile_num","from-internal",""""" <SIP_num>","SIP/156-00000042","SIP/Nodephone-00000043","Dial","SIP/Nodephone/mobile_num,300,Tt","2016-01-09 00:32:56",,"2016-01-09 00:33:17",20,0,"NO ANSWER","DOCUMENTATION","1452299576.446",""
Problem 3. Any land line call will disconnect when ringing out after 10 minutes. It is a clear call, which just terminates (log file for this attached). I have 6 extensions, and the behaviour is the same for all of them. The trunk does not drop. All I can find is that there is a hang-up, but where from?
Log File:
"2016-01-10 00:39:18","2016-01-10 00:39:18","2016-01-10 00:40:47",89,89,"ANSWERED","DOCUMENTATION","1452386358.546",""
"","SIP_num","dialled_num","from-internal",""""" <SIP_num>","SIP/156-0000004f","SIP/Nodephone-00000050","Dial","SIP/Nodephone/dialled_num,300,Tt","2016-01-10 10:20:06","2016-01-10 10:20:18","2016-01-10 10:30:57",651,639,"ANSWERED","DOCUMENTATION","1452421206.553",""
"","SIP_num","h","from-internal",""""" <dialled_num>","SIP/156-0000004f","","Hangup","","2016-01-10 10:30:57","2016-01-10 10:30:57","2016-01-10 10:30:57",0,0,"ANSWERED","DOCUMENTATION","1452421206.553",""
I had none of these issues on Asterisk 11, and had been successfully using it for over one year without any problems (loving it!!!). I was and am going through the same router and firewall (Fritz!box 7490).
Any input, or suggestions, would be greatly appreciated. I knew my way around ver11 quite well, but still trying to figure some of the finer details of ver 13, so please be patient if I respond asking for clarification. Also I am in Australia, so given the time difference I may take a while to respond.
Thanks
I have a couple of issues with my Incredible PBX – I don't know whether they are related, or separate issues. So for this I apologise in advance, and am happy to correct this query into separate forums if these issues are not related. I have searched the forums, and although there is threads about call drops, I have tried the suggestions, but to no avail.
I am running Incredible PBX 12.0.74, Asterisk Ver. 13.6.0 on a RaspberyPi 2.
The Trunk settings that follow were running faultlessly on my previous Incredible PBX box (asterisk version 11), and on a laptop – but upgrading it screwed up, and used this as an opportunity to experiment with the Raspberry Pi 2, as it automatically reboots after a power outage (few, but not uncommon here). Before anyone says it – it was cheaper to get the RPI2 than another battery for the lappy.
Trunk Name: Nodephone
PEER Details:
disallow=all
allow=alaw&ulaw&gsm
canreinvite=no
dtmfmode=rfc2833
fromdomain=sip.internode.on.net
username=XXXXXXXXXX
fromuser=XXXXXXXXXX
defaultuser=XXXXXXXXXX
host=sip.internode.on.net
secret=secretpass
trustrpid=no
sendrpid=no
qualify=yes
insecure=invite,port
canreinvite=no
type=peer
nat=yes
context=from-trunk
USER Context: XXXXXXXXXX
context=nodephone-outbound
host=sip.internode.on.net
secret=secretpass
type=user
username=XXXXXXXXXX
Register string:
XXXXXXXXXX:[email protected]/XXXXXXXXXX
This is where the first problem arises. Whenever the system reboots, I have to go into the system, change nothing but have to go into trunks, then submit changes and then apply config: then the trunk registers. It never drops out, always stays connected after I have done the aforementioned routine. It does not connect cleanly on reboot.
I have changed, in the peer details, the insecure=very to insecure=invite,port, as well as changing nat=no to nat=yes; same routine required. So, problem 1.
Problem 2:
I can make calls to any land line, be it local, interstate, special numbers (toll free/special toll etc), but I ring a mobile (cell) phone number, and although the mobile (cell) will ring, there is no ring tone that I can hear, when they answer there is no audio, and if I hang up from the pbx the mobile (cell) that I am ringing does not stop ringing – it does not disconnect. I have looked in the log files, which are below, but can't make out what is going on.
Log File:
[2016-01-09 22:40:36] WARNING[3417] res_odbc.c: SetConnectAttr (Txn isolation) returned an error: HY000: [MySQL][ODBC 5.1 Driver]MySQL server has gone away
[2016-01-09 22:40:36] WARNING[3417] res_odbc.c: SQL Execute returned an error -1: 08S01: [MySQL][ODBC 5.1 Driver][mysqld-5.5.46-0+deb7u1]MySQL server has gone away (74)
[2016-01-09 22:40:36] WARNING[3417] res_odbc.c: SQL Execute error -1! Verifying connection to MySQL-asteriskcdrdb [MySQL-asteriskcdrdb]...
[2016-01-09 22:40:36] WARNING[3417] res_odbc.c: Connection is down attempting to reconnect...
[2016-01-09 22:40:36] WARNING[3414] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2016-01-09 22:40:41] NOTICE[3417] res_odbc.c: Connecting MySQL-asteriskcdrdb
[2016-01-09 22:40:41] NOTICE[3417] res_odbc.c: res_odbc: Connected to MySQL-asteriskcdrdb [MySQL-asteriskcdrdb]
and from the cdr-csv Log File:
"","SIP_num","044","from-internal",""""" <SIP_num>","SIP/150-00000040","SIP/Nodephone-00000041","Dial","SIP/Nodephone/044,300,Tt","2016-01-09 00:32:20",,"2016-01-09 00:32:23",2,0,"NO ANSWER","DOCUMENTATION","1452299540.436",""
"","SIP_num","mobile_num","from-internal",""""" <SIP_num>","SIP/156-00000042","SIP/Nodephone-00000043","Dial","SIP/Nodephone/mobile_num,300,Tt","2016-01-09 00:32:56",,"2016-01-09 00:33:17",20,0,"NO ANSWER","DOCUMENTATION","1452299576.446",""
Problem 3. Any land line call will disconnect when ringing out after 10 minutes. It is a clear call, which just terminates (log file for this attached). I have 6 extensions, and the behaviour is the same for all of them. The trunk does not drop. All I can find is that there is a hang-up, but where from?
Log File:
"2016-01-10 00:39:18","2016-01-10 00:39:18","2016-01-10 00:40:47",89,89,"ANSWERED","DOCUMENTATION","1452386358.546",""
"","SIP_num","dialled_num","from-internal",""""" <SIP_num>","SIP/156-0000004f","SIP/Nodephone-00000050","Dial","SIP/Nodephone/dialled_num,300,Tt","2016-01-10 10:20:06","2016-01-10 10:20:18","2016-01-10 10:30:57",651,639,"ANSWERED","DOCUMENTATION","1452421206.553",""
"","SIP_num","h","from-internal",""""" <dialled_num>","SIP/156-0000004f","","Hangup","","2016-01-10 10:30:57","2016-01-10 10:30:57","2016-01-10 10:30:57",0,0,"ANSWERED","DOCUMENTATION","1452421206.553",""
I had none of these issues on Asterisk 11, and had been successfully using it for over one year without any problems (loving it!!!). I was and am going through the same router and firewall (Fritz!box 7490).
Any input, or suggestions, would be greatly appreciated. I knew my way around ver11 quite well, but still trying to figure some of the finer details of ver 13, so please be patient if I respond asking for clarification. Also I am in Australia, so given the time difference I may take a while to respond.
Thanks