Re: [asterisk-users] Expanding my answering-machine system

2023-06-17 Thread Doug Lytle
On 6/16/23 20:29, Steve Matzura wrote: As always, thanks in advance for a kick in the right direction. For both capabilities, you can use Background() instead of Playback() for audio prompts.  Background() allows for interrupting the prompts and continue on with your dialplan. Doug-- _

Re: [asterisk-users] Expanding my answering-machine system

2023-06-17 Thread Steve Matzura
Doug, This is where the weeds start growing. On 6/17/2023 4:55 AM, Doug Lytle wrote: For both capabilities, you can use Background() instead of Playback() for audio prompts.  Background() allows for interrupting the prompts and continue on with your dialplan. Understood. From the book:

Re: [asterisk-users] Expanding my answering-machine system

2023-06-17 Thread Doug Lytle
On 6/17/23 08:47, Steve Matzura wrote: Both Background() and WaitExten()  allow the caller to enter DTMF digits. Asterisk then attempts to find an extension in the current context that matches the digits that the caller entered. If Asterisk finds a match, it will send the call to that extensi

[asterisk-users] Get SIP Call-ID from ARI

2023-06-17 Thread TTT
Based on postings it should be possible to get the SIP Call-ID header value from the ARI. At what point is this value available ? As well, how do I retrieve that value - something like GET /channels/{channelId}/pjsip_header?key=Call-Id But that doesn't work. -- _

Re: [asterisk-users] Get SIP Call-ID from ARI

2023-06-17 Thread Joshua C. Colp
On Sat, Jun 17, 2023 at 2:55 PM TTT wrote: > Based on postings it should be possible to get the SIP Call-ID header > value from the ARI. At what point is this value available ? As well, how > do I retrieve that value – something like > > > > GET /channels/{channelId}/pjsip_header?key=Call-Id >

Re: [asterisk-users] Expanding my answering-machine system

2023-06-17 Thread Steve Matzura
OK, this is how I thought it's supposed to work. It just confounded me why the book would say the Playback() and Background() syntax were the same, then in the very next paragraph give an example that belied that claim. On 6/17/2023 1:46 PM, Doug Lytle wrote: On 6/17/23 08:47, Steve Matzura

Re: [asterisk-users] Expanding my answering-machine system

2023-06-17 Thread Joshua C. Colp
On Sat, Jun 17, 2023 at 7:48 PM Steve Matzura wrote: > OK, this is how I thought it's supposed to work. It just confounded me why > the book would say the Playback() and Background() syntax were the same, > then in the very next paragraph give an example that belied that claim. > The syntax is t

Re: [asterisk-users] Get SIP Call-ID from ARI

2023-06-17 Thread TTT
I tried GET /channels/{channelid}/variable?variable=CHANNEL(pjsip,call-id) But it responds with "message": "Channel not in Stasis application" Since I want to get the call-id for a channel not in stasis I guess that won’t work. Similarly, I can’t force the channel through my own code i

Re: [asterisk-users] Get SIP Call-ID from ARI

2023-06-17 Thread Joshua C. Colp
On Sat, Jun 17, 2023 at 8:41 PM TTT wrote: > I tried > > GET /channels/{channelid}/variable?variable=CHANNEL(pjsip,call-id) > > > > But it responds with > > "message": "Channel not in Stasis application" > > > > Since I want to get the call-id for a channel not in stasis I guess that > won’t work