Page 1 of 1

VoipInvite Carrier Setting

PostPosted: Sun Apr 07, 2013 9:05 pm
by elygabay
Hi ,
I am trying to configure a new carrier on my GoAutoDial Server Version 2.4
The carrier is Voip Invite - it work on direct IP connection with no user /pass .My server is dialing in the USA
the carrier gave me only this setting

Signaling IP: 66.228.113.152
Protocol: SIP
Dial Plan: 1+10 digits eg: 12127773456
Codecs: G711u, G729
Tone Detection: RCF 2833
2833 Payload Type: 101
Fax Mode: T.38
SIP Port and Protocol: UDP 5060

from that I created

Account Entry:
[VoipInvite]
disallow=all
allow=g729
allow=gsm
allow=ulaw
type=friend
host=66.228.113.152
dtmfmode=rfc2833
qualify=yes
insecure=very
canreinvite=no

Dialplan Entry:
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(${66.228.113.152}/${EXTEN:1},,tTor)
exten => _91XXXXXXXXXX,3,Hangup

Of corse it doesn't work and I have no idea what I am doing wrong ( I am sure it the dial plan entry)

when I am doing sip show peers I see the new carrier but I cant dial out :-(
do I need Registration String ? Globals String ?


Please HELP

Re: VoipInvite Carrier Setting

PostPosted: Mon Apr 08, 2013 1:15 pm
by williamconley
1) unless you have purchased and installed g729, you must remove the allow=g729 line.
2) You must list your VICIDIAL version and build. You should also include your installer method and version. You listed "goautodial 4" and there is no such version. GoAutoDial is the installer and has versions 2.0 and 2.1 available. It will install Vicidial which has versions available from 2.0.5 to 2.6. I will post the newbie suggestions at the end of this post which may help you somewhat.
3) Your globals string should be:
Code: Select all
DIAL9TRUNK=SIP/VoipInvite

4) Your dialplan entry line 2 (the dial command) should be:
Code: Select all
exten => _91XXXXXXXXXX,2,Dial(${DIAL9TRUNK}/${EXTEN:1},,tTor)
This will allow the sip configuration to be used by the dial string. Your earlier version was to attempt to send the call (in the dial command) directly to the IP address which won't work without the necessary configuration information in the SIP account. The globals string is what connects them by sending the call to SIP (the protocol to use) and then the name of the provider's [context] you created. So the dial command will seek the SIP account of the provider, and use the settings you created (such as the host IP and rfc setting) to make the call.

Newbie Suggestions:
when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600


Happy Hunting! 8-)