Cannot determine best translation path since one capability supports no formats

– Executing [12039874400@from-internal:1] Macro(“Message/ast_msg_queue”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“Message/ast_msg_queue”, “TOUCH_MONITOR=1710518940.0”) in new stack
– Executing [s@macro-user-callerid:2] Set(“Message/ast_msg_queue”, “CHANCONTEXT=”) in new stack
– Executing [s@macro-user-callerid:3] Progress(“Message/ast_msg_queue”, “”) in new stack
– Executing [s@macro-user-callerid:4] Set(“Message/ast_msg_queue”, “CHANCONTEXT=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“Message/ast_msg_queue”, “CHANEXTENCONTEXT=ast_msg_queue”) in new stack
– Executing [s@macro-user-callerid:6] Set(“Message/ast_msg_queue”, “CHANEXTEN=ast_msg_queue”) in new stack
– Executing [s@macro-user-callerid:7] Set(“Message/ast_msg_queue”, “CALLERID(number)=”) in new stack
– Executing [s@macro-user-callerid:8] Set(“Message/ast_msg_queue”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:9] Set(“Message/ast_msg_queue”, “HOTDESCKCHAN=ast_msg_queue”) in new stack
– Executing [s@macro-user-callerid:10] Set(“Message/ast_msg_queue”, “HOTDESKEXTEN=ast_msg_queue”) in new stack
– Executing [s@macro-user-callerid:11] Set(“Message/ast_msg_queue”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-user-callerid:12] ExecIf(“Message/ast_msg_queue”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“Message/ast_msg_queue”, “0?report”) in new stack
– Executing [s@macro-user-callerid:15] ExecIf(“Message/ast_msg_queue”, “1?Set(REALCALLERIDNUM=)”) in new stack
– Executing [s@macro-user-callerid:16] Set(“Message/ast_msg_queue”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:17] GotoIf(“Message/ast_msg_queue”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:18] Set(“Message/ast_msg_queue”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:19] ExecIf(“Message/ast_msg_queue”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:20] GotoIf(“Message/ast_msg_queue”, “1?report”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [s@macro-user-callerid:29] NoOp(“Message/ast_msg_queue”, “Macro Depth is 1”) in new stack
– Executing [s@macro-user-callerid:30] GotoIf(“Message/ast_msg_queue”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,31)
– Executing [s@macro-user-callerid:31] GotoIf(“Message/ast_msg_queue”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,50)
– Executing [s@macro-user-callerid:50] Set(“Message/ast_msg_queue”, “CALLERID(number)=”) in new stack
– Executing [s@macro-user-callerid:51] Set(“Message/ast_msg_queue”, “CALLERID(name)=”) in new stack
– Executing [s@macro-user-callerid:52] GotoIf(“Message/ast_msg_queue”, “1?cnum”) in new stack
– Goto (macro-user-callerid,s,54)
– Executing [s@macro-user-callerid:54] Set(“Message/ast_msg_queue”, “CDR(cnum)=”) in new stack
– Executing [s@macro-user-callerid:55] Set(“Message/ast_msg_queue”, “CHANNEL(language)=en”) in new stack
– Executing [12039874400@from-internal:2] Gosub(“Message/ast_msg_queue”, “sub-record-check,s,1(out,12039874400,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“Message/ast_msg_queue”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“Message/ast_msg_queue”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“Message/ast_msg_queue”, “NOW=1710518940”) in new stack
– Executing [s@sub-record-check:4] Set(“Message/ast_msg_queue”, “__DAY=15”) in new stack
– Executing [s@sub-record-check:5] Set(“Message/ast_msg_queue”, “__MONTH=03”) in new stack
– Executing [s@sub-record-check:6] Set(“Message/ast_msg_queue”, “__YEAR=2024”) in new stack
– Executing [s@sub-record-check:7] Set(“Message/ast_msg_queue”, “__TIMESTR=20240315-120900”) in new stack
– Executing [s@sub-record-check:8] Set(“Message/ast_msg_queue”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:9] Set(“Message/ast_msg_queue”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“Message/ast_msg_queue”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“Message/ast_msg_queue”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“Message/ast_msg_queue”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“Message/ast_msg_queue”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“Message/ast_msg_queue”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“Message/ast_msg_queue”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“Message/ast_msg_queue”, “Outbound Recording Check from unknown to 12039874400”) in new stack
– Executing [out@sub-record-check:2] Set(“Message/ast_msg_queue”, “RECMODE=”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“Message/ast_msg_queue”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“Message/ast_msg_queue”, “recordcheck,1(dontcare,out,12039874400)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“Message/ast_msg_queue”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“Message/ast_msg_queue”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“Message/ast_msg_queue”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“Message/ast_msg_queue”, “”) in new stack
– Executing [12039874400@from-internal:3] ExecIf(“Message/ast_msg_queue”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [12039874400@from-internal:4] Set(“Message/ast_msg_queue”, “_ROUTEID=3”) in new stack
– Executing [12039874400@from-internal:5] Set(“Message/ast_msg_queue”, “_ROUTENAME=VoIP_Innovations-Out”) in new stack
– Executing [12039874400@from-internal:6] Set(“Message/ast_msg_queue”, “MOHCLASS=default”) in new stack
– Executing [12039874400@from-internal:7] Set(“Message/ast_msg_queue”, “_CALLERIDNAMEINTERNAL=”) in new stack
– Executing [12039874400@from-internal:8] Set(“Message/ast_msg_queue”, “_CALLERIDNUMINTERNAL=”) in new stack
– Executing [12039874400@from-internal:9] Set(“Message/ast_msg_queue”, “_EMAILNOTIFICATION=FALSE”) in new stack
– Executing [12039874400@from-internal:10] Set(“Message/ast_msg_queue”, “_NODEST=”) in new stack
– Executing [12039874400@from-internal:11] Macro(“Message/ast_msg_queue”, “dialout-trunk,1,12039874400,”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“Message/ast_msg_queue”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“Message/ast_msg_queue”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [s@macro-dialout-trunk:3] GosubIf(“Message/ast_msg_queue”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:4] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(num)=)”) in new stack
– Executing [s@macro-dialout-trunk:5] GotoIf(“Message/ast_msg_queue”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“Message/ast_msg_queue”, “DIAL_NUMBER=12039874400”) in new stack
– Executing [s@macro-dialout-trunk:7] Set(“Message/ast_msg_queue”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dialout-trunk:8] Set(“Message/ast_msg_queue”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:9] Set(“Message/ast_msg_queue”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:10] GotoIf(“Message/ast_msg_queue”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,12)
– Executing [s@macro-dialout-trunk:12] GotoIf(“Message/ast_msg_queue”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:13] Macro(“Message/ast_msg_queue”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] NoOp(“Message/ast_msg_queue”, “”) in new stack
– Executing [s@macro-outbound-callerid:2] NoOp(“Message/ast_msg_queue”, “”) in new stack
– Executing [s@macro-outbound-callerid:3] NoOp(“Message/ast_msg_queue”, “”) in new stack
– Executing [s@macro-outbound-callerid:4] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(name-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:5] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(num-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:6] Set(“Message/ast_msg_queue”, “HOTDESCKCHAN=ast_msg_queue”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“Message/ast_msg_queue”, “HOTDESKEXTEN=ast_msg_queue”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“Message/ast_msg_queue”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-outbound-callerid:9] ExecIf(“Message/ast_msg_queue”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-outbound-callerid:10] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-outbound-callerid:11] Set(“Message/ast_msg_queue”, “ALLOWTHISROUTE=NO”) in new stack
– Executing [s@macro-outbound-callerid:12] ExecIf(“Message/ast_msg_queue”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“Message/ast_msg_queue”, “0?Hangup()”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“Message/ast_msg_queue”, “1?Set(REALCALLERIDNUM=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“Message/ast_msg_queue”, “0?Set(AMPUSER=unknown)”) in new stack
– Executing [s@macro-outbound-callerid:16] GotoIf(“Message/ast_msg_queue”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,20)
– Executing [s@macro-outbound-callerid:20] Set(“Message/ast_msg_queue”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:21] Set(“Message/ast_msg_queue”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:22] ExecIf(“Message/ast_msg_queue”, “0?Set(SCDEXT=YES)”) in new stack
– Executing [s@macro-outbound-callerid:23] ExecIf(“Message/ast_msg_queue”, “0?Set(EMERGENCYCID=)”) in new stack
– Executing [s@macro-outbound-callerid:24] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-outbound-callerid:25] ExecIf(“Message/ast_msg_queue”, “0?Set(EMERGENCYCID=)”) in new stack
– Executing [s@macro-outbound-callerid:26] Set(“Message/ast_msg_queue”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:27] GotoIf(“Message/ast_msg_queue”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,33)
– Executing [s@macro-outbound-callerid:33] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:34] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:35] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:36] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:37] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:38] Set(“Message/ast_msg_queue”, “TIOHIDE=no”) in new stack
– Executing [s@macro-outbound-callerid:39] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:40] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:41] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:42] ExecIf(“Message/ast_msg_queue”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:43] Set(“Message/ast_msg_queue”, “CDR(outbound_cnum)=”) in new stack
– Executing [s@macro-outbound-callerid:44] Set(“Message/ast_msg_queue”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:14] GosubIf(“Message/ast_msg_queue”, “0?sub-flp-1,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:15] Set(“Message/ast_msg_queue”, “OUTNUM=12039874400”) in new stack
– Executing [s@macro-dialout-trunk:16] Set(“Message/ast_msg_queue”, “custom=PJSIP”) in new stack
– Executing [s@macro-dialout-trunk:17] ExecIf(“Message/ast_msg_queue”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [s@macro-dialout-trunk:18] ExecIf(“Message/ast_msg_queue”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“Message/ast_msg_queue”, “0?AGI(allowlist-autoadd.agi,)”) in new stack
– Executing [s@macro-dialout-trunk:20] Macro(“Message/ast_msg_queue”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“Message/ast_msg_queue”, “”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“Message/ast_msg_queue”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:22] ExecIf(“Message/ast_msg_queue”, “0?Set(CONNECTEDLINE(num,i)=12039874400)”) in new stack
– Executing [s@macro-dialout-trunk:23] ExecIf(“Message/ast_msg_queue”, “0?Set(CONNECTEDLINE(name,i)=CID:)”) in new stack
– Executing [s@macro-dialout-trunk:24] ExecIf(“Message/ast_msg_queue”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden))”) in new stack
– Executing [s@macro-dialout-trunk:25] GotoIf(“Message/ast_msg_queue”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:26] ExecIf(“Message/ast_msg_queue”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
– Executing [s@macro-dialout-trunk:27] Set(“Message/ast_msg_queue”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
– Executing [s@macro-dialout-trunk:28] Dial(“Message/ast_msg_queue”, “PJSIP/12039874400@voipInn-1-Qr7hQAtoYtYpfL8__B1E,300,b(func-apply-sipheaders^s^1,(1))”) in new stack
– PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000 Internal Gosub(func-apply-sipheaders,s,1(1)) start
– Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “Applying SIP Headers to channel PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”) in new stack
– Executing [s@func-apply-sipheaders:2] Set(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “TECH=PJSIP”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “SIPHEADERKEYS=Alert-Info”) in new stack
– Executing [s@func-apply-sipheaders:4] While(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “1”) in new stack
– Executing [s@func-apply-sipheaders:5] Set(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “sipheader=unset”) in new stack
– Executing [s@func-apply-sipheaders:6] ExecIf(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “0?SIPRemoveHeader(Alert-Info:)”) in new stack
– Executing [s@func-apply-sipheaders:7] ExecIf(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “1?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
[2024-03-15 12:09:00] ERROR[22281]: res_pjsip_header_funcs.c:723 remove_header: No headers had been previously added to this session.
– Executing [s@func-apply-sipheaders:8] ExecIf(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “0?Set(sipheader=http://127.0.0.1;info=unset)”) in new stack
– Executing [s@func-apply-sipheaders:9] ExecIf(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “0?Set(sipheader=http://127.0.0.1unset)”) in new stack
– Executing [s@func-apply-sipheaders:10] ExecIf(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “0?SIPAddHeader(Alert-Info:unset)”) in new stack
– Executing [s@func-apply-sipheaders:11] ExecIf(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack
– Executing [s@func-apply-sipheaders:12] EndWhile(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “”) in new stack
– Executing [s@func-apply-sipheaders:4] While(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “0”) in new stack
– Executing [s@func-apply-sipheaders:13] Return(“PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000”, “”) in new stack
== Spawn extension (from-pstn, 12039874400, 1) exited non-zero on ‘PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000’
– PJSIP/voipInn-1-Qr7hQAtoYtYpfL8__B1E-00000000 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
– Called PJSIP/12039874400@voipInn-1-Qr7hQAtoYtYpfL8__B1E
[2024-03-15 12:09:00] ERROR[22212][C-00000001]: translate.c:1402 ast_translator_best_choice: Cannot determine best translation path since one capability supports no formats
== Spawn extension (macro-dialout-trunk, s, 28) exited non-zero on ‘Message/ast_msg_queue’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 12039874400, 11) exited non-zero on 'Message/ast_msg_queue

I’m using Linphone for connecting my asterisk server, while calls are working, messages are not working. While sending a message I’m getting this error

This is the result of trying to handle a message in dialplan intended for voice calls.

Were you expecting an out of dialogue message? If so, what configuration did you make to handle it?

I am new to this and I didn’t create any configuration for handling the messages. I’m using from-internal dial plan for calling and texting.

I’m using PJSIP library and using UDP technology for calling and messaging. I am actually a Mobile Developer so I don’t have any idea regarding this.

I’m not sure of the current position on SIP out of dialogue messaging in FreePBX, but I remember seeing people having to write custom configuration. Also note that there is little consistency between providers on how to get messages in and out of the public network, see for example: New open source SMS Connector module

Also, if you intend to send messages to US public mobile network numbers, you will need to register under their 10DLC rules.

I’ll leave it to someone more familiar with the process to tell you how to handle incoming out of dialogue messages, under FreePBX, as I would have to go back to Asterisk first principles.

I have myserverdomain/ucp and I’m able to send messages there but I want to implement into my own App like Limphone

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.