Thanks Michael!
Since the call is coming in over IAX2 it's:
Set(CDR(userfield)=${CHANNEL(peerip)})
I am using Asterisk 1.8.13.0
Works a treat!
-Graham-
Lonnie Abelbeck wrote on 05/12/12 16:39:
>
> On Dec 5, 2012, at 8:44 AM, Michael Keuter wrote:
>
>>
>> Am 05.12.2012 um 14:49 schrie
On Dec 5, 2012, at 8:44 AM, Michael Keuter wrote:
>
> Am 05.12.2012 um 14:49 schrieb Graham S. Jarvis:
>
>> Hello again,
>>
>> I must be missing or not understanding something - I get:
>>
>> pbx*CLI>
>>-- Accepting AUTHENTICATED call from XXX.XXX.XXX.XXX:
>>> requested format = gsm,
>>> r
Am 05.12.2012 um 14:49 schrieb Graham S. Jarvis:
> Hello again,
>
> I must be missing or not understanding something - I get:
>
> pbx*CLI>
> -- Accepting AUTHENTICATED call from XXX.XXX.XXX.XXX:
>> requested format = gsm,
>> requested prefs = (),
>> actual format = gsm,
>> host prefs = (),
Hello again,
I must be missing or not understanding something - I get:
pbx*CLI>
-- Accepting AUTHENTICATED call from XXX.XXX.XXX.XXX:
> requested format = gsm,
> requested prefs = (),
> actual format = gsm,
> host prefs = (),
> priority = mine
[Dec 5
Yes, David and James and Michael, that should solve Graham's problem nicely. I
saw the "not using custom_cdr" requirement and skipped the better, more obvious
solution.
Thanks,
Lonnie
On Nov 29, 2012, at 9:44 AM, James Babiak wrote:
> Lonnie,
>
> Regarding #1, wouldn't this work:
> Set(CDR(
Am 29.11.2012 um 16:34 schrieb Lonnie Abelbeck:
> Hi Graham,
>
> I'm not aware of logging IP's via #1 or #2.
>
> My only idea would be to send an email for each incoming SIP call, add these
> two lines in you incoming SIP call dialplan: (assuming Asterisk 1.8 or later)
>
> -- extensions.conf
Lonnie,
Regarding #1, wouldn't this work:
Set(CDR(userfield)=${CHANNEL(recvip)})
to show the IP address in the userfield of the CDR report?
I currently use this method, albeit with a different variable, to log
what DID a call came in under.
-James
On 11/29/2012 10:34 AM, Lonnie Abelbeck wrote
Could you not add it to the userfield of the CDR ?
exten => s,n,Set(CDR(userfield)=${CHANNEL(recvip)})
David
On Thu, Nov 29, 2012 at 10:34 AM, Lonnie Abelbeck wrote:
> Hi Graham,
>
> I'm not aware of logging IP's via #1 or #2.
>
> My only idea would be to send an email for each incoming SIP c
Hi Graham,
I'm not aware of logging IP's via #1 or #2.
My only idea would be to send an email for each incoming SIP call, add these
two lines in you incoming SIP call dialplan: (assuming Asterisk 1.8 or later)
-- extensions.conf snippet --
exten => s,n,Set(LOGIP=${CHANNEL(recvip)})
exten => s,n
Hello All,
it's not really an Astlinux issue but does anyone know a way of including the
ip_addr off incoming calls
1. in the cdr file (not using custom_cdr)
2. in the message sent with the e-mail and voicemail file
Any ideas?
-Graham-
--
Hello All,
it's not really an Astlinux issue but does anyone know a way of including the
ip_addr off incoming calls
1. in the cdr file (not using custom_cdr)
2. in the message sent with the e-mail and voicemail file
Any ideas?
-Graham-
--
11 matches
Mail list logo