Re: [asterisk-users] Preserve CDR unique across multiple servers

2015-06-26 Thread Tech Support
Check out the “uniqueid” parameter in cdr.conf and cdr_adaptive_odbc.conf. John V. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Rui Mota Sent: Friday, June 26, 2015 7:05 AM To: asterisk-users@lists.digium.com Subject:

[asterisk-users] Same PJSIP username with differents domains

2015-06-26 Thread Ludovic Gasc
Hi, In PJSIP configuration, I thought that from_domain parameter in a endpoint permits to have two SIP peers with the same usernames with a different domain. I've tested at the transport level, I see no changes. I've also tested with realm parameter in auth configuration, it seems to change

Re: [asterisk-users] Same PJSIP username with differents domains

2015-06-26 Thread Ludovic Gasc
Thank you a lot Joshua, it works as excepted. Have a nice week-end. -- Ludovic Gasc (GMLudo) http://www.gmludo.eu/ 2015-06-26 16:14 GMT+02:00 Joshua Colp jc...@digium.com: Ludovic Gasc wrote: Hi, In PJSIP configuration, I thought that from_domain parameter in a endpoint permits to have

Re: [asterisk-users] asterisk email to fax

2015-06-26 Thread Tiago Geada
we use a PHP web page, that takes a few formats, PDF being the most common, anc convert it to TIFF. If conversion succeeds we allow to download the TIFF file as a preview. Then the user confirms and the PHP places a .call file in asterisk spool On 25 June 2015 at 19:51, Ryan, Travis

[asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Tom Peters
Switched from Asterisk 1.8 to 13.3.2. Now it logs to /var/log/asterisk/full (good) as well as /var/log/messages (not good). Anyone know why? # grep -v ^; logger.conf [general] [logfiles] console = notice,warning,error messages = error full = notice,warning,error,debug,verbose,dtmf,fax

Re: [asterisk-users] Preserve CDR unique across multiple servers

2015-06-26 Thread Tiago Geada
Hi, We use sip headers to send the linkedid across servers, and place it into CDR as remoteLinkedId On 26 June 2015 at 15:18, Rui Mota ruim...@gmail.com wrote: I am already using the unique in both servers, but both generate different id’s, but i am unable to get the original one from the

Re: [asterisk-users] Same PJSIP username with differents domains

2015-06-26 Thread Joshua Colp
Ludovic Gasc wrote: Hi, In PJSIP configuration, I thought that from_domain parameter in a endpoint permits to have two SIP peers with the same usernames with a different domain. I've tested at the transport level, I see no changes. I've also tested with realm parameter in auth configuration,

Re: [asterisk-users] Asterisk dialplan best practices syntax

2015-06-26 Thread Steve Edwards
On Fri, 26 Jun 2015, Ludovic Gasc wrote: 1. What's the official notation of each line: = or = ? In the wiki of Asterisk, I see very often =, however, what's the reason for both syntaxes authorized ? Historical ? I'm not 'official,' but I have a strong preference for just '=.' Using '='

Re: [asterisk-users] Preserve CDR unique across multiple servers

2015-06-26 Thread Rui Mota
I am already using the unique in both servers, but both generate different id’s, but i am unable to get the original one from the gateway box to store it in the final CDR… -- Rui Mota Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday 26 June 2015 at 14:52, Tech Support

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Tom Peters
Ok, commented out that line. It's still doing it. Reloaded dialplan. Please don't tell me I have to restart asterisk. Thomas M. Peters | Systems Administrator | tpet...@mcts.org Desk: 414.343.1720 | Helpdesk: x3400 or helpd...@mcts.org Tiago Geada tiago.ge...@gmail.com 6/26/2015 12:07 PM

Re: [asterisk-users] Preserve CDR unique across multiple servers

2015-06-26 Thread Remi Quezada
I had that same issue but I use SIP not IAX. What I ended up doing was adding a SIP CALL ID field in custom_cdr module and setting it in the dialplan. Remi On 06/26/2015 07:04 AM, Rui Mota wrote: Hi. I am using two servers in my configuration: one for phones registration and another one

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Steve Edwards
On Fri, 26 Jun 2015, Dale Noll wrote: I added a filter to the /etc/rsyslog.conf file :syslogtag, contains, asterisk stop Syslog is still receiving the messages, but is discarding them. Nice to learn a new (to me) feature of rsyslog. What does 'logger show channels' show? -- Thanks in

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Carlos Chavez
On 2015-06-26 12:14, Tom Peters wrote: Ok, commented out that line. It's still doing it. Reloaded dialplan. Please don't tell me I have to restart asterisk. asterisk -rx logger reload -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez dCAP #1349 +52 (55)9116-91161 --

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Tom Peters
Still doing it. And the messages in there (/var/log/messages) are not just errors. They look a lot like the verbose log entries I'm seeing in /var/log/asterisk/full Recall that my original logger.conf had messages = error in it. Jun 22 03:23:39 deneb asterisk: [Jun 22 03:23:39] -- Called

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Dale Noll
The line you commented out was writing errors to /var/log/asterisk/messages The problem you are having is the logging to /var/log/messages via syslog. It appears that Asterisk is sending verbose logging out to syslog even though logger.conf does not have syslog configured. I am not sure why

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Tiago Geada
messages = error states to log error messages to 'messages' log file On 26 June 2015 at 17:50, Tom Peters tpet...@mcts.org wrote: Switched from Asterisk 1.8 to 13.3.2. Now it logs to /var/log/asterisk/full (good) as well as /var/log/messages (not good). Anyone know why? # grep -v ^;

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Dale Noll
On Fri, Jun 26, 2015 at 2:13 PM, Steve Edwards asterisk@sedwards.com wrote: Please don't top-post. Sorry, Gmail got me there. On Fri, 26 Jun 2015, Dale Noll wrote: I turned on the messages that he had in the file again, all the logs were in /var/log/asterisk and it does not show

Re: [asterisk-users] Asterisk 13 FAX

2015-06-26 Thread Lacy Moore
On Wed, Jun 24, 2015 at 2:51 AM, A J Stiles asterisk_l...@earthshod.co.uk wrote: On Wednesday 24 Jun 2015, Ivan Demkovitch wrote: Hello team! I’m planning to add fax functionality to my PBX. From research it seems that there is 2 options: spandsp and Digium. I lean towards Digium app,

[asterisk-users] Asterisk dialplan best practices syntax

2015-06-26 Thread Ludovic Gasc
Hi, I've two yocto questions about the syntax of dialplan: 1. What's the official notation of each line: = or = ? In the wiki of Asterisk, I see very often =, however, what's the reason for both syntaxes authorized ? Historical ? 2. To write info in logs/console, you have two commands: NoOp and

[asterisk-users] Preserve CDR unique across multiple servers

2015-06-26 Thread Rui Mota
Hi. I am using two servers in my configuration: one for phones registration and another one as gateway, where all the providers are connected. Both are connected through an IAX trunk. I am having some trouble on matching both CDR’s, since durations for a call are not always the same in both