Voxalot / SIP Broker Support Forums

Voxalot / SIP Broker Support Forums (https://forum.sipbroker.com/index.php)
-   Voxalot Support (https://forum.sipbroker.com/forumdisplay.php?f=4)
-   -   VoXaLot Now Supports SIP Registrations (https://forum.sipbroker.com/showthread.php?t=190)

affinity 06-28-2006 01:36 AM

Quote:

Originally Posted by fozzie
Err no, Martin's saying that the 'Not Registered' status occurs either when 'Register' has not been set to 'Yes', or the registration attempt has yet to be processed by Voxalot.

So, what status if 'Register' has been set to 'Yes' and the registeration attempt actually fails?

It looks like 'Registered' is reported if the provider has been set to 'Register' and Voxalot has attempted to actually register. I hope that is wrong, so that a failed registration shows as failed.

martin 06-28-2006 02:00 AM

A failed registration attempt will be either "Request Sent" or "Auth Sent" and some others.... The only time you will ever see "Registered" is if the registration was successful. Craig is putting together a list of status msgs as we speak.

craig 06-28-2006 04:26 AM

We will put these states on the status page, but for your reference, these are the states that are currently returned:

"Not Registered" - Not registered
"Request Sent" - Sent a registration request
"Auth. Sent" - Sent authorization details
"Registered" - Registered
"Rejected" - Rejected by provider
"Timeout" - Time out
"No Authentication" - No authorization details provided
"Unreachable" - Failed after several attempts

--
Craig

richard 06-28-2006 04:36 AM

Craig

Couple questions on the status results:

Not Registered" - Not registered - Does this ONLY applied to those providers where SIP Register was set to "No"?

"Request Sent" - Sent a registration request
"Auth. Sent" - Sent authorization details

What the different between "Request Sent" and "Auth. Sent"?

Thanks

Richard

craig 06-28-2006 06:32 AM

Not Registered - Does this ONLY applied to those providers where SIP Register was set to "No"?

I believe that you should only see this if you have set SIP register to "No". If you see this, and you have selected "Yes", then there is most likely a problem with the VoXaLot setup.

To try to fix it, you can set your SIP Register flag to "No", Save, and change back to "Yes". This will trigger VoXaLot to try to re-register (we are thinking of adding a button that automates this process, but as I said, you shouldn't get this status if everything is working OK). You'll need to wait 5 minutes for the change to become effective, though.

Edit: One thing I did forget was that you may see this status in the 5 minute window between when you set your SIP Register flag to Yes and when the Asterisk server picks up the change.

What the different between "Request Sent" and "Auth. Sent"?

Good question. The statuses that we return are based on the registration status of our backing Asterisk server. I am wading through the Asterisk code to determine under what conditions these messages are applicable. Stay tuned...

Edit: Just had a quick chat to Martin about this - the "Request Sent" means that VoXaLot has sent the register request to your provider, and is waiting for a response. "Auth. Sent" means that VoXaLot has received a reply to the registration request, and has now sent your authentication details to your provider and is awaiting a response. In any case, these statuses should normally only be active for a few seconds at most. If you are seeing this for an extended period, it means that VoXaLot has not received a reply from your provider. Hope that helps.

--
Craig

martin 06-28-2006 11:01 AM

Quote:

Originally Posted by richard
Hi Martin

My voip.eutelia.it is also listed as "Not Registered" and it has been set Active = "Yes" and Register = "Yes" for over a week without changes.

If there is a problem registering, shouldn't it say "Authorization Sent" or "Failed"?

What are all of the status results and their meaning?

Thanks in advance

Richard

PM sent with answer.

Kars 07-10-2006 12:43 AM

Hello Martin,

My provider budgetphone.nl is listed as "Not Registered" with Active = "Yes" and Register = "Yes", just like Richard experienced.

Kars, who bought el-cheapo hardware which doesn't support GW setting or a decent dial plan and didn't know he'd need that.

Edit: I think it has something to do with "SIP proxy" vs. "Domain/Realm". In my ATA I have to specify "Domain/Realm" as "budgetphone.nl" and "SIP Proxy" as "sip.budgetphone.nl". Setting either to be the same doesn't work. With "SIP Proxy" set to "budgetphone.nl" there is no DNS A record.
With "Domain/Realm" set to "sip.budgetphone.nl" the authentication fails with "Domain is not served here".
A way to specify both would be nice :D

clundestad 07-11-2006 08:06 PM

I have the same problem with Budgetphone.nl/Talkin2Ya as Kars, so I would also welcome more advanced provider configuration options.

And it's also a bit inconvenient to have enter the password (twice even) every time I want to change Register from Yes to No or the other way around?

Other than that, great service!

Kars 07-11-2006 09:24 PM

Wohoo! :D Got it to work! Excellent, I love this service :D!
The Status field on the Provider List page still shows "Not registered" but it definitely is registered.

I had to create two accounts to be able to handle PSTN numbers: one for the registration (to receive calls from the PSTN) and one for actually calling a PSTN number.

Registration Provider settings
------------------------------
Username: <budgetphone number>@budgetphone.nl
Password: <budgetphone password>
Hostname: sip.budgetphone.nl
SIP Register: Yes

SIP-to-PSTN Provider settings
-------------------------------
Username: <budgetphone number>
Password: <budgetphone password>
Hostname: budgetphone.nl
SIP Register: No

Now in your dial plan use the SIP-to-PSTN Provider for outgoing calls.
My dial plan looks like this:

Code:

Priority Pattern  Replacement  Provider            ENUM Replacement
-------- -------- -----------  -------------------- ----------------
1        _112    ${EXTEN}    Budget Phone Company 31${EXTEN}
10      _0031.  0${EXTEN:4}  Budget Phone Company ${EXTEN:2}
20      _00.          ${EXTEN}    Budget Phone Company ${EXTEN:2}
30      _0.      ${EXTEN}    Budget Phone Company 31${EXTEN:1}
40      _ZXXXXXX 074${EXTEN}  Budget Phone Company 3174${EXTEN}

The first entry is meant for the Dutch emergency number.
The second entry is for all international format Dutch PSTN phone numbers.
The second entry is for all other international PSTN phone numbers.
The third entry is for all national PSTN phone numbers.
The last entry is to facilitate "local" calls (without area code) in Hengelo (where I live).

Kars, happy puppy now that he doesn't have to buy more expensive hardware.

clundestad 07-11-2006 10:53 PM

It works for me too, even though the provider list indeed says "Not registered".

Excellent work, Kars!


All times are GMT. The time now is 08:05 PM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.