[Asterisk-Dev] sip trustrpid

Richard richard at o-matrix.org
Tue Nov 9 03:06:55 MST 2004


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:237 at test.com>), the call from * to the sip provider uses (From: "237"
<sip:xxxxxx at sipprovider.com>). I'd like to have it use (From: "8005551212"
<sip:xxxxx at sipprovider.com>). 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.

Thanks,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20041109/88337bba/attachment.htm


More information about the asterisk-dev mailing list