Spanish is my native language, but for respect to Matt, and also, in order to help other people with this forum we prefer English
Lets work with one situation at the time.
How to call to a Vicidial extension from vicibox if you already have the trunk set
-Go to the CLI in your Vicibox and make sure that you are able to see your incoming call from elastix. In the vicibox CLI put: sip debug (make sure that nobody is connected because it will display a lot of information)
-If you are able to see your incoming call, then make sure that your trunk (carrier) in vicibox contains the context (trunkinbound)
Example:
[elastix1]
host=dynamic ##here should be your elastix ip address 192.168.1.3
username=vicidial1
secret=secret
type=friend
disallow=all
allow=ulaw
allow=alaw
qualify=yes
context=trunkinbound
Put this information in the dial plan entry box:
exten => _XXX,1,Dial(SIP/cc${EXTEN},20,to)
-Then modify the file etc/asterisk/extensions.conf in the vicibox and make sure that the following line is in the trunkinbound context:
exten => _XXX,1,Dial(SIP/cc${EXTEN},20,to)
Example:
[trunkinbound]
exten => _XXX,1,Dial(SIP/cc${EXTEN},20,to)
If this dont work can you post here your configurations files?
Make sure that you delete the sensitive data like passwords and ip address.
You can post here from vicidial your extensions.conf and extensions-vicidial.conf and also sip.conf and sip-vicidial.conf
and the same files from elastix.