800 and 888 calls not working after update

Hello everyone

I recently update and now I can’t make any 800 or 888 call. Seems to be working but is like people can hear me but I can’t hear them.

And after a few seconds the call hang up.

This only happen with 800 or 888 numbers… any other number works perfect.

Any advice?

Insufficient information.

sudo asterisk -rvvvvvvvvvvv
Asterisk 11.15.0, Copyright © 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 11.15.0 currently running on localhost (pid = 1970)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_START’,{ts ‘2015-03-19 14:43:06.793323’},‘John Smith’,‘1234’,’’,’’,’’,‘8002662278’,‘from-internal’,‘SIP/1234-00000018’,’’,’’,3,’’,‘1426790586.30’,‘1426790586.30’,’’,’’,’’)]
– Executing [8002662278@from-internal:1] Macro(“SIP/1234-00000018”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/1234-00000018”, “TOUCH_MONITOR=1426790586.30”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/1234-00000018”, “AMPUSER=1234”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/1234-00000018”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/1234-00000018”, “1?Set(REALCALLERIDNUM=1234)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/1234-00000018”, “AMPUSER=1234”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/1234-00000018”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/1234-00000018”, “AMPUSERCIDNAME=John Smith”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/1234-00000018”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/1234-00000018”, “AMPUSERCID=1234”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/1234-00000018”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/1234-00000018”, “CALLERID(all)=“John Smith” <1234>”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/1234-00000018”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/1234-00000018”, “1?Set(GROUP(concurrency_limit)=1234)”) in new stack
– Executing [s@macro-user-callerid:14] GosubIf(“SIP/1234-00000018”, “7?sub-ccss,s,1(from-internal,8002662278)”) in new stack
– Executing [s@sub-ccss:1] ExecIf(“SIP/1234-00000018”, “0?Return()”) in new stack
– Executing [s@sub-ccss:2] Set(“SIP/1234-00000018”, “CCSS_SETUP=TRUE”) in new stack
– Executing [s@sub-ccss:3] GosubIf(“SIP/1234-00000018”, “0?monitor_config,1(from-internal,8002662278):monitor_default,1(from-internal,8002662278)”) in new stack
– Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/1234-00000018”, “0?is_exten”) in new stack
– Executing [monitor_default@sub-ccss:2] StackPop(“SIP/1234-00000018”, “”) in new stack
– Executing [monitor_default@sub-ccss:3] Return(“SIP/1234-00000018”, “FALSE”) in new stack
– Executing [s@macro-user-callerid:15] ExecIf(“SIP/1234-00000018”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“SIP/1234-00000018”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,30)
– Executing [s@macro-user-callerid:30] Set(“SIP/1234-00000018”, “CALLERID(number)=1234”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/1234-00000018”, “CALLERID(name)=John Smith”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/1234-00000018”, “CDR(cnum)=1234”) in new stack
– Executing [s@macro-user-callerid:33] Set(“SIP/1234-00000018”, “CDR(cnam)=John Smith”) in new stack
– Executing [s@macro-user-callerid:34] Set(“SIP/1234-00000018”, “CHANNEL(language)=en”) in new stack
– Executing [8002662278@from-internal:2] Gosub(“SIP/1234-00000018”, “sub-record-check,s,1(out,8002662278,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/1234-00000018”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/1234-00000018”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/1234-00000018”, “NOW=1426790586”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/1234-00000018”, “__DAY=19”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/1234-00000018”, “__MONTH=03”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/1234-00000018”, “__YEAR=2015”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/1234-00000018”, “__TIMESTR=20150319-144306”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/1234-00000018”, “__FROMEXTEN=1234”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/1234-00000018”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/1234-00000018”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/1234-00000018”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/1234-00000018”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/1234-00000018”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/1234-00000018”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/1234-00000018”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“SIP/1234-00000018”, “Outbound Recording Check from 1234 to 8002662278”) in new stack
– Executing [out@sub-record-check:2] Set(“SIP/1234-00000018”, “RECMODE=dontcare”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“SIP/1234-00000018”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“SIP/1234-00000018”, “recordcheck,1(dontcare,out,8002662278)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/1234-00000018”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/1234-00000018”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/1234-00000018”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“SIP/1234-00000018”, “”) in new stack
– Executing [8002662278@from-internal:3] ExecIf(“SIP/1234-00000018”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [8002662278@from-internal:4] Set(“SIP/1234-00000018”, “MOHCLASS=default”) in new stack
– Executing [8002662278@from-internal:5] Set(“SIP/1234-00000018”, “_NODEST=”) in new stack
– Executing [8002662278@from-internal:6] Macro(“SIP/1234-00000018”, “dialout-trunk,2,8002662278,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/1234-00000018”, “DIAL_TRUNK=2”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/1234-00000018”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/1234-00000018”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/1234-00000018”, “DIAL_NUMBER=8002662278”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/1234-00000018”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/1234-00000018”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/1234-00000018”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/1234-00000018”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/1234-00000018”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/1234-00000018”, “outbound-callerid,2”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/1234-00000018”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/1234-00000018”, “0?Set(REALCALLERIDNUM=1234)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/1234-00000018”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/1234-00000018”, “USEROUTCID=“John Smith” <5556091234>”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/1234-00000018”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/1234-00000018”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/1234-00000018”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/1234-00000018”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/1234-00000018”, “1?Set(CALLERID(all)=“John Smith” <5556091234>)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/1234-00000018”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/1234-00000018”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“SIP/1234-00000018”, “CDR(outbound_cnum)=5556091234”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“SIP/1234-00000018”, “CDR(outbound_cnam)=John Smith”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/1234-00000018”, “1?sub-flp-2,s,1()”) in new stack
– Executing [s@sub-flp-2:1] ExecIf(“SIP/1234-00000018”, “1?Set(TARGET_FLP_2=18002662278)”) in new stack
– Executing [s@sub-flp-2:2] GotoIf(“SIP/1234-00000018”, “1?match”) in new stack
– Goto (sub-flp-2,s,4)
– Executing [s@sub-flp-2:4] Set(“SIP/1234-00000018”, “DIAL_NUMBER=18002662278”) in new stack
– Executing [s@sub-flp-2:5] Return(“SIP/1234-00000018”, “”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/1234-00000018”, “OUTNUM=18002662278”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/1234-00000018”, “custom=SIP/XXX”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/1234-00000018”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/1234-00000018”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/1234-00000018”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/1234-00000018”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/1234-00000018”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/1234-00000018”, “1?Set(CONNECTEDLINE(num,i)=18002662278)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/1234-00000018”, “1?Set(CONNECTEDLINE(name,i)=CID:5556091234)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/1234-00000018”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“SIP/1234-00000018”, “SIP/XXX/18002662278,300,Tt”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_START’,{ts ‘2015-03-19 14:43:06.840775’},’’,’’,’’,’’,’’,‘s’,‘from-trunk’,‘SIP/XXX-00000019’,’’,’’,3,’’,‘1426790586.31’,‘1426790586.30’,’’,’’,’’)]
– Called SIP/XXX/18002662278
– SIP/XXX-00000019 is making progress passing it to SIP/1234-00000018
> 0x7f866407a0a0 – Probation passed - setting RTP source address to 10.1.10.150:16478
– SIP/XXX-00000019 is making progress passing it to SIP/1234-00000018
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘ANSWER’,{ts ‘2015-03-19 14:43:10.895481’},‘CID:5556091234’,‘8002662278’,’’,’’,’’,‘8002662278’,‘from-trunk’,‘SIP/XXX-00000019’,‘AppDial’,’(Outgoing Line)’,3,’’,‘1426790586.31’,‘1426790586.30’,’’,’’,’’)]
– SIP/XXX-00000019 answered SIP/1234-00000018
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘ANSWER’,{ts ‘2015-03-19 14:43:10.897261’},‘John Smith’,‘5556091234’,‘1234’,’’,‘8002662278’,‘s’,‘macro-dialout-trunk’,‘SIP/1234-00000018’,‘Dial’,‘SIP/XXX/18002662278,300,Tt’,3,’’,‘1426790586.30’,‘1426790586.30’,’’,’’,’’)]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘BRIDGE_START’,{ts ‘2015-03-19 14:43:10.898323’},‘John Smith’,‘5556091234’,‘1234’,’’,‘8002662278’,‘s’,‘macro-dialout-trunk’,‘SIP/1234-00000018’,‘Dial’,‘SIP/XXX/18002662278,300,Tt’,3,’’,‘1426790586.30’,‘1426790586.30’,‘SIP/XXX-00000019’,’’,’’)]
[2015-03-19 14:43:41] NOTICE[2002]: chan_sip.c:28984 check_rtp_timeout: Disconnecting call ‘SIP/XXX-00000019’ for lack of RTP activity in 31 seconds

I will guess that you are in the NANP area and that 800 and 888 are area codes for reverse charged calls.

Assuming that calls to other area codes also use XXX and work, I would say the problem lies in XXX.

The call is being answered, but there is no incoming media, and it eventually gets aborted because of that.

Historically automated reverse charge calls were sometimes implemented as early media. If that is happening here, XXX may be faking answer, but not doing what is needed to forward early media.

If all calls via XXX fail, I would look into the NAT configuration.

I would also note that your dialplan seems to have been generated by some GUI front end. Such dialplans are very complicated and the people on this forum do not have the knowledge to modify or fix them. However, at the moment, the problem appears to be outside Asterisk.

Thanks david55 !