[asterisk-users] T.38 not working - help needed with log interpretation

2014-12-02 Thread Recursive
Dear all,

I have the following situation:

Local T.38 endpoint - ASTERISK - SIP provider (with T.38 support)

I am trying to send a fax from my local T.38 endpoint to arbitrary external fax 
numbers (which I am not in control of, so I don't know if the other end 
supports T.38, is connected to a PBX, who is their provider, and so on), of 
course trying to use T.38 at least from my local endpoint to the provider's 
gateway. This always fails.

I have recorded the respective network traffic with Wireshark. From the log, I 
can see that the training is successful. The transmission fails exactly at the 
moment when it should switch to T.38. I think that my endpoint is misbehaving 
in that situation and wanted to make sure that I am right by asking the experts.

Here is an excerpt of the log (the part which I am considering relevant):

No. TimeSourceDestination   Protocol Length 
Info
  14308 16.089226   192.168.20.48 192.168.20.14 RTP  214
PT=ITU-T G.711 PCMU, SSRC=0x8A086DE, Seq=6, Time=23840
  14311 16.109178   83.125.8.155  192.168.20.48 RTP  214
PT=ITU-T G.711 PCMU, SSRC=0x71FD8337, Seq=41621, Time=24000
  14312 16.110788   192.168.20.48 192.168.20.14 RTP  214
PT=ITU-T G.711 PCMU, SSRC=0x8A086DE, Seq=63334, Time=24000
  14313 16.118096   83.125.8.71   192.168.20.48 SIP/SDP  988
Request: INVITE sip:000387839679@79.211.71.113:64280, in-dialog | 
  14314 16.118466   192.168.20.48 83.125.8.71   SIP  633
Status: 100 Trying | 
  14315 16.118739   192.168.20.48 192.168.20.14 SIP/SDP  923
Request: INVITE sip:bCo9m7OfHWK2Y2sb@192.168.20.14:5060, in-dialog | 
  14321 16.169196   192.168.20.14 192.168.20.48 SIP/SDP  982
Status: 200 OK | 
  14322 16.170900   192.168.20.48 192.168.20.14 SIP  476
Request: ACK sip:bCo9m7OfHWK2Y2sb@192.168.20.14:5060 | 
  14323 16.171160   192.168.20.48 83.125.8.71   SIP/SDP  951
Status: 200 OK | 
  14329 16.208396   83.125.8.71   192.168.20.48 SIP  559
Request: ACK sip:000387839679@79.211.71.113:64280 | 
  14453 17.611041   192.168.20.14 192.168.20.48 SIP/SDP  1204   
Request: INVITE sip:004921123704...@spock-asterisk.home.omeganet.de:5060, 
in-dialog | 
  14454 17.611304   192.168.20.48 192.168.20.14 SIP  577
Status: 100 Trying | 
  14649 22.611128   192.168.20.48 192.168.20.14 SIP  612
Status: 488 Not acceptable here | 
  14650 22.661007   192.168.20.14 192.168.20.48 UDP  42 
Source port: 5060  Destination port: 5060[Malformed Packet]
  14651 23.111663   192.168.20.48 192.168.20.14 SIP  612
Status: 488 Not acceptable here | 
  14652 23.162024   192.168.20.14 192.168.20.48 UDP  42 
Source port: 5060  Destination port: 5060[Malformed Packet]
  14653 24.112190   192.168.20.48 192.168.20.14 SIP  612
Status: 488 Not acceptable here | 
  14654 24.162038   192.168.20.14 192.168.20.48 UDP  42 
Source port: 5060  Destination port: 5060[Malformed Packet]
  14655 25.838900   192.168.20.14 192.168.20.48 SIP  484
Request: BYE sip:004921123704144@192.168.20.48:5060 | 
  14656 25.839076   192.168.20.48 192.168.20.14 SIP  519
Status: 500 Server error | 
  14657 26.110508   192.168.20.48 192.168.20.14 SIP  612
Status: 488 Not acceptable here | 
  14658 26.161125   192.168.20.14 192.168.20.48 UDP  42 
Source port: 5060  Destination port: 5060[Malformed Packet]
  19910 30.111548   192.168.20.48 192.168.20.14 SIP  612
Status: 488 Not acceptable here | 
  19911 30.162368   192.168.20.14 192.168.20.48 UDP  42 
Source port: 5060  Destination port: 5060[Malformed Packet]

192.168.20.14 is my local T.38 endpoint, 192.168.20.48 is ASTERISK, and 
83.125.8.xxx are the provider's gateways / servers. My interpretation of the 
log is as follows:

