We use asterisk 1.4.35 and the latest freepbx 2.8
When we forward calls (database or followme) the new outgoing call is setup with the CLI of the caller.
We use a siptrunk and are allowed to setup calls with our own numbers.
In de dialparties.agi I found:
// From this point forward, Set KEEPCID in the channel so subsequent calls, CF, etc. retain the incoming
// CID that get sent down channel local.
So I changed it in:
And made it read only.
Even after a restart of the server still no change.
When I call to the extension with cellphone 0647954905 it is setting up a call from the calling cellphone to the cellphone the extension has a forward for.
The provider is not happy that we setup calls from numbers we dont own and told us to stop it.
Anybody here with suggestions?
With Ngrep I get this:
U 2010/09/08 08:57:19.594552 our pbx:5060 -> provider:5060
INVITE sip:[email protected] SIP/2.0.
Via: SIP/2.0/UDP our pbx:5060;branch=zxhG4bK7b9c9266;rport.
From: “0647954905” sip:[email protected];tag=as392b951f.
To: sip:[email protected].
Contact: <sip:[email protected] pbx>.
Call-ID: [email protected].
CSeq: 102 INVITE.
User-Agent: Asterisk PBX.
Date: Wed, 08 Sep 2010 06:57:19 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO.