Re: [asterisk-users] ATA hangs up at 30 seconds

2008-07-18 Thread Felipe Trevisan
Thanks Steve,

The reset worked, and now I can access the configuration panel.

Can you give more details on how should I handle the 30 seconds issue? How
could I manage the dial plan to answer the call?
Today it works like this:


Call from PSTN comes in the ATA, it picks up the call and hot dial a group
number in my asterisk, this group rings several SIP extensions. I pickup a
ringing softphone and start the conversation. This converstion then, hangs
up at 30 seconds.


The other way round:
I pick up a softphone extension, have to dial the ATA number (216), it
answers automatically and gives me the PSTN tone for dialing, then I have to
dial the number. This call also hangs up at 30 seconds.

I still have not been able to activate a one stage dialing with this ZOOM
ATA. Yesterday the support from Zoom send me some instruction (attached
below) on how to configure it, but I still have not been able to apply it to
my asterisk server.

Any instruction would be nice.

Thanks,

Felipe


---Instruction from Zoom
Support---
Felipe,

This is information on how single stage dialing works in regards to ATA and
Asterisk
Enable this when you enable VOIP to PSTN bridging.

Enable Single Stage dialing in ATA in the Voip to PSTN Bridging.  You also
need to setup your asterisk to support this and these are the options.

This is how single-stage dialing works:
This feature works by examining the username in the From: header of a SIP
INVITE. If the username is different from the username of any account on the
ATA, the fxo port will go off hook and automatically dial the number in the
username of the From: field.
If the user has configured a security code for VoIP to PSTN dialing, the
security code is included as a prefix to the number to dial. If the security
code matches, the following digits are dialed out the FXO port. If the
security code doesn't match, the call is shunted to the local instrument
(i.e. to the FXS port).
Example I:
Device is registered as [EMAIL PROTECTED]
INVITE arrives with From: field 2124442121
ATA comes off-hook and dials 2124442121 to the FXO port. It opens a
connection between this call and the party that sent the INVITE.
Example II:
Device is registered as [EMAIL PROTECTED]
User has configured security code of 9876
INVITE arrives with From: field 98762124442121
ATA comes off-hook and dials 2124442121 to the FXO port. It opens a
connection between this call and the party that sent the INVITE.
Example III:
Device is registered as [EMAIL PROTECTED]
User has configured security code of 9876
INVITE arrives with From: field 67892124442121
ATA connects call directly to the FXS port.
Regards
ZOom Tech Support
Joyce Phillips

---End of instructions from Zoom
Support-

























