Use diff. dial peer on SIP Response 302

parkley
Joined: Mon 05 of Mar, 2007

Use diff. dial peer on SIP Response 302

Posted:Tue 23 of Jun, 2009 (10:12 UTC)
Hi.

When I enable call forward on a phone my Asterisk gets a 302 from the phone when a calls comes in for that phone. Asterisk then dials a new call over my outbound peer. The problem is that the caller ID is set in the FROM
and my upstream provider validates me based upon the FROM.
I do not want to use "fromuser" since I want to show subscriber cli when making a normal call.

My idea is to intercept the 302 and force Asterisk to make the call over a 2nd outbound peer where I use "fromuser".

Is this possible?

Rgds

Parkley