Page 1 of 1

Inbound DID Route Issue

PostPosted: Wed Dec 17, 2014 4:29 pm
by jfeliciano
Hi,

I have a issue routing my incoming calls by DID from an specific sip trunk carrier. I have a second sip carrier (voipms) and all calls are routing fine with them.

Calls are received in Vicidial but are recognized with the DID used to register the trunk.

Please advice,


Carrier Setup:
[tdata]
username=787******
user=phone
type=friend
secret=78*****
qualify=no
outboundproxy=10.234.140.***
nat=no
insecure=port,invite
host=empresas.telefonica.pr
fromuser=787*******
fromdomain=empresas.telefonica.pr
dtmfmode=auto
defaultexpiry=7200
context=trunkinbound
canreinvite=no
t38pt_udptl=yes
fromdomain=empresas.telefonica.pr
trunktdata=SIP/tdata

Global String: trunkdata=SIP/tdata

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

CLI:
Dec 17 14:50:22] Scheduling destruction of SIP dialog 'SDfkptd01-86ec572af92f7f8ffbc6e5ce23c27d95-a0p02e3' in 32000 ms (Method: INVITE)
[Dec 17 14:50:22]
<--- SIP read from UDP:10.234.140.236:5060 --->
ACK sip:7879193239@10.234.141.69:5060 SIP/2.0
Via: SIP/2.0/UDP 10.234.140.236:5060;branch=z9hG4bKkg126c3038fhghkkb2o1.1
CSeq: 751870314 ACK
From: <sip:7876155522@empresas.telefonica.pr;user=phone>;tag=SDfkptd01-1583092967-1418842948307-
To: "Call Acc"<sip:7879193238@empresas.telefonica.pr>;tag=as015ee2ec
Call-ID: SDfkptd01-86ec572af92f7f8ffbc6e5ce23c27d95-a0p02e3
Max-Forwards: 69
Content-Length: 0