SOLVED Need help with Vitelity trunk / routes

brunski

Member
Joined
Oct 18, 2007
Messages
38
Reaction score
1
I have 2 vitelity DIDs, want to use one for inbound - DID1 (xxx-xxx-5470)
The other DID, i want to use it for outbound DID2 (xxx-xxx-5472) but i want to use it with CID of DID1
Right now, inbound works well, outbound does not, I've gone up and down the forums and i can't find a solution (this is me right now --> :banghead:)
When i make a phone call from one of the extensions i get (seems that it tries and the call gets quickly dropped):

Code:
WARNING[32267][C-0000004a]: pbx.c:6709 __ast_pbx_run: Channel 'SIP/715-0000004e' sent to invalid extension but no invalid handler: context,exten,priority=Outgoing-Vit,xxxxxxxxx,1
I have 2 trunks - used the info from vitelity itself:

inbound trunk:
Code:
type=friend
dtmfmode=auto
username=myusername
secret=mypass
context=from-trunk ; (this could be ext-did or from-pstn as well)
insecure=port,invite
canreinvite=no
host=inbound33.vitelity.net

outbound trunk:
Code:
type=friend
dtmfmode=auto
username=myusername
secret=mypass
fromuser=myusername
trustrpid=yes
sendrpid=yes
context=from-trunk ; (this could be ext-did or from-pstn as well)
canreinvite=no
host=outbound.vitelity.net

This, i added to the extensions_custom.conf
Code:
[from-internal]
 
exten => _NXX,1,Dial(SIP/${EXTEN})
exten => _NXXX,1,Dial(SIP/${EXTEN})
exten => _NXXXX,1,Dial(SIP/${EXTEN})
exten => _NXXNXXXXXX,1,Goto(Outgoing-Vit,${EXTEN},1)
exten => _1NXXNXXXXXX,1,Goto(Outgoing-Vit,${EXTEN:1},1)
;# // END from internal
I don't know if this code should be added to that file, but if i don't have that code, it tells me "all circuits are busy now..."

I also have an outbound route [Outgoing-Vit] that is using the outgoing trunk

Any help is appreciated. I'm pretty new to IPBX


---> Incredible PBX 11-12.1 for Raspberry Pi 2 - Asterisk 11.18.0 Incredible GUI 12.0.30


Thank you in advance

Bruno
 

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,561
Messages
138,876
Members
14,669
Latest member
cleron