[Asterisk-Dev] Re: PATCH: Ability to override "From" for calls to a peer, also fix
inaddrcmp sense
Mark Spencer
markster at digium.com
Wed Apr 9 09:13:11 MST 2003
already fixed the sense problem this morning. Does "setcallerid" and
"fromdomain" combined not set the ability to totally override on the
calls?
Mark
On Wed, 9 Apr 2003, Stephen Davies wrote:
> Hi Mark,
>
> With this patch I'm able to make PSTN calls via Packet8. The patch adds a
> "from=" for SIP peers, allowing you to specifically set the From header to
> be used on calls out to that peer.
>
> I use it like this:
>
> [packet8.net]
> type=peer
> host=packet8.net
> from="Steve Davies - +1 847-897-4611" <sip:1234567890 at packet8.net>
>
> When calls go out to Packet8 this is the From header that will be
> used. Including the right magic number in the SIP URI seems to be enough
> authentication for them. (so I'll keep my magic number to myself...)
>
> I think this will be useful with other providers too. I'll test
> iConnectHere this evening.
>
> By the way - Packet8 advertises that it is G723.1 only - but in fact for
> outgoing (to PSTN) calls it will do G711 too. For inbound (from
> PSTN) calls their gateway wants only G723.1 from us.
>
> This patch also fixes the sense of the inaddrcmp test, and adds what I
> think are useful and important debug messages showing where users and
> peers are matched for calls.
>
> Regards,
> Steve
>
More information about the asterisk-dev
mailing list