Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: jsantos on April 24, 2007, 05:13:57 PM
-
Hi everyone.
I did a installation of selintra (last package) and need to someone help me on two questions.
1- I create de trunkline account and on the status I receive the confirmation that is connected, then I create the route (I believe that is needed for the out communications) and 2 extensions. I can made a connection between the two extensions but every time that I try to made a out connection (public) I receive the information "the extension you are dialing is not available", what made wrong?...
2- There is possible to create the sound package for Portuguese language and how to do that.
Thanks in advanced
Jorge
-
Hi Jorge,
The route docs are here...
http://www.selintra.com/docs/cgi-bin/view/Main/DocChapter111
Without seeing what you have in the route it's difficult to comment on what your problem might be. The route map is pure asterisk so you enter your patterns and numbers just like you would in asterisk itself. If you want to see what is going wrong you need to watch your call at the asterisk console. Log into your SME Server CLI and then fire up the asterisk console with
asterisk -rvvvv
This will show you what asterisk is doing with your call. Use 'exit' to leave the asterisk console when you've finished. Use 'help' to see what commands are available to you.
Re Portuguese language support - look here....
http://www.voip-info.org/wiki/view/Asterisk+sound+files+international
There is mention of a Portuguese translation pack near the bottom of the page.
Kind Regards
Selintra
-
Thanks Selintra for the answer.
I know the problem is on the route, more exactly on dial plan, I can't understand what I need to insert on the field, on my last try I input "_XXXXXXXXX". The number of digits in Portugal are 9, the field mask is correct???
When I run the asterisk console and made a phone call will receive the next:
-- Remote UNIX connection
-- Executing AGI("SIP/5020-09445b70", "selintra|OutCluster|212091230") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script selintra completed, returning 0
-- Sent into invalid extension '212091230' in context 'default' on SIP/5020-09445b70
-- Executing BackGround("SIP/5020-09445b70", "invalid") in new stack
-- Playing 'invalid' (language 'en')
-- Executing Hangup("SIP/5020-09445b70", "") in new stack
== Spawn extension (default, i, 2) exited non-zero on 'SIP/5020-09445b70'
-- Executing Hangup("SIP/5020-09445b70", "") in new stack
== Spawn extension (default, h, 1) exited non-zero on 'SIP/5020-09445b70'
I hope this is usefull for you.
Best regards.
Jorge
P.S. - Thanks for the link, the portuguese sounds it's work now.
-
Hi
I just need to see what's in the default stanza in extensions.conf. You can display it using the "general edit" option and then choose extensions.conf. [default] should be near the top.
Kind Regards
Selintra
-
Hi Selintra
As you ask next is the copy of the defaults section of extensions.conf.
[default]
include => parkedcalls
include => internal-presets
include => extensions
include => conferences
include => utilities
exten => _XXXXXXXXX,1,agi(selintra,OutRoute,Startel PT)
exten => t,1,Hangup
exten => h,1,Hangup
exten => i,1,Background(invalid)
exten => i,2,Hangup
As you can see I believe my be the problem was on mask, where at Portugal we only dial the 9 digits number to make a call, exemp: 212091230 in all the country for international contacts we dial this: - 00 (for international line) 1 (to USA) XX for the country code next the phone number.
I hope now it's clear for you.
Many thanks and best regards
Jorge
-
Hi selintra
I don't know the reason but for some the asterisk is working. I delete the Trunkline the extension and the route, create the extention again the trunkline and the route and.... surprise all works. Thanks for the support.
Case closed.
Jorge
-
Hi Jorge
Glad you got it to work.
The problem was(I think) that your routename had a space in it and that was causing the AGI to miss the extension.
Anyway, I'm glad you are on your way.
Have fun with our little product.
Best
Selintra