On Thu, Jul 17, 2008 at 6:52 PM, Steve Totaro 
[EMAIL PROTECTED] wrote:

 Generally, when you see a call always hang up at 30 seconds it is
 because you are not answering in your dialplan before doing other
 things.

 As for the reset, you may want to hold in the reset button for like 30
 seconds, pull the power plug and plug it back in after 10 seconds
 while holding down the reset and keep holding it for at least another
 30 seconds after you cycle the power.

 Thanks,
 Steve T

 On Thu, Jul 17, 2008 at 4:50 PM, Felipe Trevisan [EMAIL PROTECTED]
 wrote:
  My Zoom 5801 ATA hangs up at 30 seconds every call.
  I do not think it´s an Asterisk issue, as calls on the SIP trunk goes in
 and
  out normally.
 
  Below is the CLI message.
  216 is the extension number assigned to the FXS extension port on the
 ATA.
 
 
  Another problem that came up while I was trying to solve the first
 problem,
  is that I´ve disabled the internal HTTP server from the ATA, and I can no
  longer access the configuration panel through the browser window. I´ve
 tried
  a reset puching the small button on the back, but ot simply won´t do
  nothing.
  Any clues?
 
  Thanks a lot,
 
  Felipe
 
 
  
 
  [Kserver*CLI
== Spawn extension (macro-dial, s, 7) exited non-zero on
  'SIP/216-b7803460' in macro 'dial'
 == Spawn extension (macro-dial, s, 7) exited non-zero on
  'SIP/216-b7803460'
   -- Executing [EMAIL PROTECTED]:1] [1;36;40mMacro [0;37;40m(
  [1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40mhangupcall [0;37;40m)
 in
  new stack
   -- Executing [EMAIL PROTECTED]:1] [1;36;40mResetCDR [0;37;40m(
  [1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40mw [0;37;40m) in new
 stack
   -- Executing [EMAIL PROTECTED]:2] [1;36;40mNoCDR [0;37;40m(
  [1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40m [0;37;40m) in new
 stack
   -- Executing [EMAIL PROTECTED]:3] [1;36;40mGotoIf [0;37;40m(
  [1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40m1?skiprg [0;37;40m) in
 new
  stack
   -- Goto (macro-hangupcall,s,6)
   -- Executing [EMAIL PROTECTED]:6] [1;36;40mGotoIf [0;37;40m(
  [1;35;40mSIP/216

[asterisk-users] ATA hangs up at 30 seconds

2008-07-17 Thread Felipe Trevisan
My Zoom 5801 ATA hangs up at 30 seconds every call.
I do not think it´s an Asterisk issue, as calls on the SIP trunk goes in and
out normally.

Below is the CLI message.
216 is the extension number assigned to the FXS extension port on the ATA.


Another problem that came up while I was trying to solve the first problem,
is that I´ve disabled the internal HTTP server from the ATA, and I can no
longer access the configuration panel through the browser window. I´ve tried
a reset puching the small button on the back, but ot simply won´t do
nothing.
Any clues?

Thanks a lot,

Felipe




[Kserver*CLI
  == Spawn extension (macro-dial, s, 7) exited non-zero on
'SIP/216-b7803460' in macro 'dial'
   == Spawn extension (macro-dial, s, 7) exited non-zero on
'SIP/216-b7803460'
 -- Executing [EMAIL PROTECTED]:1] [1;36;40mMacro [0;37;40m(
[1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40mhangupcall [0;37;40m) in
new stack
 -- Executing [EMAIL PROTECTED]:1] [1;36;40mResetCDR [0;37;40m(
[1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40mw [0;37;40m) in new stack
 -- Executing [EMAIL PROTECTED]:2] [1;36;40mNoCDR [0;37;40m(
[1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40m [0;37;40m) in new stack
 -- Executing [EMAIL PROTECTED]:3] [1;36;40mGotoIf [0;37;40m(
[1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40m1?skiprg [0;37;40m) in new
stack
 -- Goto (macro-hangupcall,s,6)
 -- Executing [EMAIL PROTECTED]:6] [1;36;40mGotoIf [0;37;40m(
[1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40m0?skipblkvm [0;37;40m) in
new stack
 -- Executing [EMAIL PROTECTED]:7] [1;36;40mNoOp [0;37;40m(
[1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40mCleaning Up Block VM Flag:
BLKVM/601/SIP/216-b7803460 [0;37;40m) in new stack
 -- Executing [EMAIL PROTECTED]:8] [1;36;40mDBdel [0;37;40m(
[1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40mBLKVM/601/SIP/216-b7803460
[0;37;40m) in new stack
 -- DBdel: family=BLKVM, key=601/SIP/216-b7803460
 -- DBdel: Error deleting key from database.
 -- Executing [EMAIL PROTECTED]:9] [1;36;40mGotoIf [0;37;40m(
[1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40m1?theend [0;37;40m) in new
stack
 -- Goto (macro-hangupcall,s,11)
 -- Executing [EMAIL PROTECTED]:11] [1;36;40mHangup [0;37;40m(
[1;35;40mSIP/216-b7803460 [0;37;40m,  [1;35;40m [0;37;40m) in new stack
   == Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/216-b7803460' in macro 'hangupcall'
   == Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/216-b7803460'
 Really destroying SIP dialog '[EMAIL PROTECTED]' Method: BYE

[Kserver*CLI
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] Mail Server

2008-07-10 Thread Felipe Trevisan
I´ve managed to put it to work, very simply.
Just created an A DNS entry pointing to my system. This procedure validates
the reverse lookup, gmail and others do, before accepting the mail in their
inboxes.

All my sendmail emails gets delivered with no need of smarthosts, therefore,
no need to SSl or TLS auth.

Sorry, for posting on the wrong list. When I started using asterisk I had no
clue, whatsoever on Linux, and tought that as the problem arose when trying
to build an asterisk server, that these should be the right forums.

But thanks all for the help.


Felipe


On Thu, Mar 20, 2008 at 12:16 AM, Al lists [EMAIL PROTECTED] wrote:

 Or maybe you can show him some links ;)
 Try this for send mail:
 http://docs.snake.de/smtp-auth.html

 this is very common these days and to make it more fun each mailserver
 (provider) has their own criteria to decide if your email is spam or not.
 to give you and example:
 make sure you are using static public IP address for outgoing mails, have a
 PTR record for that IP and also A record for the fqn that those mails are
 coming from.
 For smtp auth you need to have saslauth in place and most recent sendmails
 are compile with saslauth these days.
 I did not have 100% success with smtp and sasl and i believe that was
 caused due to have different TLS versions.
 anyway that link should put you in the right direction and if anyone else
 has a better/easier mta that handles smarthost and auth flawlessly, please
 comment.



 On Sun, Mar 16, 2008 at 3:48 PM, linuxian iandsd [EMAIL PROTECTED]
 wrote:

 well, maybe ou're on the wrong list (talkin sendmail in an asterisk list
 !!!) you're better in sendmail's list.

 anyway, you need to modify sendmail.cf file, just a few tweaks  it will
 be ok.  you will need a smarthost, what is a smarthost ? thats an smtp
 server that is allowed to send mail to the world, without it you can't send
 mail,  this smarthost will be your isp's smtp server  noone else's unless
 you know a lot of ppl around. otherwise your mails will get nowhere.

 if you need an sendmail.cf file example i can paste it for you here.
 also dovecot.conf will be valuable for you.


 hope this helps.


 On Fri, Mar 14, 2008 at 1:52 PM, Felipe Trevisan [EMAIL PROTECTED]
 wrote:

 How would you relay on Google Apps, as Google requires SSL or TLS
 authentication?

 How can I configure sendmail to do this?


 Actually, sendmail is trying to send email directly, and I get the
 response below. I´ll now try Mike Hammett´s solution.

 Thanks,

 Felipe Trevisan



 *Message contents*

 The original message was received at Thu, 13 Mar 2008 23:49:31 -0300
 from trixbox1.localdomain [127.0.0.1]

- The following addresses had permanent fatal errors -



 [EMAIL PROTECTED]
 (reason: 550-5.7.1 [201.6.192.115] The IP you're using to send email is 
 not authorized


 )

- Transcript of session follows -

 ... while talking to gmail-smtp-in.l.google.com.:
  DATA
  550-5.7.1 [201.6.192.115] The IP you're using to send email is not 
 authorized



  550-5.7.1 to send email directly to our servers. Please use
  550 5.7.1 the SMTP relay at your service provider instead. 
 a44si4966479rne.2
 554 5.0.0 Service unavailable

  *Failed delivery status*   *Final recipient* [EMAIL PROTECTED]  *Reason
 for failure* 550-5.7.1 [201.6.192.115] The IP you're using to send email
 is not authorized  *Remote mail server* gmail-smtp-in.l.google.com  
 *Reporting
 mail server* trixbox1.localdomain



 On Thu, Mar 13, 2008 at 7:13 PM, Mike Hammett [EMAIL PROTECTED]
 wrote:

  Through help from people on the lists and then further investigation
 based on those results, here is what I did.

 1)  I set the office to a statically assigned IP instead of from the
 pool.
 2)  I made an A entry on one of my domains aiur.ics-il.net (where aiur
 is the machine name).
 3)  I added aiur.ics-il.net directly after 127.0.0.1 in the /etc/hosts
 file (copied below).
 4)  I set the from email address (serveremail) in
 /etc/asterisk/voicemail.conf to something at the domain I created (
 [EMAIL PROTECTED]).
 5)  Presto!

 [EMAIL PROTECTED] ~]# cat /etc/hosts
 # Do not remove the following line, or various programs
 # that require network functionality will fail.
 127.0.0.1   aiur.ics-il.net Aiurlocalhost.localdomain
 localhost
 ::1 localhost6.localdomain6 localhost6


 --
 Mike Hammett
 Intelligent Computing Solutions
 http://www.ics-il.com



 - Original Message -
  *From:* Mike Hammett [EMAIL PROTECTED]
 *To:* Asterisk Users Mailing List - Non-Commercial 
 Discussionasterisk-users@lists.digium.com
  *Sent:* Thursday, March 13, 2008 4:04 PM
 *Subject:* [asterisk-users] Mail Server

 I need to setup a small mail server on a local network.  It only needs
 SMTP ability as it's just so Asterisk can send out emails.  The machine has
 sendmail installed.  My primary mail server seems to be rejecting the
 messages.  Some research says something isn't configured properly.  What

Re: [asterisk-users] Mail Server

2008-03-14 Thread Felipe Trevisan
How would you relay on Google Apps, as Google requires SSL or TLS
authentication?

How can I configure sendmail to do this?


Actually, sendmail is trying to send email directly, and I get the response
below. I´ll now try Mike Hammett´s solution.

Thanks,

Felipe Trevisan



*Message contents*

The original message was received at Thu, 13 Mar 2008 23:49:31 -0300
from trixbox1.localdomain [127.0.0.1]

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
(reason: 550-5.7.1 [201.6.192.115] The IP you're using to send
email is not authorized
)

   - Transcript of session follows -
... while talking to gmail-smtp-in.l.google.com.:
 DATA
 550-5.7.1 [201.6.192.115] The IP you're using to send email is not
authorized
 550-5.7.1 to send email directly to our servers. Please use
 550 5.7.1 the SMTP relay at your service provider instead. a44si4966479rne.2
554 5.0.0 Service unavailable

 *Failed delivery status*   *Final recipient* [EMAIL PROTECTED]  *Reason
for failure* 550-5.7.1 [201.6.192.115] The IP you're using to send email is
not authorized  *Remote mail server* gmail-smtp-in.l.google.com  *Reporting
mail server* trixbox1.localdomain


On Thu, Mar 13, 2008 at 7:13 PM, Mike Hammett [EMAIL PROTECTED]
wrote:

  Through help from people on the lists and then further investigation
 based on those results, here is what I did.

 1)  I set the office to a statically assigned IP instead of from the pool.
 2)  I made an A entry on one of my domains aiur.ics-il.net (where aiur is
 the machine name).
 3)  I added aiur.ics-il.net directly after 127.0.0.1 in the /etc/hosts
 file (copied below).
 4)  I set the from email address (serveremail) in
 /etc/asterisk/voicemail.conf to something at the domain I created (
 [EMAIL PROTECTED]).
 5)  Presto!

 [EMAIL PROTECTED] ~]# cat /etc/hosts
 # Do not remove the following line, or various programs
 # that require network functionality will fail.
 127.0.0.1   aiur.ics-il.net Aiurlocalhost.localdomain   localhost
 ::1 localhost6.localdomain6 localhost6


 --
 Mike Hammett
 Intelligent Computing Solutions
 http://www.ics-il.com



 - Original Message -
 *From:* Mike Hammett [EMAIL PROTECTED]
 *To:* Asterisk Users Mailing List - Non-Commercial 
 Discussionasterisk-users@lists.digium.com
 *Sent:* Thursday, March 13, 2008 4:04 PM
 *Subject:* [asterisk-users] Mail Server

 I need to setup a small mail server on a local network.  It only needs
 SMTP ability as it's just so Asterisk can send out emails.  The machine has
 sendmail installed.  My primary mail server seems to be rejecting the
 messages.  Some research says something isn't configured properly.  What do
 I have to do so the outside world accepts emails from my Asterisk box?  It
 is behind a NAT.


 --
 Mike Hammett
 Intelligent Computing Solutions
 http://www.ics-il.com



 --

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

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

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

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

Re: [asterisk-users] FXS channel banks

2008-03-07 Thread Felipe Trevisan
200 extensions, take 100 PAP2 and you´re set.

The trouble would be configuring them all.
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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