FreePBX 13 Alpha Outbound Caller ID Issue

Having issues setting outbound caller id with FreePBX 13 It doen’t matter if I set it on the trunk or extension it’s not setting. It shows in the CDR that it did but the caller id I’m getting is something way different.

I’m fairly certain is has something to do with the way it’s trying to send caller id, because I have one sip provider that rejects me even making calls.

It’s up to your providers on how they want to handle your caller ID information. As you have experienced, some providers won’t even let you send a call unless the Caller ID matches one of your assigned lines. Other require the Caller ID format to meet their precise specifications, and still others will do the best they can with whatever crap might get sent their way.

The format for Caller ID has been mis-stated LOTS of times and has even changed over time.

The Caller ID that works for my provider is "Name " (without the quotes). Some sources say the name should be in quotes as well, other say the quotes are required if there are spaces in the name.

To start testing how your provider handles Caller ID, start with sending the Caller ID as “” and see what that displays. If that works, add a letter on the from and see if that comes through. If that works, change the number to a different number and try it.

Here is a bit more info.

I’ve been using FreePBX for more than 5 years, I realize with what you’re about to read you’re gonna say. Why don’t you have a backup? Why would you do this? Well I stupidly upgraded 2 production machines to 13.0 a

These two machines, I’m in the process or rebuilding from scratch because of numerous issues. However, that will take some time. I’m just trying to put a bandaide on the caller id problem until the rebuild is complete.

Caller ID worked fine on both of these systems until the upgrade. In fact it even worked after the upgrade it wasn’t until a truck or outbound route update that the caller id went stupid. I have caller I working on two other non 13 machines using the same providers.

The provider that is working is showing caller id of 305 704 9667 and 9668 Obviously this is not the caller id I’m sending. Not even close. The other provider just rejects the call completely. So I’m pretty sure this has to do with a big change or bug in caller id on 13.

I have tried

XXXXXXXXXX
and
Name </ XXXXXXXXXX>
and
"Name" </ XXXXXXXXXX >

in both the truck and extension, it changes nothing. The / above was added so the rest would display. I didn’t acutlly put that in the format when I tried it.

The “plumbing” that handles all of this was not touched for 13. Only the gui and form elements. I can pass caller ID out and have not seen an issue. In fact I found a fun little exploit in the Sprint network that has plagued various voicemail systems for years. I was able to set my caller ID as my sprint number and gain full access to my sprint voicemail /facepalm.

1 Like

This used to be the case for Verizon too. Haven’t tried it recently.

Onto my issue. What would you suggest I check first to start troubleshooting this?

I have just replicated on a 3rd box.

The provider that is passing the calls but passing them w some crazy caller id is vitelity.

The provider that is rejecting the calls is Vitelity

Here is a snippet from the call log for the one showing wrong caller id