- The first three packets are the end of the training (quite sure about that)
- Packets 14313, 14314: The provider re-invites asterisk for T.38 (confirmed by 
viewing the packet's details), asterisk answers Trying ... to the provider
- Packets 14315, 14321, 14322: Asterisk re-invites the local endpoint (again 
confirmed by looking into the packet's details), the local endpoint answers 
OK, and asterisk ACKs the OK.
- Packets 14323, 14329: Asterisk accepts the invitation from the provider by 
sending OK to the provider, and the provider ACKs the OK.
- Packets 14453, 14454 and 14649: The local endpoint again tries to re-invite 
asterisk for T.38 (confirmed by looking into the packet's details), Asterisk 
answers Trying and then refuses, saying 488: Not acceptable here
- From then on, things go 

Re: [asterisk-users] Confbridge

2014-12-02 Thread Thorsten Göllner
Take a look here:

http://asteriskfaqs.org/tag/confbridge/page/2

Am 02.12.2014 03:37, schrieb Bryant Zimmerman:
 I am doing dynamic conference bridges using confbridge in asterisk 11.
 Is there a way to toggle off an on recording of an ongoing conference call
 I have figured out how to record a conference if it is turned on when
 someone enters.
  
 Also I have noticed that when setting music_on_hold_class dynamically
 it does not override what is set on the channel.

 exten = s,n,Set(CONFBRIDGE(user,music_on_hold_class)=latin)

 Does anyone have any ideas on how I might fix this as well?
  
  

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] Asterisk ARA with Multi tenant solution

2014-12-02 Thread virendra bhati
Hi team,
I had implementation complete customized IPPBX solution with the help on
Asterisk , ARA and a2billing for billing purpose. Now only issue I come is
if a customer A and B want to used similar extension rang then it's only
possible with adding account-code like 100e12345 and 100e67890.
But in GUI I will manage display and other features but issue come when
customers want to register with Asterisk service.
So customers will try 100 not 100e12345, or 100e67890.
So my question is can we by pass this or any other alternative solution by
which we may got solution?
Any clue will be appreciated.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] On Fedora, kernel update resets /var/run/asterisk owner to root.root

2014-12-02 Thread sean darcy
On Fedora 20, every time the kernel updates, /var/run/asterisk owner is 
set to root.root.  I'm running asterisk under user asterisk.


Is there any way to keep /var/run/asterisk as asterisk.asterisk. Or do I 
find a new place to put asterisk.pid?


sean


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] On Fedora, kernel update resets /var/run/asterisk owner to root.root

2014-12-02 Thread Jeffrey Ollie
Are you using the Fedora RPMs or are you compiling it yourself?  If
you're compiling it yourself, you'll need to create a file called
/etc/tmpfiles.d/asterisk.conf with this content:

d /run/asterisk 0755 asterisk asterisk

On Fedora /var/run is a symlink to /run, and /run is a tmpfs
partition, which means it gets wiped out every time you reboot.
systemd-tmpfiles uses the files in /etc/tmpfiles.d and
/usr/lib/tmpfiles.d to recreate files/directories at boot time.


On Tue, Dec 2, 2014 at 1:22 PM, sean darcy seandar...@gmail.com wrote:
 On Fedora 20, every time the kernel updates, /var/run/asterisk owner is set
 to root.root.  I'm running asterisk under user asterisk.

 Is there any way to keep /var/run/asterisk as asterisk.asterisk. Or do I
 find a new place to put asterisk.pid?

 sean


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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



-- 
Jeff Ollie

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] On Fedora, kernel update resets /var/run/asterisk owner to root.root

2014-12-02 Thread Jeffrey Ollie
On Tue, Dec 2, 2014 at 1:22 PM, sean darcy seandar...@gmail.com wrote:

 Or do I
 find a new place to put asterisk.pid?

Also, if you use the native systemd unit file, you no longer need a
PID file, although you still need /run/asterisk to store the control
socket.

-- 
Jeff Ollie

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] On Fedora, kernel update resets /var/run/asterisk owner to root.root

2014-12-02 Thread sean darcy

On 12/02/2014 02:46 PM, Jeffrey Ollie wrote:

On Tue, Dec 2, 2014 at 1:22 PM, sean darcy seandar...@gmail.com wrote:


Or do I
find a new place to put asterisk.pid?


Also, if you use the native systemd unit file, you no longer need a
PID file, although you still need /run/asterisk to store the control
socket.



So systemd is taking over the galaxy.

Put asterisk.conf in /etc/tmpfiles.d, and all worked. It needs to be 
included in the rpm.


I still need ctl so I can access * remotely.

Thanks for the help.

sean


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] On Fedora, kernel update resets /var/run/asterisk owner to root.root

2014-12-02 Thread Tzafrir Cohen
On Tue, Dec 02, 2014 at 04:00:25PM -0500, sean darcy wrote:
 On 12/02/2014 02:46 PM, Jeffrey Ollie wrote:
 On Tue, Dec 2, 2014 at 1:22 PM, sean darcy seandar...@gmail.com wrote:
 
 Or do I
 find a new place to put asterisk.pid?
 
 Also, if you use the native systemd unit file, you no longer need a
 PID file, although you still need /run/asterisk to store the control
 socket.
 
 
 So systemd is taking over the galaxy.

No. /run has become a tmpfs directory. /var/run has been a tmpfs in
Debian (tmpfs or deleted at startup) even before systemd.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] On Fedora, kernel update resets /var/run/asterisk owner to root.root

2014-12-02 Thread Jeffrey Ollie
On Tue, Dec 2, 2014 at 3:00 PM, sean darcy seandar...@gmail.com wrote:

 Put asterisk.conf in /etc/tmpfiles.d, and all worked. It needs to be
 included in the rpm.

It's already in the RPMs distributed by Fedora.  I wouldn't know about
the RPMs distributed by Digium.

-- 
Jeff Ollie

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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