[ previous ] [ next ] [ threads ]
 To :  "yate@v..." <yate@v...>
 From :  Yu Boot <yu@y...>
 Subject :  accfile uplink, no callerID
 Date :  Thu, 29 Jan 2015 17:22:48 +0300
When receiving incoming call from password-protected (accfile.conf) SIP 
trunk, other end (regfile client) don't see any callerID, looks like 
Yate just cut it out.

The only way to mitigate this problem is to ask SIP provider to copy 
callerid to callername variable, and then copy it back before our Yate 
routes call out. But this is impossible sometimes. How to make Yate to 
just pass callerID from accfile trunks without these tricks?


accfile.conf:
[trunk1]
enabled=yes
protocol=sip
formats=alaw
registrar=1.X.X.X:9060
outbound=1.X.X.X:9060
interval=180
username=014716
authname=014716
password=XXXXXXXXXX

regexroute.conf:
[to_client1]
.*$=return;called=0000007;

regfile.conf:
[0000007]
password=XXXXXX