Re: [asterisk-users] Voicemail notification by email is missing CallerID info

2017-02-18 Thread Tech Support
I’ll go through it and see what I missed. I can't thank you enough!

John

 

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonathan H
Sent: Saturday, February 18, 2017 11:50 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Voicemail notification by email is missing 
CallerID info

 

This is what comes with voicemail.conf.sample - works for me!

; Change the from, body and/or subject, variables:

; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM,

; VM_CIDNAME, VM_DATE

; Additionally, on forwarded messages, you have the variables:

; ORIG_VM_CALLERID, ORIG_VM_CIDNUM, ORIG_VM_CIDNAME, ORIG_VM_DATE

; You can select between two variables by using dialplan functions, e.g.

; ${IF(${ISNULL(${ORIG_VM_DATE})}?${VM_DATE}:${ORIG_VM_DATE})}

;

; Note: The emailbody config row can only be up to 512 characters due to a

;   limitation in the Asterisk configuration subsystem.

;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}

; The following definition is very close to the default, but the default shows

; just the CIDNAME, if it is not null, otherwise just the CIDNUM, or "an unknown

; caller", if they are both null.

;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just left 
a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from 
${VM_CALLERID}, on ${VM_DATE}, so you might\nwant to check it when you get a 
chance.  Thanks!\n\n\t\t\t\t--Asterisk\n

;

; Note: ${IF()} strips spacing at the beginning and end of its true and false

; values, so a newline cannot be placed at either location.  The word 'so' is

; therefore duplicated, in order for the newline to be interpreted correctly.

;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just 
${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?left:forwarded)} a ${VM_DUR} long 
message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on 
${VM_DATE},\n${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?so:(originally sent 
by ${ORIG_VM_CALLERID} on ${ORIG_VM_DATE})\nso)} you might want to check it 
when you get a chance.  Thanks!\n\n\t\t\t\t--Asterisk\n

 

On 18 February 2017 at 16:35, Tech Support  wrote:
> All;
>
> I am running Asterisk 11.6-cert16 and I have voicemail setup so
> voicemail messages are sent as email attachments. That works fine. However,
> the body of the email contains the CallerID(name), but is missing the
> CallerID(num). For example, the email body looks like this:
>
>
>
>   Just wanted to let you know you were just left a 0:21 long message
> (number 13) in mailbox 101 from WIRELESS CALLER, on Friday, February 17,
> 2017 at 04:48:38 PM so you might want to check it when you get a chance.
> Thanks!
>
>
>
> Checking the CDR’s shows that both the name and number were recorded by
> Asterisk. Am I missing something obvious? Is it a simple config option in
> voicemail.conf? Any insight at all would be greatly appreciated.
>
> Thanks;
>
> John V.
>
>
>
>
> --
> _
> -- 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

-- 
_
-- 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] Voicemail notification by email is missing CallerID info

2017-02-18 Thread Jonathan H
This is what comes with voicemail.conf.sample - works for me!

; Change the from, body and/or subject, variables:
; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM,
; VM_CIDNAME, VM_DATE
; Additionally, on forwarded messages, you have the variables:
; ORIG_VM_CALLERID, ORIG_VM_CIDNUM, ORIG_VM_CIDNAME, ORIG_VM_DATE
; You can select between two variables by using dialplan functions, e.g.
; ${IF(${ISNULL(${ORIG_VM_DATE})}?${VM_DATE}:${ORIG_VM_DATE})}
;
; Note: The emailbody config row can only be up to 512 characters due to a
;   limitation in the Asterisk configuration subsystem.
;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
; The following definition is very close to the default, but the default
shows
; just the CIDNAME, if it is not null, otherwise just the CIDNUM, or "an
unknown
; caller", if they are both null.
;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just
left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox
${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE}, so you might\nwant to
check it when you get a chance.  Thanks!\n\n\t\t\t\t--Asterisk\n
;
; Note: ${IF()} strips spacing at the beginning and end of its true and
false
; values, so a newline cannot be placed at either location.  The word 'so'
is
; therefore duplicated, in order for the newline to be interpreted
correctly.
;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just
${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?left:forwarded)} a ${VM_DUR}
long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from
${VM_CALLERID}, on ${VM_DATE},\n${IF($["${VM_CIDNUM}" =
"${ORIG_VM_CIDNUM}"]?so:(originally sent by ${ORIG_VM_CALLERID} on
${ORIG_VM_DATE})\nso)} you might want to check it when you get a chance.
Thanks!\n\n\t\t\t\t--Asterisk\n

On 18 February 2017 at 16:35, Tech Support  wrote:
> All;
>
> I am running Asterisk 11.6-cert16 and I have voicemail setup so
> voicemail messages are sent as email attachments. That works fine.
However,
> the body of the email contains the CallerID(name), but is missing the
> CallerID(num). For example, the email body looks like this:
>
>
>
>   Just wanted to let you know you were just left a 0:21 long message
> (number 13) in mailbox 101 from WIRELESS CALLER, on Friday, February 17,
> 2017 at 04:48:38 PM so you might want to check it when you get a chance.
> Thanks!
>
>
>
> Checking the CDR’s shows that both the name and number were recorded by
> Asterisk. Am I missing something obvious? Is it a simple config option in
> voicemail.conf? Any insight at all would be greatly appreciated.
>
> Thanks;
>
> John V.
>
>
>
>
> --
> _
> -- 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
-- 
_
-- 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] Voicemail notification by email is missing CallerID info

2017-02-18 Thread Tech Support
All;

I am running Asterisk 11.6-cert16 and I have voicemail setup so
voicemail messages are sent as email attachments. That works fine. However,
the body of the email contains the CallerID(name), but is missing the
CallerID(num). For example, the email body looks like this:

 

  Just wanted to let you know you were just left a 0:21 long message
(number 13) in mailbox 101 from WIRELESS CALLER, on Friday, February 17,
2017 at 04:48:38 PM so you might want to check it when you get a chance.
Thanks!

 

Checking the CDR's shows that both the name and number were recorded by
Asterisk. Am I missing something obvious? Is it a simple config option in
voicemail.conf? Any insight at all would be greatly appreciated.

Thanks;

John V.

 

-- 
_
-- 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] Turn on SIP debugging from DialPlan

2017-02-18 Thread Markus
While we're at it, check out sngrep. Alex B. mentioned it on another 
mailing list a couple days ago.


Screenshots: https://github.com/irontec/sngrep/wiki/Screenshots

Download: https://github.com/irontec/sngrep


Am 18.02.2017 um 05:10 schrieb Markus Weiler:

Hi Derek,

I think Homer (http://sipcapture.org/) is the right answer :-)

HEP Agent will send the SIP trace to a remote Server (res_hep).


Markus


Am 18.02.2017 um 00:18 schrieb Tim Pozar:

You can tell it to just capture SIP traffic and not the RTP traffic.
Nice write up of using TCPdump and wireshark can be found here:

https://blog.flowroute.com/2014/04/10/how-to-capture-sip-packets/

BTW, I have found this works really well in trying to debug RTP traffic
as well.  Wireshark just does the right thing in putting audio back
together.  Very helpful in tracking down in and out of band DTMF
problems that we were having with various carriers.

Tim

On 2/17/17 3:07 PM, Derek Andrew wrote:

The SIP trace will be adequate but this is on a remote system with
limited disk space.

I would love to turn on debugging while making the troublesome calls,
then turn it off afterward.

Tcpdump is great, but starting it and stopping it and keeping all that
data would still be an issue.

d

On Fri, Feb 17, 2017 at 4:56 PM, Tim Pozar mailto:po...@lns.com>> wrote:

 Why not capture the packets with something like tcpdump and run it
 through Wireshark?

 Tim

 On 2/17/17 2:43 PM, Derek Andrew wrote:
 > I have some troublesome numbers that I would like to capture
the SIP
 > dialogue when I am calling them. When I am about to dial the
 number, is
 > there any way to turn on SIP debugging in the dial plan before
I make
 > the call? (and turn it off after the call is completed?)
 >
 >
 >
 >
 >

 --

_
 -- 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
 




--
Copyright 2017 Derek Andrew (excluding quotations)

+1 306 966 4808
Communication and Network Services
Information and Communications Technology
Infrastructure Services
*University of Saskatchewan
*Peterson 120; 54 Innovation Boulevard
Saskatoon,Saskatchewan,Canada. S7N 2V3
Timezone GMT-6

Typed but not read.











--
_
-- 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