-- Executing [ [email protected]:1] Macro("PJSIP/99-00000006", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [[email protected]:1] Set("PJSIP/99-00000006", "TOUCH_MONITOR=1427147730.41") in new stack
-- Executing [[email protected]:2] Set("PJSIP/99-00000006", "AMPUSER=99") in new stack
-- Executing [[email protected]:3] GotoIf("PJSIP/99-00000006", "0?report") in new stack
-- Executing [[email protected]:4] ExecIf("PJSIP/99-00000006", "1?Set(REALCALLERIDNUM=99)") in new stack
-- Executing [[email protected]:5] Set("PJSIP/99-00000006", "AMPUSER=99") in new stack
-- Executing [[email protected]:6] GotoIf("PJSIP/99-00000006", "0?limit") in new stack
-- Executing [[email protected]:7] Set("PJSIP/99-00000006", "AMPUSERCIDNAME=Bob Jones") in new stack
-- Executing [[email protected]:8] GotoIf("PJSIP/99-00000006", "0?report") in new stack
-- Executing [[email protected]:9] Set("PJSIP/99-00000006", "AMPUSERCID=99") in new stack
-- Executing [[email protected]:10] Set("PJSIP/99-00000006", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [[email protected]:11] Set("PJSIP/99-00000006", "CALLERID(all)="Bob Jones" <99>") in new stack
-- Executing [[email protected]:12] GotoIf("PJSIP/99-00000006", "0?limit") in new stack
-- Executing [[email protected]:13] ExecIf("PJSIP/99-00000006", "1?Set(GROUP(concurrency_limit)=99)") in new stack
-- Executing [[email protected]:14] GotoIf("PJSIP/99-00000006", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [[email protected]:28] Set("PJSIP/99-00000006", "CALLERID(number)=99") in new stack
-- Executing [[email protected]:29] Set("PJSIP/99-00000006", "CALLERID(name)=Bob Jones") in new stack
-- Executing [[email protected]:30] Set("PJSIP/99-00000006", "CDR(cnum)=99") in new stack
-- Executing [[email protected]:31] Set("PJSIP/99-00000006", "CDR(cnam)=Bob Jones") in new stack
-- Executing [[email protected]:32] Set("PJSIP/99-00000006", "CHANNEL(language)=en") in new stack
-- Executing [ [email protected]:2] Gosub("PJSIP/99-00000006", "sub-record-check,s,1(out, 1712NXXXXXX,dontcare)") in new stack
-- Executing [[email protected]:1] GotoIf("PJSIP/99-00000006", "0?initialized") in new stack
-- Executing [[email protected]:2] Set("PJSIP/99-00000006", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [[email protected]:3] Set("PJSIP/99-00000006", "NOW=1427147730") in new stack
-- Executing [[email protected]:4] Set("PJSIP/99-00000006", "__DAY=23") in new stack
-- Executing [[email protected]:5] Set("PJSIP/99-00000006", "__MONTH=03") in new stack
-- Executing [[email protected]:6] Set("PJSIP/99-00000006", "__YEAR=2015") in new stack
-- Executing [[email protected]:7] Set("PJSIP/99-00000006", "__TIMESTR=20150323-165530") in new stack
-- Executing [[email protected]:8] Set("PJSIP/99-00000006", "__FROMEXTEN=99") in new stack
-- Executing [[email protected]:9] Set("PJSIP/99-00000006", "__MON_FMT=wav") in new stack
-- Executing [[email protected]:10] NoOp("PJSIP/99-00000006", "Recordings initialized") in new stack
-- Executing [[email protected]:11] ExecIf("PJSIP/99-00000006", "0?Set(ARG3=dontcare)") in new stack
-- Executing [[email protected]:12] Set("PJSIP/99-00000006", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [[email protected]:13] ExecIf("PJSIP/99-00000006", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [[email protected]:14] GotoIf("PJSIP/99-00000006", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [[email protected]:17] GotoIf("PJSIP/99-00000006", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [[email protected]:1] NoOp("PJSIP/99-00000006", "Outbound Recording Check from 99 to 1712NXXXXXX") in new stack
-- Executing [[email protected]:2] Set("PJSIP/99-00000006", "RECMODE=dontcare") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/99-00000006", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [[email protected]:7] Gosub("PJSIP/99-00000006", "recordcheck,1(dontcare,out, 1712NXXXXXX)") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/99-00000006", "Starting recording check against dontcare") in new stack
-- Executing [[email protected]:2] Goto("PJSIP/99-00000006", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [[email protected]:3] Return("PJSIP/99-00000006", "") in new stack
-- Executing [[email protected]:8] Return("PJSIP/99-00000006", "") in new stack
-- Executing [ [email protected]:3] ExecIf("PJSIP/99-00000006", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [ [email protected]:4] Set("PJSIP/99-00000006", "MOHCLASS=default") in new stack
-- Executing [ [email protected]:5] ExecIf("PJSIP/99-00000006", "1?Set(TRUNKCIDOVERRIDE=<712NXXXXXX>)") in new stack
-- Executing [ [email protected]:6] Set("PJSIP/99-00000006", "_NODEST=") in new stack
-- Executing [ [email protected]:7] Macro("PJSIP/99-00000006", "dialout-trunk,2, 1712NXXXXXX,,off") in new stack
-- Executing [[email protected]:1] Set("PJSIP/99-00000006", "DIAL_TRUNK=2") in new stack
-- Executing [[email protected]:2] GosubIf("PJSIP/99-00000006", "0?sub-pincheck,s,1()") in new stack
-- Executing [[email protected]:3] GotoIf("PJSIP/99-00000006", "0?disabletrunk,1") in new stack
-- Executing [[email protected]:4] Set("PJSIP/99-00000006", "DIAL_NUMBER= 1712NXXXXXX") in new stack
-- Executing [[email protected]:5] Set("PJSIP/99-00000006", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [[email protected]:6] Set("PJSIP/99-00000006", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [[email protected]:7] GotoIf("PJSIP/99-00000006", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [[email protected]:9] GotoIf("PJSIP/99-00000006", "0?skipoutcid") in new stack
-- Executing [[email protected]:10] Set("PJSIP/99-00000006", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [[email protected]:11] Macro("PJSIP/99-00000006", "outbound-callerid,2") in new stack
-- Executing [[email protected]:1] ExecIf("PJSIP/99-00000006", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [[email protected]:2] ExecIf("PJSIP/99-00000006", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/99-00000006", "0?Set(REALCALLERIDNUM=99)") in new stack
-- Executing [[email protected]:4] GotoIf("PJSIP/99-00000006", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [[email protected]:7] Set("PJSIP/99-00000006", "USEROUTCID=Bob Jones 712NXXXXXX") in new stack
-- Executing [[email protected]:8] Set("PJSIP/99-00000006", "EMERGENCYCID=") in new stack
-- Executing [[email protected]:9] Set("PJSIP/99-00000006", "TRUNKOUTCID="Bob Jones" <712NXXXXXX>") in new stack
-- Executing [[email protected]:10] GotoIf("PJSIP/99-00000006", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing [[email protected]:15] ExecIf("PJSIP/99-00000006", "1?Set(CALLERID(all)="Bob Jones" <712NXXXXXX>)") in new stack
-- Executing [[email protected]:16] ExecIf("PJSIP/99-00000006", "1?Set(CALLERID(all)=Bob Jones 712NXXXXXX)") in new stack
-- Executing [[email protected]:17] ExecIf("PJSIP/99-00000006", "1?Set(CALLERID(all)="Bob Jones" <712NXXXXXX>)") in new stack
-- Executing [[email protected]:18] Set("PJSIP/99-00000006", "CALLERID(name-pres)=prohib_passed_screen") in new stack
-- Executing [[email protected]:19] Set("PJSIP/99-00000006", "CALLERID(num-pres)=prohib_passed_screen") in new stack
-- Executing [[email protected]:20] ExecIf("PJSIP/99-00000006", "0?Set(CALLERID(name)=)") in new stack
-- Executing [[email protected]:21] Set("PJSIP/99-00000006", "CDR(outbound_cnum)= 712NXXXXXX") in new stack
-- Executing [[email protected]:22] Set("PJSIP/99-00000006", "CDR(outbound_cnam)=Bob Jones") in new stack
-- Executing [[email protected]:12] GosubIf("PJSIP/99-00000006", "0?sub-flp-2,s,1()") in new stack
-- Executing [[email protected]:13] Set("PJSIP/99-00000006", "OUTNUM= 1712NXXXXXX") in new stack
-- Executing [[email protected]:14] Set("PJSIP/99-00000006", "custom=SIP/vitel-outbound") in new stack
-- Executing [[email protected]:15] ExecIf("PJSIP/99-00000006", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [[email protected]:16] ExecIf("PJSIP/99-00000006", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [[email protected]:17] Macro("PJSIP/99-00000006", "dialout-trunk-predial-hook,") in new stack
-- Executing [[email protected]:1] MacroExit("PJSIP/99-00000006", "") in new stack
-- Executing [[email protected]:18] GotoIf("PJSIP/99-00000006", "0?bypass,1") in new stack
-- Executing [[email protected]:19] ExecIf("PJSIP/99-00000006", "1?Set(CONNECTEDLINE(num,i)= 1712NXXXXXX)") in new stack
-- Executing [[email protected]:20] ExecIf("PJSIP/99-00000006", "1?Set(CONNECTEDLINE(name,i)=CID: 712NXXXXXX)") in new stack
-- Executing [[email protected]:21] GotoIf("PJSIP/99-00000006", "0?customtrunk") in new stack
-- Executing [[email protected]:22] Dial("PJSIP/99-00000006", "SIP/vitel-outbound/ 1712NXXXXXX,300,Tt") in new stack

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/vitel-outbound/ 1712NXXXXXX
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘PJSIP/99-00000006’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 1712NXXXXXX, 7) exited non-zero on ‘PJSIP/99-00000006’
– Executing [[email protected]:1] Hangup(“PJSIP/99-00000006”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/99-00000006’

Was just going to post another log from a different system with the same issue, but apparently that is against the rules as I see my other post was removed.

J the system wasn’t happy with the posts. I’m afraid the robots get testy. I have reversed their decision, may there not be an uprising :smile:

1 Like

The correct format has always been “firstname another name lastname” <123456789>

be careful with your bracketing and there should be no spaces or other characters in the number between the angle brackets , do I see a leading space or attempted escape in there?. Originally only a maximum 15 UPPERCASE asci characters where allowed in the CID(name) , Vitelity is not however not that stringent any more.

There may be an extra space is the post but not in my cid. I’ve always just sent XXXXXXXXXX as cid from vitelity and bandwidth and even sipstation before one of my customer changes from sipstation to bandwidth. But as you see above I’ve tried everything to get this to work w/out luck.

I just verified on a system that is not 13 and sending caller id with vitelity still works. Something is brokey and I just can’t figure out what.

Here is another 13 system that cid is not working with.

 == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [[email protected]:1] Macro("SIP/7250-00000ed5", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [[email protected]:1] Set("SIP/7250-00000ed5", "TOUCH_MONITOR=1427148259.5559") in new stack
    -- Executing [[email protected]:2] Set("SIP/7250-00000ed5", "AMPUSER=7250") in new stack
    -- Executing [[email protected]:3] GotoIf("SIP/7250-00000ed5", "0?report") in new stack
    -- Executing [[email protected]:4] ExecIf("SIP/7250-00000ed5", "1?Set(REALCALLERIDNUM=7250)") in new stack
    -- Executing [[email protected]:5] Set("SIP/7250-00000ed5", "AMPUSER=7250") in new stack
    -- Executing [[email protected]:6] GotoIf("SIP/7250-00000ed5", "0?limit") in new stack
    -- Executing [[email protected]:7] Set("SIP/7250-00000ed5", "AMPUSERCIDNAME=7250-Matt") in new stack
    -- Executing [[email protected]:8] GotoIf("SIP/7250-00000ed5", "0?report") in new stack
    -- Executing [[email protected]:9] Set("SIP/7250-00000ed5", "AMPUSERCID=7250") in new stack
    -- Executing [[email protected]:10] Set("SIP/7250-00000ed5", "__DIAL_OPTIONS=Ttr") in new stack
    -- Executing [[email protected]:11] Set("SIP/7250-00000ed5", "CALLERID(all)="7250-Matt" <7250>") in new stack
    -- Executing [[email protected]:12] GotoIf("SIP/7250-00000ed5", "0?limit") in new stack
    -- Executing [[email protected]:13] ExecIf("SIP/7250-00000ed5", "1?Set(GROUP(concurrency_limit)=7250)") in new stack
    -- Executing [[email protected]:14] GotoIf("SIP/7250-00000ed5", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [[email protected]:28] Set("SIP/7250-00000ed5", "CALLERID(number)=7250") in new stack
    -- Executing [[email protected]:29] Set("SIP/7250-00000ed5", "CALLERID(name)=7250-Matt") in new stack
    -- Executing [[email protected]:30] Set("SIP/7250-00000ed5", "CDR(cnum)=7250") in new stack
    -- Executing [[email protected]:31] Set("SIP/7250-00000ed5", "CDR(cnam)=7250-Matt") in new stack
    -- Executing [[email protected]:32] Set("SIP/7250-00000ed5", "CHANNEL(language)=en") in new stack
    -- Executing [[email protected]:2] AGI("SIP/7250-00000ed5", "numsearch2.php,1712NXXXXXX") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/numsearch2.php
       > 0x7f97800541a0 -- Probation passed - setting RTP source address to 72.24.239.214:29048
 numsearch2.php,1712NXXXXXX: SETTING CALLER ID TO 402NXXXXXX
 numsearch2.php,1712NXXXXXX: NUMBER LOOKUP SCRIPT INITIATED
 numsearch2.php,1712NXXXXXX: NUMBER DIALED IS 1712NXXXXXX
 numsearch2.php,1712NXXXXXX: CHECKING DO NOT CALL LIST
 numsearch2.php,1712NXXXXXX: 712-NXX-XXXX NOT FOUND ON DO NOT CALL LIST
 numsearch2.php,1712NXXXXXX: CHECKING CUSTOMER DATABASE
 numsearch2.php,1712NXXXXXX: 712-NXX-XXXX NOT FOUND IN CUSTOMER DATABASE
 numsearch2.php,1712NXXXXXX: CALLING 712-NXX-XXXX
    -- AGI Script Executing Application: (Dial) Options: (LOCAL/712-NXX-XXXX)
[2015-03-23 17:04:20] NOTICE[10080][C-00000b4a]: chan_local.c:971 local_call: No such extension/context [email protected] while calling Local channel
    -- Couldn't call LOCAL/712-NXX-XXXX
  == Everyone is busy/congested at this time (0:0/0/0)
    -- <SIP/7250-00000ed5>AGI Script numsearch2.php completed, returning 0
    -- Executing [[email protected]:3] ExecIf("SIP/7250-00000ed5", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [[email protected]:4] Set("SIP/7250-00000ed5", "MOHCLASS=default") in new stack
    -- Executing [[email protected]:5] Set("SIP/7250-00000ed5", "_NODEST=") in new stack
    -- Executing [[email protected]:6] Macro("SIP/7250-00000ed5", "dialout-trunk,2,1712NXXXXXX,,off") in new stack
    -- Executing [[email protected]:1] Set("SIP/7250-00000ed5", "DIAL_TRUNK=2") in new stack
    -- Executing [[email protected]:2] GosubIf("SIP/7250-00000ed5", "0?sub-pincheck,s,1()") in new stack
    -- Executing [[email protected]:3] GotoIf("SIP/7250-00000ed5", "0?disabletrunk,1") in new stack
    -- Executing [[email protected]:4] Set("SIP/7250-00000ed5", "DIAL_NUMBER=1712NXXXXXX") in new stack
    -- Executing [[email protected]:5] Set("SIP/7250-00000ed5", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
    -- Executing [[email protected]:6] Set("SIP/7250-00000ed5", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [[email protected]:7] GotoIf("SIP/7250-00000ed5", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [[email protected]:9] GotoIf("SIP/7250-00000ed5", "0?skipoutcid") in new stack
    -- Executing [[email protected]:10] Set("SIP/7250-00000ed5", "DIAL_TRUNK_OPTIONS=Tt") in new stack
    -- Executing [[email protected]:11] Macro("SIP/7250-00000ed5", "outbound-callerid,2") in new stack
    -- Executing [[email protected]:1] ExecIf("SIP/7250-00000ed5", "0?Set(CALLERPRES(name-pres)=)") in new stack
    -- Executing [[email protected]:2] ExecIf("SIP/7250-00000ed5", "0?Set(CALLERPRES(num-pres)=)") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/7250-00000ed5", "0?Set(REALCALLERIDNUM=402NXXXXXX)") in new stack
    -- Executing [[email protected]:4] GotoIf("SIP/7250-00000ed5", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,7)
    -- Executing [[email protected]:7] Set("SIP/7250-00000ed5", "USEROUTCID=") in new stack
    -- Executing [[email protected]:8] Set("SIP/7250-00000ed5", "EMERGENCYCID=") in new stack
    -- Executing [[email protected]:9] Set("SIP/7250-00000ed5", "TRUNKOUTCID=") in new stack
    -- Executing [[email protected]:10] GotoIf("SIP/7250-00000ed5", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,15)
    -- Executing [[email protected]:15] ExecIf("SIP/7250-00000ed5", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [[email protected]:16] ExecIf("SIP/7250-00000ed5", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [[email protected]:17] ExecIf("SIP/7250-00000ed5", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [[email protected]:18] Set("SIP/7250-00000ed5", "CALLERID(name-pres)=prohib_passed_screen") in new stack
    -- Executing [[email protected]:19] Set("SIP/7250-00000ed5", "CALLERID(num-pres)=prohib_passed_screen") in new stack
    -- Executing [[email protected]:20] Set("SIP/7250-00000ed5", "CDR(outbound_cnum)=402NXXXXXX") in new stack
    -- Executing [[email protected]:21] Set("SIP/7250-00000ed5", "CDR(outbound_cnam)=") in new stack
    -- Executing [[email protected]:12] GosubIf("SIP/7250-00000ed5", "0?sub-flp-2,s,1()") in new stack
    -- Executing [[email protected]:13] Set("SIP/7250-00000ed5", "OUTNUM=1712NXXXXXX") in new stack
    -- Executing [[email protected]:14] Set("SIP/7250-00000ed5", "custom=SIP/vitel-outbound") in new stack
    -- Executing [[email protected]:15] ExecIf("SIP/7250-00000ed5", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
    -- Executing [[email protected]:16] ExecIf("SIP/7250-00000ed5", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
    -- Executing [[email protected]:17] Macro("SIP/7250-00000ed5", "dialout-trunk-predial-hook,") in new stack
    -- Executing [[email protected]:1] MacroExit("SIP/7250-00000ed5", "") in new stack
    -- Executing [[email protected]:18] GotoIf("SIP/7250-00000ed5", "0?bypass,1") in new stack
    -- Executing [[email protected]:19] ExecIf("SIP/7250-00000ed5", "1?Set(CONNECTEDLINE(num,i)=1712NXXXXXX)") in new stack
    -- Executing [[email protected]:20] ExecIf("SIP/7250-00000ed5", "1?Set(CONNECTEDLINE(name,i)=CID:402NXXXXXX)") in new stack
    -- Executing [[email protected]:21] GotoIf("SIP/7250-00000ed5", "0?customtrunk") in new stack
    -- Executing [[email protected]:22] Dial("SIP/7250-00000ed5", "SIP/vitel-outbound/1712NXXXXXX,300,Tt") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/vitel-outbound/1712NXXXXXX
    -- SIP/vitel-outbound-00000ed6 is making progress passing it to SIP/7250-00000ed5
       > 0x7f97ac0302d0 -- Probation passed - setting RTP source address to 66.241.96.222:12384
       > 0x7f97800541a0 -- Switching RTP source address to 10.16.10.15:4008
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/7250-00000ed5' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 1712NXXXXXX, 6) exited non-zero on 'SIP/7250-00000ed5'
    -- Executing [[email protected]:1] Hangup("SIP/7250-00000ed5", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/7250-00000ed5'
       > [INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid,cnum,cnam,outbound_cnum) VALUES ({ ts '2015-03-23 17:04:19' },'7250','7250','1712NXXXXXX','from-internal','SIP/7250-00000ed5','SIP/vitel-outbound-00000ed6','Dial','SIP/vitel-outbound/1712NXXXXXX,300,Tt',6,6,'NO ANSWER',3,'1427148259.5559','7250','7250-Matt','402NXXXXXX')]

Does the call fail right at:-

If so check your PNAT settings and any router’s helper programs.

p.s. What is numsearch2.php ?

Sorry about the numsearch that is an agi script that checks databases for do not call and existing customer before letting the call proceed. It also set’s caller id. But in troubleshooting when this was the only system that had the problem I ruled it out.

These calls don’t fail. They go through and they display a caller id that I can only assume is being set by vitelity. 3057049967 and 3057049968 They only fail when when I use a different sip provider bandwidth.com which I’m pretty sure requires CID to be sent.

This is not a nat issue, they only reason you see the NAT in their is because I just placed those test calls from a remote extension. This is happening on 3 different systems at three different locations, 3 different ISPS, all 3 worked properly until upgrading to FreePBX 13

I have always found Vitelity support to be knowledgeable and helpful , true that was before their acquisition, but I suggest you call them before you try and do much more, everything else looks good to me, if it is bandwidth.com, sorry I can’t help you there, never liked their product.

I just called their support. Although he couldn’t help me, he told me to submit a ticket. He did confirm that he wasn’t getting any caller id from me and I called him sending callerid.

Well that is weird that strange caller id only shows up on my cell that way. WHen I call other people they say it says restricted or anonymous. So it definitely appears as though it’s not sending cid at all.

@jfinstrom @dicko

VItelity Confirms they are not receiving caller id

Hello,

It does appear you’re not passing a Caller ID here:

Mar 22 23:31:08.141 PM XXX.XXX.XXX.XXX > 64.2.142.93 INVITE sip:[email protected] SIP/2.0
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.100.152.50:5060;branch=z9hG4bK31baf3c0
Max-Forwards: 70
From: “Anonymous” sip:[email protected];tag=as47659600
To: sip:[email protected]
Contact: sip:[email protected]:5060
Call-ID: 3[email protected]:5060
CSeq: 102 INVITE
User-Agent: FPBX-13.0.1alpha21(13.2.0)
Date: Mon, 23 Mar 2015 05:31:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 331

v= 0
o= root 1492082195 1492082195 IN IP4 10.100.152.50
s= Asterisk PBX 13.2.0
c= IN IP4 10.100.152.50
t= 0 0
m= audio 12812 RTP/AVP 0 8 3 111 101
a= rtpmap:0 PCMU/8000
a= rtpmap:8 PCMA/8000
a= rtpmap:3 GSM/8000
a= rtpmap:111 G726-32/8000
a= rtpmap:101 telephone-event/8000
a= fmtp:101 0-16
a= ptime:20
a= maxptime:150
a= sendrecv

Then I will leave that with James but will ask you on the way out “do you know what an Alpha version” means, it means it is almost certainly broken in many ways yet and you need to post your problems in the correct place until it can get to beta and then production quality (Usually a few months) , Come on you guys, using alpha stuff needs your input and responsibility to help it’s development, that’s why it is alpha, I suggest you just go back to stable software if you don’t have that capability.

I actually installed it on one of the production machines by accident. The other one I did it on purpose because it was in the process of being deployed and wanted to check it out. The third I did as a troubleshooting step to find out if it was me or the the software.

I have no quams with starting over with stable versions. In fact two of them I’ve already loaded in preparation for that. However, if I didn’t post the issues I’ve ran into here. How would they know about them? How would others that may run into it find out my experience.

I appreciate your responses and feedback. I was hoping this would be an easy fix. But isn’t seeming to be.