I'm confused. What does Asterisk do when it gets a 302 with a new number to forward to? Is there anything I have to do in the dialplan to make this work? I can't find any clear documentation on this issue.
You need promiscredir set to yes on sip.conf ------Mensaje original------ De: Richard Kenner Remitente: asterisk-users-bounces at lists.digium.com Para: asterisk-users at lists.digium.com Responder a: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: [asterisk-users] Confusion on call forwarding Enviado: 30 Mar, 2010 13:38 I'm confused. What does Asterisk do when it gets a 302 with a new number to forward to? Is there anything I have to do in the dialplan to make this work? I can't find any clear documentation on this issue. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Saludos, Juan E. Rodr?guez
> You need promiscredir set to yes on sip.confAnd then what do I do in the dialplan? I.e., what context is the redirect number interpreted in? Google searches on this issue show inconsistent and contradictory information.
After setting promiscredir set to yes * is goign to send the call to the first desrination on the Contact header. ------Mensaje original------ De: Richard Kenner Remitente: asterisk-users-bounces at lists.digium.com Para: asterisk-users at lists.digium.com Responder a: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: Re: [asterisk-users] Confusion on call forwarding Enviado: 30 Mar, 2010 14:56> You need promiscredir set to yes on sip.confAnd then what do I do in the dialplan? I.e., what context is the redirect number interpreted in? Google searches on this issue show inconsistent and contradictory information. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Saludos, Juan E. Rodr?guez
> After setting promiscredir set to yes * is goign to send the call to > the first desrination on the Contact header.In case others run into the problem, the fix was not to set promiscredir to yes in sip.conf, but instead to set FORWARD_CONTEXT in the globals section of the dialplan.
Am 30.03.2010 20:56, schrieb Richard Kenner:>> You need promiscredir set to yes on sip.conf > > And then what do I do in the dialplan? I.e., what context is the > redirect number interpreted in? Google searches on this issue show > inconsistent and contradictory information. >I usually set the context for transfers and forwards (3xx) manually. Set(__TRANSFER_CONTEXT=handleTransfer) Set(__FORWARD_CONTEXT=handleForward) regards klaus