Re: [asterisk-users] Logger when answer call

2021-11-30 Thread Łukasz Grzywański
Hi Ivan,

please see the documentation:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+19+Application_Dial


   - G( context^exten^*priority* ) - If the call is answered, transfer the
   calling party to the specified *priority* and the called party to the
   specified *priority* plus one.
   NOTE: You cannot use any additional action post answer options in
   conjunction with this option.
  - context
  - exten
  - *priority*


G - should be solved your problem




On Tue, 30 Nov 2021 at 17:19, Ivan Bolognani  wrote:

> Hello to the whole list.
>
> i need help i can't solve the problem.
>
> I need to be able to track in a log file when a user answers the phone.
>
> I want to get a log composed as follows:
> calling number:
> number called:
> extension that answered the call.
>
> now i can log in when i get the call
> calling number
> number called
>
> I cannot know when a person is answering an extension number. (100 - 101 -
> 102 )
>
> this can be found using extensions.conf
>
>
>
> Many tanks
> Ivan Bolognani
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users



-- 

Pozdrawiam,

Łukasz Grzywański
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] stir/shaken

2021-11-30 Thread Joshua C. Colp
On Tue, Nov 30, 2021 at 1:22 PM Henning Follmann 
wrote:

>
> Hello,
> I have some trouble reading the headers.
> Asterisk 16
>
> in my dial plan I have these:
>
> ...
> exten => _X,n,NoOp(Number of STIR/SHAKEN identities: ${STIR_SHAKEN(count)})
> exten => _X,n,NoOp(First STIR/SHAKEN identity: ${STIR_SHAKEN(0,identity)})
> exten => _X,n,NoOp(First STIR/SHAKEN attestation:
> ${STIR_SHAKEN(0,attestation)})
> ...
>
>
> and I do get this:
> -- Executing [@incoming:2] NoOp("PJSIP/flowroute-003c",
> "Number of STIR/SHAKEN identities: 1") in new stack
> -- Executing [**@incoming:3] NoOp("PJSIP/flowroute-003c",
> "First STIR/SHAKEN identity: +1") in new stack
> -- Executing [**@incoming:4] NoOp("PJSIP/flowroute-003c",
> "First STIR/SHAKEN attestation: ") in new stack
>
>
> Why do I not see the attestation?
> Also I do not see any validation. What am I missing here?
>

Unfortunately during recent OpenSIPit testing we encountered issues with
things including verification, and will be revisiting our approach to
STIR/SHAKEN. It may not work right now.

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] stir/shaken

2021-11-30 Thread Henning Follmann

Hello,
I have some trouble reading the headers.
Asterisk 16

in my dial plan I have these:

...
exten => _X,n,NoOp(Number of STIR/SHAKEN identities: ${STIR_SHAKEN(count)})
exten => _X,n,NoOp(First STIR/SHAKEN identity: ${STIR_SHAKEN(0,identity)})
exten => _X,n,NoOp(First STIR/SHAKEN attestation: ${STIR_SHAKEN(0,attestation)})
...


and I do get this:
-- Executing [@incoming:2] NoOp("PJSIP/flowroute-003c", "Number of 
STIR/SHAKEN identities: 1") in new stack
-- Executing [**@incoming:3] NoOp("PJSIP/flowroute-003c", 
"First STIR/SHAKEN identity: +1") in new stack
-- Executing [**@incoming:4] NoOp("PJSIP/flowroute-003c", 
"First STIR/SHAKEN attestation: ") in new stack


Why do I not see the attestation?
Also I do not see any validation. What am I missing here?

-H

-- 
Henning Follmann   | hfollm...@itcfollmann.com


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Logger when answer call

2021-11-30 Thread Ivan Bolognani
Hello to the whole list.

i need help i can't solve the problem.

I need to be able to track in a log file when a user answers the phone.

I want to get a log composed as follows:
calling number:
number called:
extension that answered the call.

now i can log in when i get the call
calling number
number called

I cannot know when a person is answering an extension number. (100 - 101 - 102 
)

this can be found using extensions.conf



Many tanks
Ivan Bolognani
 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users