Richard wrote:

Hi,

I have sip trustrpid enabled. If I make a call from sip phone to pstn, the call pulls the right caller-id from “Remote-Party-ID” and sends out to the carrier. It works perfectly.

I also use a SIP provider for long distance. When the sip call is sent to the provider, * ignores the caller-id and uses the original display name in the “From” header.

For example, if the sip call to * has a header field (From: "237" <sip:[EMAIL PROTECTED]>), the call from * to the sip provider uses (From: “237” <sip:[EMAIL PROTECTED]>). I’d like to have it use (From: “8005551212” <sip:[EMAIL PROTECTED]>). So the provider can extract the right caller id from the “from” field and send 8005551212 to PSTN.

Can someone point me the right direction? Where should I make the change? I have searched in chan_sip.c and can’t find a place to modify it.

* Will your SIP provider let you do this?
* Please show the sip.conf section for the sip provider

/O
_______________________________________________
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to