-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 13
-
Fix Version/s: 13
-
Component/s: Announcements, Extension Settings
-
Labels:None
-
Asterisk Version:13.6.0
-
Distro Version:SHMZ release 6.6 (Final)
-
Distro:FreePBX Distro
After changing my voip Gateway last night and moving it to MP104 i found that incomming calls are not reaching my voip gateway.
After digging in my pbx logs and some debuging on the sip i found that the pbx for incomming calls was passing the header Alert-Info.
The Alert-Info in the inbound route was set to none so this header should not have been present.
Digging further i found that in the databse in table incomming the alertinfo field is set to: ' ' and not '' it contains a space. This space makes the macro-dial-one introduce the Alert-Info header in the sip headers.
How can i get in touch with some one from freepbx to modify the core in order to take into consideration this fact.
I suggest a change from:
exten => s,n,GosubIf($["${ALERT_INFO}"!=""]?func-set-sipheader,s,1(Alert-Info,${ALERT_INFO}))
to:
exten => s,n,GosubIf($["${ALERT_INFO}"!="" & "${ALERT_INFO}"!=" "]?func-set-sipheader,s,1(Alert-Info,${ALERT_INFO}))
So it takes into account the space. I also tried to modify the web page to trim the space before updateting the db table but it makes the Alert Info select not work correctly.