-
Support
Frequently Asked Questions
Network Status
Our Infrastructure
Community
Feedback
We greatly appreciate it.
Thank-you!
Note: Please make sure you have contacted FaktorTel and requested the ability to set CallerID on your account.
SIP Connections: The best way to set CallerID on a SIP connection is to use the P-ASSERTED-IDENTITY and PRIVACY flags in your SIP headers.This can be done easily by inserting the following code in your extensions.conf before dialling a number:
exten => _X.,n,SIPAddHeader(P-Asserted-Identity: <sip:${CALLERID(num)}@YOUR_IP>)
exten => _X.,n,SIPAddHeader(Privacy:off)
The " ${CALLERID(num))@YOUR_IP " is replaced with something like: 0755123456@202.32.44.55
with the part before the " @ " being the number you want to send as CallerID.
E.g.
exten => _X.,n,SIPAddHeader(P-Asserted-Identity: <sip:0755123456@202.32.44.55>)
exten => _X.,n,SIPAddHeader(Privacy:off)
The second header is: Privacy:off
Changing this to: Privacy:id
Privacy:off will allow the callerID to be sent through.
You will also have to make a change to SIP.CONF and add the following two settings under the [general] section:
SIP.CONF
[general]
sendrpid=yes ; For Asterisk 1.8 you need sendrpid=pai
trustrpid=yes
IAX Connections:
IAX connections can use the standard Asterisk CallerID command to change the CallerID.The CallerID will then be sent to FaktorTel and passed to the PSTN. The following is how this can be implemented in Asterisk:
exten => _X.,1,Set(CALLERID(num)=0755123456)
Doing this will set the CallerID to 0755123456
If you want to set the callerID to Private simply erase it by doing:
exten => _X.,1,Set(CALLERID(num)=)
E.g 0755123456 or the E164 Format 61755123456.
These are the only two ways to set CallerID.
Invalid CallerID's will be automatically set to Private by FaktorTel and usually by the terminating carrier as well.