Peder @ NetworkOblivion
2007-Jul-26 20:57 UTC
[asterisk-users] SetCallerPres and Cisco PRI
Does anybody know if SetCallerPres works on calls via SIP through a Cisco gateway? We are trying to mark outbound calls as anonymous and we set it to prohib, but calls still show outbound callerid. We are SIP from * to the Cisco gateway and then PRI outbound. If we strip the callerid num, then the first number on the PRI gets added as teh callerid, so we can't do that. We need to make it anonymous so that it shows as unknown on the other end. Peder
Hi Peder, You tried blanking the caller ID field and it didn't work? i.e., exten => ...,n,Set(CALLERID(all)=) It worked for me, although my media gateway was not a Cisco one. Whether SetCallerPres() will work depends entirely on what it accomplishes. Does it just alter the cosmetic From: line, and does the Cisco gateway take stock in that? Or does it tack on the draft privacy headers (Remote-Party-ID) and set privacy to on/full? My gut feeling is that SetCallerPres() applies to calls placed directly out of a PRI interface, not SIP, because "presentation" is a term typically applied to caller ID in an ISDN, not a SIP context. It is hard to tell whether this intuition is correct because SetCallerPres() is fundamentally implemented in apps/app_setcallerid.c which calls ast_set_callerid() in main/channel.c and appears to apply to a variety of channel types variously. If this doesn't work, try this: http://www.voip-info.org/wiki/view/P-Asserted-Identity+and+Remote-Party-ID+header A Cisco MGW should support that just fine. Good luck, -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : +1-678-954-0670 Direct : +1-678-954-0671