TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks

siptrunk
configuration
freepbx
Tags: #<Tag:0x00007f702ad59340> #<Tag:0x00007f702ad59160> #<Tag:0x00007f702ad58f80>

#1

I cant use the outbound routes. Every time I start a call I get call again later. That are the logs:

freepbx*CLI>
  == Setting global variable 'SIPDOMAIN' to '192.168.1.165'
  == Using SIP RTP Audio TOS bits 184
  == Using SIP RTP Audio TOS bits 184 in TCLASS field.
  == Using SIP RTP Audio CoS mark 5
-- Executing [05312504948@from-internal:1] Macro("PJSIP/11-00000012", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("PJSIP/11-00000012", "TOUCH_MONITOR=1590306339.18") in new stack
-- Executing [s@macro-user-callerid:2] Set("PJSIP/11-00000012", "AMPUSER=11") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/11-00000012", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/11-00000012", "1?Set(REALCALLERIDNUM=11)") in new stack
-- Executing [s@macro-user-callerid:5] Set("PJSIP/11-00000012", "AMPUSER=11") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/11-00000012", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("PJSIP/11-00000012", "AMPUSERCIDNAME=Marlon Otto") in new stack
-- Executing [s@macro-user-callerid:8] ExecIf("PJSIP/11-00000012", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("PJSIP/11-00000012", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("PJSIP/11-00000012", "AMPUSERCID=11") in new stack
-- Executing [s@macro-user-callerid:11] Set("PJSIP/11-00000012", "__DIAL_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-user-callerid:12] Set("PJSIP/11-00000012", "CALLERID(all)="Marlon Otto" <11>") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/11-00000012", "0?Set(CALLERID(all)=EXTERNAL)") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("PJSIP/11-00000012", "0?limit") in new stack
-- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/11-00000012", "1?Set(GROUP(concurrency_limit)=11)") in new stack
-- Executing [s@macro-user-callerid:16] ExecIf("PJSIP/11-00000012", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:17] NoOp("PJSIP/11-00000012", "Macro Depth is 1") in new stack
-- Executing [s@macro-user-callerid:18] GotoIf("PJSIP/11-00000012", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] GotoIf("PJSIP/11-00000012", "1?continue") in new stack
-- Goto (macro-user-callerid,s,38)
-- Executing [s@macro-user-callerid:38] Set("PJSIP/11-00000012", "CALLERID(number)=11") in new stack
-- Executing [s@macro-user-callerid:39] Set("PJSIP/11-00000012", "CALLERID(name)=Marlon Otto") in new stack
-- Executing [s@macro-user-callerid:40] GotoIf("PJSIP/11-00000012", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:41] Set("PJSIP/11-00000012", "CDR(cnam)=Marlon Otto") in new stack
-- Executing [s@macro-user-callerid:42] Set("PJSIP/11-00000012", "CDR(cnum)=11") in new stack
-- Executing [s@macro-user-callerid:43] Set("PJSIP/11-00000012", "CHANNEL(language)=de_DE") in new stack
-- Executing [05312504948@from-internal:2] Gosub("PJSIP/11-00000012", "sub-record-check,s,1(out,05312504948,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("PJSIP/11-00000012", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("PJSIP/11-00000012", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("PJSIP/11-00000012", "NOW=1590306339") in new stack
-- Executing [s@sub-record-check:4] Set("PJSIP/11-00000012", "__DAY=24") in new stack
-- Executing [s@sub-record-check:5] Set("PJSIP/11-00000012", "__MONTH=05") in new stack
-- Executing [s@sub-record-check:6] Set("PJSIP/11-00000012", "__YEAR=2020") in new stack
-- Executing [s@sub-record-check:7] Set("PJSIP/11-00000012", "__TIMESTR=20200524-094539") in new stack
-- Executing [s@sub-record-check:8] Set("PJSIP/11-00000012", "__FROMEXTEN=11") in new stack
-- Executing [s@sub-record-check:9] Set("PJSIP/11-00000012", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("PJSIP/11-00000012", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("PJSIP/11-00000012", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("PJSIP/11-00000012", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("PJSIP/11-00000012", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("PJSIP/11-00000012", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("PJSIP/11-00000012", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("PJSIP/11-00000012", "Outbound Recording Check from 11 to 05312504948") in new stack
-- Executing [out@sub-record-check:2] Set("PJSIP/11-00000012", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("PJSIP/11-00000012", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("PJSIP/11-00000012", "recordcheck,1(dontcare,out,05312504948)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/11-00000012", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/11-00000012", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("PJSIP/11-00000012", "") in new stack
-- Executing [out@sub-record-check:8] Return("PJSIP/11-00000012", "") in new stack
-- Executing [05312504948@from-internal:3] ExecIf("PJSIP/11-00000012", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [05312504948@from-internal:4] Set("PJSIP/11-00000012", "MOHCLASS=default") in new stack
-- Executing [05312504948@from-internal:5] Set("PJSIP/11-00000012", "_NODEST=") in new stack
-- Executing [05312504948@from-internal:6] Macro("PJSIP/11-00000012", "dialout-trunk,1,05312504948,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("PJSIP/11-00000012", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/11-00000012", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
-- Executing [s@macro-dialout-trunk:3] GosubIf("PJSIP/11-00000012", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/11-00000012", "0?Set(CALLERID(num)=11)") in new stack
-- Executing [s@macro-dialout-trunk:5] GotoIf("PJSIP/11-00000012", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("PJSIP/11-00000012", "DIAL_NUMBER=05312504948") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("PJSIP/11-00000012", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("PJSIP/11-00000012", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("PJSIP/11-00000012", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:10] GotoIf("PJSIP/11-00000012", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:11] GotoIf("PJSIP/11-00000012", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("PJSIP/11-00000012", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Macro("PJSIP/11-00000012", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/11-00000012", "11") in new stack
-- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/11-00000012", "") in new stack
-- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/11-00000012", "off") in new stack
-- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/11-00000012", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/11-00000012", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:6] ExecIf("PJSIP/11-00000012", "0?Set(REALCALLERIDNUM=11)") in new stack
-- Executing [s@macro-outbound-callerid:7] ExecIf("PJSIP/11-00000012", "0?Set(AMPUSER=11)") in new stack
-- Executing [s@macro-outbound-callerid:8] GotoIf("PJSIP/11-00000012", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] Set("PJSIP/11-00000012", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:13] Set("PJSIP/11-00000012", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:14] Set("PJSIP/11-00000012", "TRUNKOUTCID=+495316157762") in new stack
-- Executing [s@macro-outbound-callerid:15] GotoIf("PJSIP/11-00000012", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,21)
-- Executing [s@macro-outbound-callerid:21] ExecIf("PJSIP/11-00000012", "1?Set(CALLERID(all)=+495316157762)") in new stack
-- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/11-00000012", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:23] ExecIf("PJSIP/11-00000012", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:24] ExecIf("PJSIP/11-00000012", "0?Set(CALLERID(all)=11)") in new stack
-- Executing [s@macro-outbound-callerid:25] Set("PJSIP/11-00000012", "TIOHIDE=no") in new stack
-- Executing [s@macro-outbound-callerid:26] ExecIf("PJSIP/11-00000012", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:27] ExecIf("PJSIP/11-00000012", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:28] ExecIf("PJSIP/11-00000012", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:29] ExecIf("PJSIP/11-00000012", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:30] Set("PJSIP/11-00000012", "CDR(outbound_cnum)=+495316157762") in new stack
-- Executing [s@macro-outbound-callerid:31] Set("PJSIP/11-00000012", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:14] GosubIf("PJSIP/11-00000012", "0?sub-flp-1,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:15] Set("PJSIP/11-00000012", "OUTNUM=05312504948") in new stack
-- Executing [s@macro-dialout-trunk:16] Set("PJSIP/11-00000012", "custom=PJSIP") in new stack
-- Executing [s@macro-dialout-trunk:17] ExecIf("PJSIP/11-00000012", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Ttr)") in new stack
-- Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/11-00000012", "0?Set(DIAL_TRUNK_OPTIONS=TtrM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:19] Macro("PJSIP/11-00000012", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/11-00000012", "") in new stack
-- Executing [s@macro-dialout-trunk:20] GotoIf("PJSIP/11-00000012", "0?skipcrm") in new stack
-- Executing [s@macro-dialout-trunk:21] Set("PJSIP/11-00000012", "__CRM_DIRECTION=OUTBOUND") in new stack
-- Executing [s@macro-dialout-trunk:22] Set("PJSIP/11-00000012", "__CRM_DESTINATION=05312504948") in new stack
-- Executing [s@macro-dialout-trunk:23] Set("PJSIP/11-00000012", "__CRM_SOURCE=11") in new stack
-- Executing [s@macro-dialout-trunk:24] AGI("PJSIP/11-00000012", "agi://127.0.0.1/sangomacrm.agi") in new stack
-- <PJSIP/11-00000012>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
-- Executing [s@macro-dialout-trunk:25] Set("PJSIP/11-00000012", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
-- Executing [s@macro-dialout-trunk:26] NoOp("PJSIP/11-00000012", "CRM Finished") in new stack
-- Executing [s@macro-dialout-trunk:27] GotoIf("PJSIP/11-00000012", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:28] ExecIf("PJSIP/11-00000012", "1?Set(CONNECTEDLINE(num,i)=05312504948)") in new stack
-- Executing [s@macro-dialout-trunk:29] GotoIf("PJSIP/11-00000012", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:30] ExecIf("PJSIP/11-00000012", "0?Set(DIAL_TRUNK_OPTIONS=tr)") in new stack
-- Executing [s@macro-dialout-trunk:31] Dial("PJSIP/11-00000012", "PJSIP/05312504948@Vodafone-SIP-Trunk,300,Ttrb(func-apply-sipheaders^s^1,(1))") in new stack
-- PJSIP/Vodafone-SIP-Trunk-00000013 Internal Gosub(func-apply-sipheaders,s,1(1)) start
-- Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/Vodafone-SIP-Trunk-00000013", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
-- Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/Vodafone-SIP-Trunk-00000013", "Applying SIP Headers to channel PJSIP/Vodafone-SIP-Trunk-00000013") in new stack
-- Executing [s@func-apply-sipheaders:3] Set("PJSIP/Vodafone-SIP-Trunk-00000013", "TECH=PJSIP") in new stack
-- Executing [s@func-apply-sipheaders:4] Set("PJSIP/Vodafone-SIP-Trunk-00000013", "SIPHEADERKEYS=") in new stack
-- Executing [s@func-apply-sipheaders:5] While("PJSIP/Vodafone-SIP-Trunk-00000013", "0") in new stack
-- Jumping to priority 13
-- Executing [s@func-apply-sipheaders:14] Return("PJSIP/Vodafone-SIP-Trunk-00000013", "") in new stack
  == Spawn extension (from-pstn-pciheader, 05312504948, 1) exited non-zero on 'PJSIP/Vodafone-SIP-Trunk-00000013'
-- PJSIP/Vodafone-SIP-Trunk-00000013 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
-- Called PJSIP/05312504948@Vodafone-SIP-Trunk
  == Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:32] NoOp("PJSIP/11-00000012", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
-- Executing [s@macro-dialout-trunk:33] GotoIf("PJSIP/11-00000012", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("PJSIP/11-00000012", "RC=21") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/11-00000012", "21,1") in new stack
-- Goto (macro-dialout-trunk,21,1)
-- Executing [21@macro-dialout-trunk:1] Goto("PJSIP/11-00000012", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/11-00000012", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] ExecIf("PJSIP/11-00000012", "1?Set(CALLERID(number)=11)") in new stack
-- Executing [05312504948@from-internal:7] Macro("PJSIP/11-00000012", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("PJSIP/11-00000012", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("PJSIP/11-00000012", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("PJSIP/11-00000012", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("PJSIP/11-00000012", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
   > 0x7fed98025df0 -- Strict RTP learning after remote address set to: 172.18.11.218:4098
-- <PJSIP/11-00000012> Playing 'all-circuits-busy-now.g722' (language 'de_DE')
   > 0x7fed98025df0 -- Strict RTP learning after remote address set to: 172.18.11.218:4098
   > 0x7fed98025df0 -- Strict RTP qualifying stream type: audio
   > 0x7fed98025df0 -- Strict RTP switching source address to 192.168.1.151:4098
-- <PJSIP/11-00000012> Playing 'please-try-call-later.g722' (language 'de_DE')
-- Executing [s@macro-outisbusy:5] Congestion("PJSIP/11-00000012", "20") in new stack
  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'PJSIP/11-00000012' in macro 'outisbusy'
  == Spawn extension (from-internal, 05312504948, 7) exited non-zero on 'PJSIP/11-00000012'
-- Executing [h@from-internal:1] Macro("PJSIP/11-00000012", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/11-00000012", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/11-00000012", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("PJSIP/11-00000012", " montior file= ") in new stack
-- Executing [s@macro-hangupcall:5] GotoIf("PJSIP/11-00000012", "1?skipagi") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] Hangup("PJSIP/11-00000012", "") in new stack
  == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'PJSIP/11-00000012' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/11-00000012'
-- PJSIP/11-00000012 Internal Gosub(crm-hangup,s,1) start
-- Executing [s@crm-hangup:1] NoOp("PJSIP/11-00000012", "Sending Hangup to CRM") in new stack
-- Executing [s@crm-hangup:2] NoOp("PJSIP/11-00000012", "HANGUP CAUSE: 34") in new stack
-- Executing [s@crm-hangup:3] ExecIf("PJSIP/11-00000012", "0?Set(__CRM_VOICEMAIL=)") in new stack
-- Executing [s@crm-hangup:4] NoOp("PJSIP/11-00000012", "MASTER CHANNEL: 1590306339.18 = 1590306339.18") in new stack
-- Executing [s@crm-hangup:5] GotoIf("PJSIP/11-00000012", "0?return") in new stack
-- Executing [s@crm-hangup:6] Set("PJSIP/11-00000012", "__CRM_HANGUP=1") in new stack
-- Executing [s@crm-hangup:7] AGI("PJSIP/11-00000012", "agi://127.0.0.1/sangomacrm.agi") in new stack
-- <PJSIP/11-00000012>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
-- Executing [s@crm-hangup:8] Return("PJSIP/11-00000012", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/11-00000012'
-- PJSIP/11-00000012 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

Thanks for help
~Marlon


(Richard Smith) #2

This is just telling you it failed but not really why it failed. You would be better off running a PCAP trace to see what is wrong with the trunk. It could be just an incorrect formatting of the outbound DDI that is causing it to fail.


#3

How can I run that? Maybe it’s something with the Context header. I don’t know how to set it up for Vodafone


(Richard Smith) #4

From CLI you can run something like

tcpdump -w 0001.pcap -i eth0

If your not familiar with pcaps it might not be that helpful. Can you get support from Vodafone on the config.


#5

At the Asterisk command prompt, type
pjsip set logger on
and make a test call. The SIP trace will appear in the Asterisk log, along with the regular entries. With luck, this will show why Vodafone rejected the call.


#6

I replaced private data with censored:

https://hastebin.com/imusuwezuj.coffeescript


#7

See


If you have an Outbound Proxy set up, that could be your issue (and solution).
However, sip.kabelfon.vodafone.de has an A record that resolves to 88.134.209.241, so it seems that Outbound Proxy should not be required.

If you still have trouble, please post screenshots of the pjsip settings for your trunk, both General and Advanced tabs.


#8

I removed Outbound Proxy it still won’t work. I attached some screenshots of the configuration

freepbx*CLI> pjsip show registrations

 <Registration/ServerURI..............................>  <Auth..........>  <Status.......>
==========================================================================================

 Vodafone-SIP-Trunk/sip:sip.kabelfon.vodafone.de         Vodafone-SIP-Trunk  Registered


#9

Try setting Outbound Proxy to
sip:sip.kabelfon.vodafone.de;lr
and Force rport to No.

If this also doesn’t work, please post a new log.


#10

I changed it. Still, won’t work:
https://hastebin.com/mivuzujago.coffeescript


#11

Sorry, I don’t know what’s wrong. The SIP URI on line 284 of your paste is missing the destination number. Usually, that’s caused by outbound proxy routing. However, the ;lr does not appear in the Route header on line 296 and I don’t know why. Perhaps try setting Outbound Proxy to
sip:88.134.209.241;lr
and also try restarting (not just reloading Asterisk).

If this doesn’t work, set Outbound Proxy blank (as you have it now) and post a new log. Maybe the SIP URI is wrong for some other reason, though I couldn’t spot any problem with your trunk config.


#12

Outbound Proxy on sip:88.134.209.241;lr and rebooted:


Logs: https://hastebin.com/sopederofa.coffeescript

Outbound Proxy blank and rebooted:
Logs:https://hastebin.com/oyevusodif.coffeescript

Someone said that could happen if Context is set to something wrong. Is this true?


#13

Sorry, my bad. The ; needs to be escaped. For Outbound Proxy, try
sip:sip.kabelfon.vodafone.de\;lr
If no luck, post a new log.


#14

https://hastebin.com/evazuwoyub.coffeescript


#15

OK, some progress. Try setting From User to
+4953161XXXXX
and test. If you get a different error, leave that in place but try sending the called number as
+4953125XXXXX


(Daniel Friedman) #16

Hello @TechHome,

you can use this manual https://www.pierluigigrossi.it/2019/11/19/vodafone-voip-su-freepbx/ (translate it to your language) to setup your PJSIP trunk with Vodafone in Germany. Just adapt the servers and your CLI to the German domains according to your trunk settings that they sent you.

Thank you,

Daniel Friedman
Trixton LTD.


#17

Thanks. I can now call someone but receive calls wont work. Nothing happens


#18

I can send calls but can’t receive calls now.


(Daniel Friedman) #19

Hello @TechHome,

Send the logs from the pbx on incoming calls.

Thank you,

Daniel Friedman
Trixton LTD.


#20

https://hastebin.com/iwohotihuf.makefile