Hello
I have been struggling with this problem for ages, and with my limited experience am out of ideas.
I have setup Asterisk/FreePBX running Kubuntu on basic PC. The aim is to make it a PBX for SIP devices (no POTS stuff).
At the moment all devices are on my LAN. I have a SNOM 300 SIP phone, a X-Lite softphone (Win XP) and Twinkle softphone (Kubuntu) all setup as extensions (5030, 5035, 5031).
They can all call each other no problem. But when the SNOM receives calls from the other extensions it only displays “device” as the caller ID. The softphones do aswell, but they also show the calling ext number below it aswell.
So with my setup I take it I am not passing the correct callerID to display as standard. How can I get the correct CLI to display ?
To get these SIP extensions to call at all I had to create the following to extensions_customer.conf (their context is still “from-internal”):
[from-internal-custom]
; Catch all four digit numbers, no leading zeroes
exten => _[12345789]XXX,1,NoOp("call for "${EXTEN})
exten => _[12345789]XXX,n,Dial(SIP/${EXTEN},60,tr)
exten => _[12345789]XXX,n,Congestion
I had to dig around the place to even find that. Am I missing something here? Is there a more standard, simple built-in way to handle basic SIP extensions ???
Anyway with this, only “device” shows up as the callerID on the SNOM. I should mention that on a previous 3rd party Asterisk setup (which I don’t have access to) the callerID is show the calling extension number on the SNOM.
I have tried many things I have found in this forum that seem (to me) related.
eg.
;exten => s,2,Macro(user_caller_id)
;exten => _[12345789]XXX,n,SIPAddHeader(Alert-Info: ${ALERT_INFO})
;exten => _[12345789]XXX,n,Macro(macro-user-callerid)
;exten => _[12345789]XXX,n,Macro(outbound-callerid)
;exten => _[12345789]XXX,2,SipAddHeader(P-Asserted-Identity:sip:${CALLERIDNUM})
;exten => _[12345789]XXX,n,SipAddHeader(P-Asserted-Identity:)
I am a relative noob to this stuff, but what else for callerID or anything else do I need to add to from-internal-custom to handle internal SIP extensions ?
Cheers