Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: soprom on December 28, 2008, 07:10:13 PM
-
Hi,
Version sail-2.2.1-688 brings a problem.
I have 5 iax trunks but only one shows up in iax.conf
If I manually add the missing ones in iax.conf and reload iax, then registrations re-appear iax2 registry.
-
Hi Sophie
Can you explain a little further please?
Did they disappear after the upgrade?
What did you upgrade from (which release)?
If you look at iax.conf (in general edit) do they appear?
Is it the trunk + registration or just the registration which is missing?
Thanks
S
-
I'm running sme7.4 and updated from 684 (working) to 688 (missing iax's)
General Edit shows the ones I entered manually
Trunks are missing for all accounts
Registrations are missing for all but one
-
sorry, trunks are not missing
-
so... just to clarify
the trunks are OK but the registrations are missing on most of them?
Is this correct?
Can you tell me which carriers it was please.
Thanks
S
-
using config show, I see a difference between a broken registration and the one working...
Working iax has:
opengreet=None
openroute=annoncermarie
opensibling=None
password=2222
pat=
provision=
queue=None
register=5145550610:2222@iax09.unlimitel.ca
remotenum=5145550610
sipiaxpeer=type=peer
Broken iax:
opengreet=None
openroute=5214
opensibling=None
password=2222
pat=
postdial=
predial=
provision=
queue=None
register=
remotenum=5145554017
sipiaxpeer=type=peer
-
Can you tell me which carriers it was please
Yes, only registrations are missing
Carrier is custom :
Unlimitel_IAX2=Carrier
carrier=Unlimitel_IAX2
carriertype=VOIP
desc=Unlimitel IAX2
host=
md5encrypt=NO
register=
sipiaxpeer=type=peer
host=
qualify=3000
canreinvite=no
username=
fromuser=
secret=
sipiaxuser=type=user
context=mainmenu
technology=IAX2
zzeor=EOR
Host is defined in each trunk (not as a default host value in carrier)
-
Thankyou Sophie,
We made some major changes in this area in the 68x builds.
We will be back to you shortly.
Kind Regards
S
-
Doing some tests...
1) I created a fresh trunk and compared with the existing ones.
The newly created trunk has more variables:
peername|5145557975peer
privileged|NO
2) I created an other trunk with generic iax with same results
3) I created a new carrier with specific host and a new trunk with this carrier. Same results.
-
Thanks
this helps a lot with a problem like this.
Kind Regards
S
-
Hello Sophie,
We think we've found your problem and we will release a new build shortly. If you cannot wait until then, here is a small patch for you to try...
edit the module /etc/e-smith/web/functions/sarktrunk
At or around line 807 find the following...
if ($technology eq "SIP" || $technology eq "IAX") {
Replace it with...
if ($technology eq "SIP" || $technology eq "IAX2") {
This should bring back your lost registration strings.
Kind Regards
S
-
I'm not sure it did it.
I did a commit after as simple change in a trunk with no changes.
-
I found the problem:
In each trunk form, the field "Registration String:" was blank except for one.
After re-filling these fields, registration lines show up in iax.conf.
The patch you provided in your post displays this field, but it was empty, or I committed with empty fields.
In my understanding, the version update did not carry over all values for this field.