Inbound DAHDI to SIP Extension

Dear members,
After succesfully setting a BRI DAHDI inbound route (PBXact UC300 & Sangoma Card) and assigning the DID to an extension, I receive the following on incoming call. For privacy reasons XXXXXXXX represents the calling phone number and YYYYYYYY represents the DID number assigned to the BRI service by the carrier.

The issue appears to be assigning an incoming DAHDI to a SIP extension, however can not find sufficiently detailed documentation to assist.

A pointer from anyone is greatly appreciated.

Thanks.

[2017-09-18 19:10:05] VERBOSE[4966][C-00000016] sig_pri.c: Accepting call from 'XXXXXXXX' to 'YYYYYYYY' on channel 0/1, span 1
[2017-09-18 19:10:05] VERBOSE[15731][C-00000016] pbx.c: Executing [[email protected]:1] Set("DAHDI/i1/XXXXXXXX-14", "__FROM_DID=YYYYYYYY") in new stack
[2017-09-18 19:10:05] VERBOSE[15731][C-00000016] pbx.c: Executing [[email protected]:2] NoOp("DAHDI/i1/XXXXXXXX-14", "Received an unknown call with DID set to YYYYYYYY") in new stack
[2017-09-18 19:10:05] VERBOSE[15731][C-00000016] pbx.c: Executing [[email protected]:3] Goto("DAHDI/i1/XXXXXXXX-14", "s,a2") in new stack
[2017-09-18 19:10:05] VERBOSE[15731][C-00000016] pbx_builtins.c: Goto (from-digital,s,2)
[2017-09-18 19:10:05] VERBOSE[15731][C-00000016] pbx.c: Executing [[email protected]:2] Answer("DAHDI/i1/XXXXXXXX-14", "") in new stack
[2017-09-18 19:10:05] WARNING[15731][C-00000016] chan_sip.c: This function can only be used on SIP channels.
[2017-09-18 19:10:05] VERBOSE[15731][C-00000016] pbx.c: Executing [[email protected]:3] Log("DAHDI/i1/XXXXXXXX-14", "WARNING,Friendly Scanner from ") in new stack
[2017-09-18 19:10:05] WARNING[15731][C-00000016] Ext. s: Friendly Scanner from
[2017-09-18 19:10:05] VERBOSE[15731][C-00000016] pbx.c: Executing [[email protected]:4] Wait("DAHDI/i1/XXXXXXXX-14", "2") in new stack
[2017-09-18 19:10:07] VERBOSE[15731][C-00000016] pbx.c: Executing [[email protected]:5] Playback("DAHDI/i1/XXXXXXXX-14", "ss-noservice") in new stack
[2017-09-18 19:10:07] VERBOSE[15731][C-00000016] file.c: <DAHDI/i1/XXXXXXXX-14> Playing 'ss-noservice.alaw' (language 'en')

I’m pretty sure that isn’t the right incoming context for a PSTN call. Perhaps “from-pstn” would work better?

@cynjut, from-digital is a valid inbound context.

@globalgen, you don’t have an inbound route that matches the DID of the inbound call, nor an Any/Any route that will match all inbound numbers.

1 Like

Hi cynjut & lgaetz,
Thank you kindly for your respective replies. lgaetz, I noticed you are also a support engineer with Sangoma. Would you mind kindly having a look at ticket 758589 (Support VPN and SSH open) There is an inbound route defined for this card however perhaps not defined correctly. I can then see what was done and release an “How To” on this post to compliment the existign DAHDI no the wiki which takes us up to this point.

Your assistance is greatly appreciated.

Thanks in advance

Erez (Globalgen)