Vicibox do not run with two trunk sip enabled

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Vicibox do not run with two trunk sip enabled

Postby riky69 » Wed Oct 22, 2014 8:47 am

Hello, I have a vicibox PBX which does not allow me to use more than one SIP trunk activates predictive As if it finds two active SIP trunk fails to pass calls to operators.
From the CLI I see no notice, and all calls are routed on both trunk (with prefix of 8 trunk2 without prefix on trunk 1), but are not passed to the operators.

This is the configuration

VERSION: 2.10-451a
BUILD: 140902-0816

ASTERISK VERSION 1.8.29.0-vici

Account 1

register=> 061234567:password@cv.voip.it:5060/061234567

ACCOUNT ENTRY
[hera]
type=peer
username=061234567
secret=password
host=cv.voip.it
dtmfmode=rfc2833
context=default
insecure=port,invite
disallow=all
canreinvite=no
qualify=1000
nat=yes
allow=g729
allow=gsm

PROTOCOL SIP

GLOBAL STRING ERA=SIP/hera

DIALPLAN ENTRY
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0Z.,2,Dial(${HERA}/${EXTEN},,To)
exten => _3Z.,2,Dial(${HERA}/${EXTEN},,To)
exten => _X.,3,Hangup

Account 2

register=> 069876543:password1@cv.voip.it:5060/069876543

[hera1]
type=peer
username=069876543
secret=password1
host=cv.voip.it
dtmfmode=rfc2833
context=default
insecure=port,invite
disallow=all
canreinvite=no
qualify=1000
nat=yes
allow=g729
allow=ulaw
allow=alaw
allow=gsm

PROTOCOL SIP

GLOBAL STRING ERA1=SIP/hera1

DIALPLAN ENTRY
exten => _8.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _80Z.,2,Dial(${HERA1}/${EXTEN:1},,To)
exten => _83Z.,2,Dial(${HERA1}/${EXTEN:1},,To)
exten => _8.,2,Hangup

The problem 'that if I use the trunk individually predictive runs quietly, and if I keep both trunk calls remain active all been in the ring and are not sent to the queue and past users.
If you try to do manual call calls are routed normally to the two trunk based on the presence or absence of the prefix 8.

that 's what happens while two trunks are active:

[Oct 15 11:05:41] VERBOSE[28010] pbx.c: [Oct 15 11:05:41] -- Executing [0817411xxx@default:1] AGI("Local/0817411330@default-000045fb;2", "agi://127.0.0.1:4577/call_log") in new stack
[Oct 15 11:05:41] VERBOSE[28010] res_agi.c: [Oct 15 11:05:41] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=101))
[Oct 15 11:05:41] VERBOSE[28010] res_agi.c: [Oct 15 11:05:41] -- <Local/0817411xxx@default-000045fb;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 15 11:05:41] VERBOSE[28010] pbx.c: [Oct 15 11:05:41] -- Executing [0817411xxx@default:2] Dial("Local/0817411xxx@default-000045fb;2", "SIP/hera/0817411xxx,,To") in new stack
[Oct 15 11:05:41] VERBOSE[28010] netsock2.c: [Oct 15 11:05:41] == Using SIP RTP CoS mark 5
[Oct 15 11:05:41] VERBOSE[28010] app_dial.c: [Oct 15 11:05:41] -- Called SIP/hera/0817411xxx
[Oct 15 11:05:41] WARNING[10058] chan_sip.c: Received response: "Forbidden" from '"V0151105410000117502" <sip:0000000000@31.xx.xx.xx>;tag=as7ba97d35'
[Oct 15 11:05:41] VERBOSE[28010] app_dial.c: [Oct 15 11:05:41] == Everyone is busy/congested at this time (1:0/0/1)
[Oct 15 11:05:41] VERBOSE[28010] pbx.c: [Oct 15 11:05:41] -- Auto fallthrough, channel 'Local/0817411330@default-000045fb;2' status is 'CHANUNAVAIL'
[Oct 15 11:05:41] VERBOSE[28009] pbx.c: [Oct 15 11:05:41] > Channel Local/0817411xxx@default-000045fb;1 was never answered.
[Oct 15 11:05:41] VERBOSE[28009] pbx.c: [Oct 15 11:05:41] -- Executing [failed@default:1] AGI("OutgoingSpoolFailed", "agi://127.0.0.1:4577/call_log") in new stack
[Oct 15 11:05:41] VERBOSE[28010] pbx.c: [Oct 15 11:05:41] -- Executing [h@default:1] AGI("Local/0817411xxx@default-000045fb;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CHANUNAVAIL----------") in new stack
[Oct 15 11:05:41] VERBOSE[28009] res_agi.c: [Oct 15 11:05:41] -- <OutgoingSpoolFailed>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 15 11:05:41] VERBOSE[28009] pbx.c: [Oct 15 11:05:41] -- Auto fallthrough, channel 'OutgoingSpoolFailed' status is 'UNKNOWN'
[Oct 15 11:05:41] VERBOSE[28009] pbx.c: [Oct 15 11:05:41] -- Executing [h@default:1] AGI("OutgoingSpoolFailed", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Oct 15 11:05:41] VERBOSE[28009] res_agi.c: [Oct 15 11:05:41] -- <OutgoingSpoolFailed>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --NODEBUG-

thanks for support me
riky69
 
Posts: 2
Joined: Wed Oct 22, 2014 8:41 am

Re: Vicibox do not run with two trunk sip enabled

Postby geoff3dmg » Wed Oct 22, 2014 10:20 am

The dialplan for hera looks wrong.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: Vicibox do not run with two trunk sip enabled

Postby riky69 » Thu Oct 23, 2014 3:29 am

this is correct ?

DIALPLAN ENTRY
exten => _7.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _70Z.,2,Dial(${HERA}/${EXTEN:1},,To)
exten => _73Z.,2,Dial(${HERA}/${EXTEN:1},,To)
exten => _7.,3,Hangup


thanks
riky69
 
Posts: 2
Joined: Wed Oct 22, 2014 8:41 am

Re: Vicibox do not run with two trunk sip enabled

Postby geoff3dmg » Thu Oct 23, 2014 3:39 am

Yes that looks right. You should be able to switch carriers by changing your campaign dial prefix between 7 and 8.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK


Return to Support

Who is online

Users browsing this forum: No registered users and 76 guests