Caller ID Not Working - Elastix with GXW 4108 FXO

sudarvendan

Joined
Aug 6, 2010
Messages
3
Likes
0
Points
0
#1
Hi,

I am using Grandstream GXW 4108 PSTN Gateway with Elastix, Outbound Calling is working fine with the proper caller id, but when a incoming call is made from PSTN side through the PSTN GW to Elastix extension i am receiving unknown user,

location: INDIA

Can someone guide me, is there any configuration needs to be done in elastix,

Kindly find the log message,

-- Executing [229@from-trunk:1] GotoIf("SIP/PSTN_GW-b7206330", "0?ext-local|229|1") in new stack
-- Executing [229@from-trunk:2] Macro("SIP/PSTN_GW-b7206330", "user-callerid|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/PSTN_GW-b7206330", "AMPUSER=unknown") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/PSTN_GW-b7206330", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/PSTN_GW-b7206330", "1|Set|REALCALLERIDNUM=unknown") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/PSTN_GW-b7206330", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/PSTN_GW-b7206330", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/PSTN_GW-b7206330", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/PSTN_GW-b7206330", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/PSTN_GW-b7206330", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/PSTN_GW-b7206330", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/PSTN_GW-b7206330", "Using CallerID "" <unknown>") in new stack
-- Executing [229@from-trunk:3] GotoIf("SIP/PSTN_GW-b7206330", "1?skipdb") in new stack
-- Goto (from-trunk,229,5)
-- Executing [229@from-trunk:5] Set("SIP/PSTN_GW-b7206330", "__NODEST=") in new stack
-- Executing [229@from-trunk:6] Set("SIP/PSTN_GW-b7206330", "__BLKVM_OVERRIDE=BLKVM/229/SIP/PSTN_GW-b7206330") in new stack
-- Executing [229@from-trunk:7] Set("SIP/PSTN_GW-b7206330", "__BLKVM_BASE=229") in new stack
-- Executing [229@from-trunk:8] Set("SIP/PSTN_GW-b7206330", "DB(BLKVM/229/SIP/PSTN_GW-b7206330)=TRUE") in new stack
-- Executing [229@from-trunk:9] Set("SIP/PSTN_GW-b7206330", "RRNODEST=") in new stack
-- Executing [229@from-trunk:10] Set("SIP/PSTN_GW-b7206330", "__NODEST=229") in new stack
-- Executing [229@from-trunk:11] Set("SIP/PSTN_GW-b7206330", "RecordMethod=Group") in new stack
-- Executing [229@from-trunk:12] Macro("SIP/PSTN_GW-b7206330", "record-enable|229-221|Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/PSTN_GW-b7206330", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/PSTN_GW-b7206330", "recordingcheck|20100929-132537|1285746937.200") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/PSTN_GW-b7206330", "") in new stack
-- Executing [229@from-trunk:13] GotoIf("SIP/PSTN_GW-b7206330", "1 ?skipsimple") in new stack
-- Goto (from-trunk,229,15)
-- Executing [229@from-trunk:15] Set("SIP/PSTN_GW-b7206330", "RingGroupMethod=hunt-prim") in new stack
-- Executing [229@from-trunk:16] Set("SIP/PSTN_GW-b7206330", "_FMGRP=229") in new stack
-- Executing [229@from-trunk:17] GotoIf("SIP/PSTN_GW-b7206330", "0?doconfirm") in new stack
-- Executing [229@from-trunk:18] Macro("SIP/PSTN_GW-b7206330", "dial|20|tr|229-221") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/PSTN_GW-b7206330", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/PSTN_GW-b7206330", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'unknown' number is 'unknown'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'hunt-prim'
-- dialparties.agi: Added extension 229 to extension map
-- dialparties.agi: Added extension 221 to extension map
-- dialparties.agi: Extension 229 cf is disabled
-- dialparties.agi: Extension 221 cf is disabled
-- dialparties.agi: Extension 229 do not disturb is disabled
-- dialparties.agi: Extension 221 do not disturb is disabled
> dialparties.agi: extnum 229 has: cw: 0; hascfb: 0 [] hascfu: 0 []
dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 229 has ExtensionState: 0
dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 229 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 229
> dialparties.agi: extnum 221 has: cw: 0; hascfb: 0 [] hascfu: 0 []
dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 221 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 221
-- dialparties.agi: Filtered ARG3: 229-221
> dialparties.agi: NODEST: 229 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
> dialparties.agi: NODEST: 229 blkvm enabled macro already in dialopts: trM(auto-blkvm)
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:20] NoOp("SIP/PSTN_GW-b7206330", "Returned from dialparties with hunt groups to dial ") in new stack
-- Executing [s@macro-dial:21] Set("SIP/PSTN_GW-b7206330", "HuntLoop=0") in new stack
-- Executing [s@macro-dial:22] GotoIf("SIP/PSTN_GW-b7206330", "1?a30") in new stack
-- Goto (macro-dial,s,26)
-- Executing [s@macro-dial:26] Set("SIP/PSTN_GW-b7206330", "HuntMember=HuntMember0") in new stack
-- Executing [s@macro-dial:27] GotoIf("SIP/PSTN_GW-b7206330", "0?a32:a35") in new stack
-- Goto (macro-dial,s,31)
-- Executing [s@macro-dial:31] GotoIf("SIP/PSTN_GW-b7206330", "0?a36:a50") in new stack
-- Goto (macro-dial,s,44)
-- Executing [s@macro-dial:44] DBdel("SIP/PSTN_GW-b7206330", "CALLTRACE/") in new stack
-- DBdel: family=CALLTRACE, key=
-- DBdel: Error deleting key from database.
-- Executing [s@macro-dial:45] Goto("SIP/PSTN_GW-b7206330", "s|a42") in new stack
-- Goto (macro-dial,s,38)
-- Executing [s@macro-dial:38] Dial("SIP/PSTN_GW-b7206330", "SIP/229|20|trM(auto-blkvm)") in new stack


Regards,
CS
 

sudarvendan

Joined
Aug 6, 2010
Messages
3
Likes
0
Points
0
#2
Can someone help me.....;)
 

derflanoj

Joined
May 21, 2009
Messages
40
Likes
0
Points
0
#3
Hi, I am using GXW 4104 I was able to setup the call ID by playing around with the settings in FXO line tab, there is a section there that tells PSTN to VOIP Caller ID Setting. I set mine to 3 for ETSI_TAS, the value will depend on your location or whatever your pstn use.
 

Lee Sharp

Joined
Sep 28, 2010
Messages
332
Likes
0
Points
0
#4
The ATA is setting your CID to "unknown."
Code:
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/PSTN_GW-b7206330", "1|Set|REALCALLERIDNUM=unknown") in new stack
So the problem is before Elastix. Look in your grandstream device. It could also be that the telco is not sending CID data.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,916
Messages
130,922
Members
17,598
Latest member
giornaso
Top