Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: frederik on September 29, 2009, 09:57:54 PM
-
Hi,
sail-2.3.2-12
My sip-provider screened my pstn-number so i could sent my pstn-number as callerid over my sip-trunk.
On my sip-trunk i set the outbound clid with my pstn-number, but i can't get it displayed if i make a outgoing call over the sip-trunk.
My sip-provider tells me that the callerid isn't send ...
F.
-
SOLVED :
sip.conf :
[voip-provider]
...
sendrpid=yes
F.
-
Nice
There is actually a bug tho' in the SARK code. You should be able to load your own CLID but right now it only works for Digital (i.e ISDN) trunks.
Kind Regards
S
-
I played with this issue when writing a custom app to capture inbound Caller ID and then push it out on a SIP trunk to a cell phone so the original caller info wasn't lost...
I had luck by including BOTH the following in the Trunk Definition:
trustrpid=yes
sendrpid=yes
and in a Custom App by using the following:
exten => _*000X,1,Set(CALLERID(name)="WHOMEVER")
exten => _*000X,n,Set(CALLERID(num)=1234567890)
exten => _*000X,n,SIPAddHeader(P-Asserted-Identity:"${CALLERID(name)}"<${CALLERID(num)}>)
exten => _*000X,n,Dial(SIP/${CELL}@${PROVIDER},,,)
I got this to work with some SIP Carriers that stated Caller ID couldn't be set by the endpoint.
-
Cool,
I'll make a note in the Wiki and we'll get around to fixing the CLID SIP bug
:)
Best
S