Re: [asterisk-users] Context for 302 Moved response

2022-04-27 Thread David Cunningham
Hi Joshua, Thanks for the reply. In this case we get a special SIP header in the 302, but I guess we'll need to find another solution to use it. On Wed, 27 Apr 2022 at 21:27, Joshua C. Colp wrote: > On Wed, Apr 27, 2022 at 5:33 AM David Cunningham < > dcunning...@voisonics.com> wrote: > >> Hi

Re: [asterisk-users] Context for 302 Moved response

2022-04-27 Thread Joshua C. Colp
On Wed, Apr 27, 2022 at 5:33 AM David Cunningham wrote: > Hi Jon, > > Thank you for the reply. We wanted to read a particular SIP header in the > 302 Moved response, but it seems that Asterisk creates a Local channel for > the redirected call and the SIP_HEADER() function isn't available, so we >

Re: [asterisk-users] Context for 302 Moved response

2022-04-27 Thread David Cunningham
Hi Jon, Thank you for the reply. We wanted to read a particular SIP header in the 302 Moved response, but it seems that Asterisk creates a Local channel for the redirected call and the SIP_HEADER() function isn't available, so we can't really do what we wanted at all. Thanks anyway! On Wed, 27

Re: [asterisk-users] Context for 302 Moved response

2022-04-26 Thread Jon Bonilla (Manwe)
El Wed, 27 Apr 2022 12:27:03 +1200 David Cunningham escribió: > Hello, > > Does anyone know of a way to have a call go to a particular context when a > 302 Moved is received in response to an invite? This is with chan_sip. We > tried setting __TRANSFER_CONTEXT but it didn't seem to have any effe

[asterisk-users] Context for 302 Moved response

2022-04-26 Thread David Cunningham
Hello, Does anyone know of a way to have a call go to a particular context when a 302 Moved is received in response to an invite? This is with chan_sip. We tried setting __TRANSFER_CONTEXT but it didn't seem to have any effect. Basically if a remote device returns a 302 Moved we want to send the c