Page 1 of 1

Problem with Direct SIP conection with TPV

PostPosted: Thu Sep 28, 2017 4:44 pm
by macaruchi
Hi!
I am using ViciBox and I trying to do a SIP2SIP coneection with our TPV. My TPV send me your host for dialing and I configured a new carrier for this
My configuration is
Code: Select all
[testcarrier]
host=tpvhost.com
type=peer
disallow=all
allow=ulaw
allow=alaw
qualify=no
dtmfmode=rfc2833
context=trunkinbound

//MyDialPlan
exten => _4.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _4.,n,Dial(${TESTSIPTRUNK}/${EXTEN:2},,To)
exten => _4.,n,Hangup

//Global String
TESTSIPTRUNK = SIP/testcarrier


When I do the call to TPV this is That I get in asterisk

Code: Select all
[Sep 28 11:16:02] VERBOSE[1604] pbx.c: [Sep 28 11:16:02]   == Setting global variable 'TESTSIPTRUNK' to 'SIP/testcarrier'
[Sep 28 11:29:31] VERBOSE[12930][C-00000c62] pbx.c: [Sep 28 11:29:31]     -- Executing [418887774444@default:2] Dial("Local/418887774444@default-00000be8;2", "SIP/testcarrier/8887774444,,To") in new stack
[Sep 28 11:29:31] VERBOSE[12930][C-00000c62] app_dial.c: [Sep 28 11:29:31]     -- Called SIP/testcarrier/8887774444
[Sep 28 11:40:33] VERBOSE[18511][C-00000d74] pbx.c: [Sep 28 11:40:33]     -- Executing [418887774444@default:2] Dial("Local/418887774444@default-00000cf3;2", "SIP/testcarrier/8887774444,,To") in new stack
[Sep 28 11:40:33] VERBOSE[18511][C-00000d74] app_dial.c: [Sep 28 11:40:33]     -- Called SIP/testcarrier/8887774444
[Sep 28 11:42:45] VERBOSE[19440][C-00000d9d] pbx.c: [Sep 28 11:42:45]     -- Executing [418887774444@default:2] Dial("Local/418887774444@default-00000d1c;2", "SIP/testcarrier/8887774444,,To") in new stack
[Sep 28 11:42:45] VERBOSE[19440][C-00000d9d] app_dial.c: [Sep 28 11:42:45]     -- Called SIP/testcarrier/8887774444


The connection gave me "Dialed TimeOut , contact your system administrator " in the agent screen but I dont get more info in asterisk logs

I did a ping to the server and this respond.



ViciBox 7.0.3
OpenSuse 42.1Leap
VERSION: 2.12-565a
BUILD: 160827-0917
8GB Ram
Intel Xeon 2.5Ghz
8 core

Re: Problem with Direct SIP conection with TPV

PostPosted: Tue Oct 03, 2017 10:17 pm
by MJCoate
The dial timeout means no one on the other end answered the call. Have you contacted your TPV to see if they are getting your calls?