Re: [asterisk-users] Trying to forward calls by using the Callee's context as the forward dial context

2006-12-15 Thread Marco Mouta

forking CDR could help Ricardo.

On 12/15/06, Ricardo Martins [EMAIL PROTECTED] wrote:


Hi John, I´m very interested into this call forwarding capabilities and
I solved this problem filtering on the web-script (in my case, php) the
number the user can intert on the database. (I know it´s not an asterisk
solution).

There is an issue that I couldn´t handle. When I forward the call, I
want to charge the user that the call was made FOR. How are you dealing
with that? Going direct to the point, I just need to know - a tip would
be apreciated either - how to translate/replace the FROM field of the
forwarded call.

Rgds, Ricardo.


John French wrote:

I'm simply trying to forward calls to users who have the call forwarding
feature enabled (FWD Status and FWD Ph Number kept in the astDB).  The
problem is that I want users to be able to forward calls to numbers that
they would normally be allowed to dial within their own context. (I
don't want a local call only person forwarding to a long dist number,
for example.)  I'm able to get the channel context for SIP devices but
not for IAX or Zap Devices.  I need some pointers on getting IAXPEER to
work and how to handle getting the ZAP context info.  If there's an
easier way, I'm all ears.  Thanks.

; #Set Some Variables
exten = s,1,Set(DEVICE=${ARG1}) ;i.e. SIP/johns_phone
exten = s,n,Set(Protocol=${CUT(DEVICE,/,1)}) ;Parse out SIP
exten = s,n,Set(Phone=${CUT(DEVICE,/,2)})  ;Parse out johns_phone

;Stuff omitted for some amout of brevity

; #Make Forward Calls##
; We only want people to be able to forward to numbers they could
normally call
; We'll have to somehow get their dialing contexts from the channel conf
files.
exten = s,n(Forward),NoOp()

exten = s,n,GotoIf($[${Protocol} = SIP]?SIPDev)
exten = s,n,GotoIf($[${Protocol} = IAX2]?IAXDev)
exten = s,n,Goto(ZapDev)

;ok, they are an IAX device so use IAXPEER
exten =
s,n(IAXDev),Set(CalledUsersContext=${IAXPEER(${Phone}:context)})
exten = s,n,Goto(dial_time)

;ok, they are an SIP device so use SIPPEER
exten =
s,n(SIPDev),Set(CalledUsersContext=${SIPPEER(${Phone}:context)})
exten = s,n,Goto(dial_time)

;ok, they are an Zap device so use... Uh.
exten = s,n(ZapDev),NoOp( I have no clue how to get the zap channel's
context...)

exten = s,n(dial_time),NoOp(== Chan Type
${Protocol})
exten = s,n,NoOp(== Chan Name ${Phone})
exten = s,n,NoOp(== Channel User's context
${CalledUsersContext})
exten = s,n,Dial(Local/[EMAIL PROTECTED]/n)


Results at console on verbosity 9:
SIPPEER() Works as advertised when I dial a SIP phone which has been
call forwarded
-- Executing NoOp(Zap/1-1, == Chan Type
SIP) in new stack
-- Executing NoOp(Zap/1-1, == Chan Name
jf_linksys) in new stack
-- Executing NoOp(Zap/1-1, == Channel Users
context longdistance_users) in new stack
-- Executing Dial(Zap/1-1, Local/[EMAIL PROTECTED]/n)
in new stack

IAXPEER() Seems to be broken or I don't know how to use it properly.
-- Executing NoOp(SIP/jf_linksys-08f20548,
== Chan Type IAX2) in new stack
-- Executing NoOp(SIP/jf_linksys-08f20548,
== Chan Name johns_pc) in new stack
-- Executing NoOp(SIP/jf_linksys-08f20548,
== Channel Users context ) in new stack
-- Executing Dial(SIP/jf_linksys-08f20548, Local/5551212@/n) in
new stack
___
--Bandwidth and Colocation provided by Easynews.com --

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




___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] send fax by Iaxmodem ?

2006-12-14 Thread Marco Mouta

Hi all,

First let me say thank you for Lee Howard, you definitely  found my problem
on sending faxes!

I'm using hy-email2fax to send faxes, and i notice that is there the problem
is starting, as the subject of my .eml file contains only the phone number
but then some how hy-email2fax is not detecting the ^M at the end of
subject.

I'm not an used with sed so it will take me some time to understand how it
works and correct this.

By the way i notice a small isse bug on hy-email2fax available for
download on
http://wpkg.org/email2fax/files/hy-email2fax

--

#
# Make a temporary file out of an email #
#

cat |  sed 's/
$//'$EMAILFILE

--

I only got Hy-email2fax working fine after changing this to:

cat |  sed 's/$//'$EMAILFILE


Any ways this is working fine only for tests, because as i mentioned above
I'm in troubles with a carriage return on email subject, to test
Sucessfully this hy-email2fax i hardcoded the variable NEWNUMBER= to
my dialed number.

After this Hands on I can sucessfully send faxes with Hy-email2fax --
Hylafax---asterisk Sucessfully.

But as i mentioned before i need to get ride of ^M on the subject line.

Any one can help me on this?

Best regards,
Marco Mouta


On 12/13/06, Lee Howard [EMAIL PROTECTED] wrote:


Marco Mouta wrote:

 Dec 13 11:28:07.51: [ 9242]: DIAL 2079^M
 Dec 13 11:28:07.51: [ 9242]: -- [9:ATDT2079\r]
 Dec 13 11:28:16.70: [ 9242]: -- [4:BUSY]
 Dec 13 11:28:46.70: [ 9242]: MODEM TIMEOUT: reading line from modem
 Dec 13 11:28:46.71: [ 9242]: MODEM Timeout
 Dec 13 11:28:46.71: [ 9242]: SEND FAILED: JOB 1 DEST 2079^M ERR
 Unknown problem


In your case BUSY means exactly that, and you should take a look at the
Asterisk CLI to get more information as to what busy really means.

However, your dialstring terminated by a carriage return (CR or ^M) is
problematic, too, because it essentially instructs HylaFAX to ignore all
responses after ATDT2079 except for OK and then proceed from there.
Basically you just need to get rid of that terminating carriage return.

Lee.
___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] How to temporarily unload modules.

2006-12-13 Thread Marco Mouta

/etc/asterisk/modules.conf

On 12/13/06, Angel Heart [EMAIL PROTECTED] wrote:


Hi,

In what Asterisk file can I edit for me to temporarily unload such
modules. But later I woudl still be able to load them.

Thanks

Angel

--
Cheap Talk? Check 
outhttp://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.comYahoo!
 Messenger's low PC-to-Phone call rates.

___
--Bandwidth and Colocation provided by Easynews.com --

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



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] send fax by Iaxmodem ?

2006-12-13 Thread Marco Mouta

Hi Guys,

I'm using Asterisk with Hylafax to send and receive faxes, currently only
receinving with success.

When sending i get this:

Dec 13 11:28:07.51: [ 9242]: SESSION BEGIN 00157 03510212079
Dec 13 11:28:07.51: [ 9242]: HylaFAX (tm) Version 4.3.1
Dec 13 11:28:07.51: [ 9242]: SEND FAX: JOB 1 DEST 2079^M COMMID 00157
DEVICE '/dev/ttyIAX' FROM 'Marco Mouta [EMAIL PROTECTED]' USER root
Dec 13 11:28:07.51: [ 9242]: STATE CHANGE: RUNNING - SENDING
Dec 13 11:28:07.51: [ 9242]: -- [12:AT+FCLASS=1\r]
Dec 13 11:28:07.51: [ 9242]: -- [2:OK]
Dec 13 11:28:07.51: [ 9242]: MODEM set XON/XOFF/FLUSH: input ignored, output
disabled
Dec 13 11:28:07.51: [ 9242]: DIAL 2079^M
Dec 13 11:28:07.51: [ 9242]: -- [9:ATDT2079\r]
Dec 13 11:28:16.70: [ 9242]: -- [4:BUSY]
Dec 13 11:28:46.70: [ 9242]: MODEM TIMEOUT: reading line from modem
Dec 13 11:28:46.71: [ 9242]: MODEM Timeout
Dec 13 11:28:46.71: [ 9242]: SEND FAILED: JOB 1 DEST 2079^M ERR Unknown
problem
Dec 13 11:28:46.71: [ 9242]: -- [5:ATH0\r]
Dec 13 11:28:46.71: [ 9242]: -- [2:OK]
Dec 13 11:28:46.71: [ 9242]: MODEM set DTR OFF
Dec 13 11:28:46.71: [ 9242]: MODEM set baud rate: 0 baud (flow control
unchanged)
Dec 13 11:28:46.71: [ 9242]: STATE CHANGE: SENDING - MODEMWAIT (timeout 5)
Dec 13 11:28:46.71: [ 9242]: SESSION END

I Must say on the reception side is a normal fax connected to pstn line, and
to send fax via Asterisk+Hylafax i've tested TE110P and X100P board.

I got few sucess with x100p and couldn't send even one with TE110p

Any tips?


On 12/13/06, Noc Phibee [EMAIL PROTECTED] wrote:


Hi

i use now iaxmodem for receive fax and that's work very good with
Hylafax ;=)

Do you know if we can sent fax using iaxmodem and Hylafax ?

when i test:

déc 13 13:47:21.12: [13725]: SESSION BEGIN 00014 330426690268
déc 13 13:47:21.12: [13725]: HylaFAX (tm) Version 4.3.0
déc 13 13:47:21.12: [13725]: SEND FAX: JOB 2 DEST 0426690268 COMMID
00014 DEVICE '/dev/iaxmodem1' FROM 'localtest' USER test
déc 13 13:47:21.12: [13725]: STATE CHANGE: RUNNING - SENDING
déc 13 13:47:21.12: [13725]: -- [12:AT+FCLASS=r]
déc 13 13:47:21.12: [13725]: -- [2:OK]
déc 13 13:47:21.12: [13725]: MODEM set XON/XOFF/FLUSH: input ignored,
output disabled
déc 13 13:47:21.12: [13725]: DIAL 0426690268
déc 13 13:47:21.12: [13725]: -- [15:ATDT0426690268\r]
déc 13 13:47:21.12: [13725]: -- [11:NO DIALTONE]
déc 13 13:47:21.12: [13725]: SEND FAILED: JOB 2 DEST 0426690268 ERR No
local dialtone
déc 13 13:47:21.12: [13725]: -- [5:ATH0\r]
déc 13 13:47:21.12: [13725]: -- [2:OK]
déc 13 13:47:21.12: [13725]: MODEM set DTR OFF
déc 13 13:47:21.12: [13725]: MODEM set baud rate: 0 baud (flow control
unchanged)
déc 13 13:47:21.12: [13725]: STATE CHANGE: SENDING - MODEMWAIT (timeout
5)
déc 13 13:47:21.12: [13725]: SESSION END


Thanks bye



___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] AsteriskNow console access

2006-12-04 Thread Marco Mouta

me too, i'm trying to add sip users , i click save, it reports successfully
saved... but there are no sip accounts created...

On 11/29/06, Dumpolid Exeplish [EMAIL PROTECTED] wrote:


i had the same problem. the GUI stopped responding to configuration
changes.

On 11/28/06, James Willing  [EMAIL PROTECTED] wrote:


 Geoff Karl  [EMAIL PROTECTED] wrote:

  I just downloaded and installed the AsteriskNow appliance
  (http://www.asterisknow.org) .  This looks like it has lots of
  promise.

  Anyone know what the secret is to being able to actually login to the
  root console?

 Yes, as I found out (rather painfully) after the second (or was it
 third)
 install, for console access you have to login as 'admin', using the
 password you entered during the installation.

 And I agree that it looks promising, though as far as I can tell so far
 none of the GUI functionality actually works yet.

 So far, I have been unable to actually get it to commit any changes
 entered via the GUI and after a few attempts (or an hour or so of
 running)
 the GUI generally appears to stop functioning.  No response to 'system
 info' selection, etc...

 ...but it is 'Beta 1' afterall...   B^}

 --
 -jim (Willing)
 Midwest Connections, Inc.

 ___
 --Bandwidth and Colocation provided by Easynews.com --

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



___
--Bandwidth and Colocation provided by Easynews.com --

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



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Low beep on voicemail

2006-12-02 Thread Marco Mouta

take a look on Audacity program is opensource and has the option Generate
Beep, then just add some Gain as you want...

On 12/2/06, Peder @ NetworkOblivion [EMAIL PROTECTED] wrote:


We've had a few people complain that the beep before leaving a
voicemail is not loud enough and too short.  Does anybody have a
recorded beep that they can share, that is a little louder and a little
longer?  We've had this box in production for 2+ years, so I hate to
mess with the gain on the PRI or anything like that because everything
else works fine.

I know nothing about recording sounds, and I am sure I could spend a few
hours and come up with a suitable version, but I thought I'd ask around
before I waste my time trying to figure it out.

Thanks in advance.

Peder

___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] keep line on hook

2006-11-29 Thread Marco Vescovi
Hi all,
is there a way I can put a line on hook ? I'd like to keep the line busy
on demand (es. dialing an extension will put on hook line n.1) so the
caller receives busy tone directly from PSTN and not from asterisk.
 
Thanks.
marco
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Asterisk Feature Codes won't work

2006-11-27 Thread Marco Mouta

post you features.conf as well as extensions.conf

On 11/27/06, Mattias Andersson [EMAIL PROTECTED] wrote:


Hi all!
I get problem with *11, *12 for instance.
The won't work.
I get a message that the phone extension can't be fund for *11 and  for
*12  will I get A Error.
Any idea?
//Mattias

--
Mattias Andersson

Storskiftesvägen 6
145 60 Norsborg

m. +46-70-799 44 41
h. +46-8-641 38 97

Email: [EMAIL PROTECTED]
___
--Bandwidth and Colocation provided by Easynews.com --

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






--
Best regards,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Incoming calls don't arrive for correct number

2006-11-27 Thread Marco Mouta

your problem is that you need to handle this in your dialpan to achieve
which DID has been dialed! look for SIPGETHEADER application on asterisk,
you shoul look for variable to where it comes the DID

On 11/27/06, Frederico Madeira [EMAIL PROTECTED] wrote:


I have an asterisk box registering 100 numbers on a voip provider.
Numers are: 2546.1000 to 2546.1099
My problem is that every incoming call arrived to number 2546.1099 that is
the last number to register on voip provider. The correct is call arrive in
destination number.
See this exaple:
I call to 2546.1000.
-- Executing Dial(SIP/25461099-08738060, Zap/g1/3000) in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/3000
-- Zap/1-1 is proceeding passing it to SIP/25461099-08738060
-- Zap/1-1 is ringing
-- Zap/1-1 answered SIP/25461099-08738060
-- Hungup 'Zap/1-1'
  == Spawn extension (default, 25461000, 1) exited non-zero on
'SIP/25461099-08738060'
How i solve this problem ??
See parts of my sip.conf
register=25461000:[EMAIL PROTECTED]/25461000
register= 25461001:[EMAIL PROTECTED]/25461001
register=25461002:[EMAIL PROTECTED]/25461002
register= 25461003:[EMAIL PROTECTED]/25461003
.
.
.
register=25461099:[EMAIL PROTECTED]/25461099
[provider-25461000]
type=friend
context=default
secret=
username=25461000
host=sip.provider.com
fromuser=25461000
fromdomain=sip.provider.com
nat=yes
insecure=very
canreinvite=no
qualify=yes
[provider-25461001]
type=friend
context=default
secret=
username=25461001
host=sip.provider.com
fromuser=25461001
fromdomain=sip.provider.com
nat=yes
insecure=very
canreinvite=no
qualify=yes
[provider-25461002]
type=friend
context=default
secret=
username=25461002
host=sip.provider.com
fromuser=25461002
fromdomain=sip.provider.com
nat=yes
insecure=very
canreinvite=no
qualify=yes
.
.
.
[provider-25461099]
type=friend
context=default
secret=
username=25461099
host=sip.provider.com
fromuser=25461099
fromdomain=sip.provider.com
nat=yes
insecure=very
canreinvite=no
qualify=yes
--
Frederico Madeira
[EMAIL PROTECTED]
www.madeira.eng.br

___
--Bandwidth and Colocation provided by Easynews.com --

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






--
Best regards,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Call Transfers in SER + Asterisk architecture

2006-11-24 Thread Marco Mouta

Hi Ricardo,

Could you post a specific example where your problem happens.

That way would be easier for me to try to help you on this.

Does asterisk is registred into SER , or you have trust based relationship
between them?



On 11/23/06, Ricardo Carvalho [EMAIL PROTECTED] wrote:


Hi,

I'm deploying a SER + Asterisk architecture, where SER is used as SIP
registrar, and Asterisk is used for voicemail and PSTN gateway.

This system is already able to make Call Transfers (Blind and Attended)
internally between phones registered in SER, although,  I can't make
Call Transfers in some scenarios involving PSTN numbers (which need to
pass through Asterisk).

The problem is that when the REFER message (that carries the Refer-To
number to whom the call should be transferred) gets to Asterisk, it
replies with a 404 Not Found message, and the Call Transfer isn't
established!

Any ideas on how can I solve this problem?

Thanks in advance,
Ricardo.



___
--Bandwidth and Colocation provided by Easynews.com --

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





--
Best regards,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Call Transfers in SER + Asterisk architecture

2006-11-24 Thread Marco Mouta

do you have created Asterisk views to SER database? Are you using sip
realtime on asterisk?
please post your extensions.conf.

By the way, I'm Portuguese:)

Qualquer coisa manda mail pode ser q consiga ajudar.

On 11/24/06, Ricardo Carvalho [EMAIL PROTECTED] wrote:


Hi Marco,

Ser has IP of Asterisk server in his trusted table, Asterisk isn't
registered in Ser. When Ser needs to use Asterisk, it simply rewrites
the IP destination with Asterisk's IP, and routes them to him.

For example, here's one failed attempt in transferring a call PSTN -
VoIP - VoIP:


PSTN   Asterisk   Ser
phone_A   phone_B
|INVITE|   |
|   |
| --  |   |   |
  |
|  100 Trying  |   |
|   |
| --- |   |
|   |
|  | INVITE|
|   |
|  |  --  |INVITE
|   |
|  |   | ---
|   |
|  |   |100 trying
|   |
   |   100 trying  | ---
|   |
|  100 trying  | ---  |  180 Ringing
|   |
| --  |  180 Ringing  | ---
|   |
| 180 Ringing  | --   |
|   |
| --  |   |
|   |
|  ACK |   |
|   |
| --- |   ACK |
|   |
|  | ---  |  ACK
|   |
|  |   | ---
|   |
|  |  RTP  |
|   |
| ==
|   |
|  |   |
|   |
|  |   | REFER
|   |
|  |  REFER| ---
|   |
|  |  --  |
|   |
|  | 404 Not Found |
|   |
|  |  --- | 404 Not Found
|   |
|  |   |  --
|   |
|  |   |
|   |

In this example, phone_A answers the PSTN originated call, and wants to
transfer the call to phone_B. A REFER message is than routed backwards
to Asterisk, and he replies with those 404 Not Found messages. Phone_B
never gets called!

Should Asterisk be registered in Ser so this can work properly? How can
that be done?

Thanks,
Ricardo.








Marco Mouta wrote:
 Hi Ricardo,

 Could you post a specific example where your problem happens.

 That way would be easier for me to try to help you on this.

 Does asterisk is registred into SER , or you have trust based
 relationship between them?



 On 11/23/06, *Ricardo Carvalho* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hi,

 I'm deploying a SER + Asterisk architecture, where SER is used as
SIP
 registrar, and Asterisk is used for voicemail and PSTN gateway.

 This system is already able to make Call Transfers (Blind and
 Attended)
 internally between phones registered in SER, although,  I can't make
 Call Transfers in some scenarios involving PSTN numbers (which need
to
 pass through Asterisk).

 The problem is that when the REFER message (that carries the
Refer-To
 number to whom the call should be transferred) gets to Asterisk, it
 replies with a 404 Not Found message, and the Call Transfer isn't
 established!

 Any ideas on how can I solve this problem?

 Thanks in advance,
 Ricardo.



 ___
 --Bandwidth and Colocation provided by Easynews.com
 http://Easynews.com --

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




 --
 Best regards,

 Marco Mouta

 

 ___
 --Bandwidth and Colocation provided by Easynews.com --

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

Re: [asterisk-users] TE110P and TDM400P

2006-11-23 Thread Marco Mouta

try this, pls give some feedback
###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4

fxsks=1-4

bchan=5-19,21-35
dchan=20

loadzone = us
defaultzone=us
###


On 11/22/06, Lincoln Zuljewic Silva [EMAIL PROTECTED] wrote:


 This is the scenarios:

1 -
###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=5-19,21-35
dchan=20
fxsks=1-4
loadzone = us
defaultzone=us
###
modprobe wcte11xp
ZT_CHANCONFIG failed on channel 32: No such device or address (6)
FATAL: Error running install command for wcte11xp

2 -
 ###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=5-19,21-35
dchan=20
fxsks=1-4
loadzone = us
defaultzone=us
###
modprobe wctdm
ZT_CHANCONFIG failed on channel 5: No such device or address (6)
FATAL: Error running install command for wctdm

3 -
 ###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
fxsks=32-35
loadzone = us
defaultzone=us
###
modprobe wcte11xpok
modprobe wctdmok
modprobe wcfxook
modprobe wct4xxpok
modprobe zaptelok
###
/etc/asterisk/zapata.conf
[channels]
context=corsidian
overlapdial=yes
immediate=no
callprogress=yes
busydetect=no
switchtype=euroisdn
signalling=pri_net
channel = 1-15,17-31
group=2
group=1
callgroup=1
pickupgroup=1
signalling=fxs_ks
channel = 32-35
###

tail -f /var/log/asterisk/messages
Nov 22 15:11:43 ERROR[5524] chan_zap.c: Channel 16 is reserved for
D-channel.
Nov 22 15:11:43 ERROR[5524] chan_zap.c: Unable to register channel '1-15'
Nov 22 15:11:43 WARNING[5524] loader.c: chan_zap.so: load_module failed,
returning -1
Nov 22 15:11:43 WARNING[5524] loader.c: Loading module chan_zap.so failed!


 - Original Message -
*From:* Henk Dick [EMAIL PROTECTED]
*To:* 'Lincoln Zuljewic Silva' [EMAIL PROTECTED] ; 'Asterisk Users
Mailing List - Non-Commercial Discussion'asterisk-users@lists.digium.com
*Sent:* Wednesday, November 22, 2006 4:08 PM
*Subject:* RE: [asterisk-users] TE110P and TDM400P

 I think that you are loading the drivers in the wrong order.  You can
change the order of loading are first define the E1 followed by the TDM400



Hope this helps,



Henk


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Lincoln Zuljewic
Silva
*Sent:* woensdag 22 november 2006 20:51
*To:* asterisk-users@lists.digium.com
*Subject:* [asterisk-users] TE110P and TDM400P



Hello all. I have here a TE110P (configured as E1) and a TDM400P (with
four X100P - FXS). Both boards are recognized by the operating system as
showed above:



:08:00.0 Communication controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
Subsystem: Unknown device b1d9:0003
Flags: bus master, medium devsel, latency 64, IRQ 169
I/O ports at e800 [size=256]
Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2



:08:01.0 Network controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
Subsystem: Unknown device 79fe:0001
Flags: bus master, medium devsel, latency 64, IRQ 193
I/O ports at e400 [size=256]
Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2



The problem is that I cant make the both cards to work together in the
same server. Here is my /etc/zaptel.conf:



###
fxsks=1-4
loadzone = us
defaultzone=us



span=1,1,0,ccs,hdb3,crc4
bchan=5-19,21-35
dchan=20
###



When I load the wctdm module, I get this error: ZT_CHANCONFIG failed on
channel 5: No such device or address (6). Its sounds like the FXS module its
tring to configure the channels 5 to 35 (E1 - ISDN Channels - TE110P card).



Anybody already saw this ? Its possible to use this two cards in the same
computer ? There is any separator that I can use in zaptel.conf to make
the load of the modules dont mistakes itself ?



Here is my versions:
Debian kernel - 2.6.8
asterisk-1.2.12.1
libpri-1.2.4
zaptel-1.2.11





Thanks

Lincoln


___
--Bandwidth and Colocation provided by Easynews.com --

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






--
Best regards,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] FOP is not displaying all my SIP extensions neither all E1 channels , why?

2006-11-23 Thread Marco Mouta

Hi,

I must say that i'm not very used with customization of FOP. I've a box
runing Flash Op.Panel, and i notice that the screen is full of buttons from
my sip users, as well as Zapata channels.

The problem is that i have more Zapata channels as well as SIP users, is
there any way to get a scroll on this to display everything? do i need to
resize the buttons?

For sure someone now how to solve this basic question:)

--
Best regards,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Re: Rewriting caller ID from database?

2006-11-22 Thread Marco Mouta

Hi,

You can do it using AstDB, just load the database with callerid names and
numbers and then include a lookup on database in all incoming calls, so you
can override whatever you wanted:)


On 11/22/06, Steven [EMAIL PROTECTED] wrote:


There are two I can think of.

Hoodahek and asterdex (or asteridex)

We used hoodahek at first, but now use asterdex(sp?)
It has a web interface to enter the new names into.

We use it to fixup, corp. cell phones and used to use it for our leagcy
PBX extensions.

--
--
Steven

http://www.glimasoutheast.org



Vincent Delporte [EMAIL PROTECTED] wrote in message news:
[EMAIL PROTECTED]
 Hi

 Most of our customers have generic names like Hospital, so I need to
rewrite their caller ID name by looking up the number in a
 database on the Asterisk server, and rewriting the name such as Reading
Hospital so that we know who's calling.

 Any idea if this can be done with Asterisk, and how to do it?

 Thank you.

 ___
 --Bandwidth and Colocation provided by Easynews.com --

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




___
--Bandwidth and Colocation provided by Easynews.com --

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





--
Best regards,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Asterisk Manager: equivalent of 'show channels'?

2006-11-18 Thread Marco Mouta

take a look at Flash Operator Panel, as far as i know they use AMI , and
they also provide real time channel status.

On 11/18/06, Michael Collins [EMAIL PROTECTED] wrote:


 I'm interested in knowing if anyone else has worked around this issue:



I have an application that needs to check the status of the calls going
through Asterisk about every 5 seconds or so.  I don't want to do asterisk
–rx 'show channels verbose' at the Linux command line 12 times per minute
so I am looking at the AMI.  I see that there isn't a manager command for
'show channels.'  Has anyone come up with an equivalent of 'show channels'
using the extant manager commands?  If so, could you post how you did it?



Thanks!

-MC

___
--Bandwidth and Colocation provided by Easynews.com --

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






--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] A question on ISDN cards... (in the UK)

2006-11-15 Thread Marco Mouta
Beronet cards have 2 or 4 ports are very good.Those guys produced the misdn driver, that is now Digium uses for their new BRI card.www.beronet.comtheir tech support has been very very good.
On 11/15/06, Conrad Wood [EMAIL PROTECTED] wrote:
On Wed, 2006-11-15 at 11:23 +, Senad Jordanovic wrote:  Would anyone like to recommend a good and reasonable quality ISDN  card for use in the UK, as after a lot of good results with TDM400P
  cards with several systems installed now, I need to look at a few  ISDN BRI (old business highway about to move to ISDN2) and possibly a  single-line PRI (ISDN-30) system. 
I'd say the most important distinction is the choice between HFC basedISDN cards (starting around £9) and active cards, like Diva, Digium etc(~£300).Whilst the HFC cards work (with bristuff) you need to be prepared to
reload modules regularly and go through other hoops.I used to work in a IT company, and there it's perfectly allright to usecheap cards, because the skills to reset modules etc are available atall times.
For a clients' system I wouldn't go down that route and spend the money.I have no complains on call quality or dropped calls on cheap cards noron expensive cards, it's the administration and 'shinyness of theproduct'.
Conrad___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] 2 * servers Host=ip - doesn't work Host=dynamic with register is OK, why?

2006-11-13 Thread Marco Mouta
Hi all,I've 2 * servers with static IP, and i notice that if i set both sip peers with host=server_ip and qualify=yes it presents UNREACHABLE on asterisk CLI.When i changed the host parameter to host=dynamic and set the register string in the [general] of 
sip.conf on both servers, the connection has been reestablished.I must say the 2 servers are in the same LAN with static IP.What could be the problem?-- Best regardsMarco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] announcing inbound PSTN calls

2006-11-10 Thread Marco Mouta
Hi,This is piece of cake for asterisk, but you need to do your script, or dialplan programing, asterisk has all the functions and applications to do it.But you need to get hands on it :)
On 11/10/06, Jeronimo Romero [EMAIL PROTECTED] wrote:













I'm running asterisk 1.2.8. I would like PSTN inbound
calls to do the following: 



1-once PSTN callers enter their desired extension; they have
to record their name

2-recording then announces that it is trying to locate the
user

3-asterisk calls local extension and announces callers
recorded name

4-local recipient user can choose to take the call, send it
to voicemail or transfer it to another extension



Is this possible in asterisk?? . If it is possible, what is
the name of this function? Is this documented anywhere?

What is the best approach to doing this?



Thanks in advance















___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] announcing inbound PSTN calls

2006-11-10 Thread Marco Mouta
I would recommend you to record files with a uniqueid like var ${TIMESTAMP}[incoming]exten = s,1,Answer()exten = s,2,Backgroud(enter-ext)exten = _XXX,1,Playback(enter-name)exten = _XXX,2,Set(filename=${TIMESTAMP})
exten = _XXX,2,Record(/tmp/prompt${filename}:wav)exten = _XXX,3,Dial(zap/1/${EXTEN},A(${filename}.wav))On 11/10/06, bails 
[EMAIL PROTECTED] wrote:exten = _XXX,3,Dial(zap/1/${EXTEN},,A(somefile))
bailsGustavo Berman wrote: Interesting! I think this can help for a start (but I don't know how to continue!!): [incoming] exten = s,1,Answer() exten = s,2,Backgroud(enter-ext)
 exten = _XXX,1,Playback(enter-name) exten = _XXX,2,Record(/tmp/prompt${EXTEN}:wav) exten = _XXX,3,Dial(zap/1/${EXTEN}) now, how to play the recorded message to the called party when he/she
 answers the phone? any help? On 11/10/06, * Jeronimo Romero* [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: I'm running asterisk 1.2.8. I would like PSTN inbound calls to do the following: 1-once PSTN callers enter their desired extension; they have to
 record their name 2-recording then announces that it is trying to locate the user 3-asterisk calls local extension and announces callers recorded name 4-local recipient user can choose to take the call, send it to
 voicemail or transfer it to another extension Is this possible in asterisk?? . If it is possible, what is the name of this function? Is this documented anywhere?
 What is the best approach to doing this? Thanks in advance ___
 --Bandwidth and Colocation provided by Easynews.com http://Easynews.com -- asterisk-users mailing list
 To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users 
http://lists.digium.com/mailman/listinfo/asterisk-users -- Gustavo Berman Sysadmin Depto. Informatica Universidad Nacional del Comahue
 Centro Regional Universitario Bariloche  ___ --Bandwidth and Colocation provided by 
Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users
___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Alcatel trunk with asterisk problem on dialing digit-by-digit

2006-11-09 Thread Marco Mouta
Frederico,Pls Post your zapata.conf, any ways pls read bellow:On 11/9/06, Frederico Madeira [EMAIL PROTECTED]
 wrote:Hi guys,I have an Alcatel 4200 with a ISDN board pluged in the asterisk server with TE110P.
Input callsVOIP Proider --- Asterisk --- Alcatel
Output CallsVOIP Proider --- Asterisk --- AlcatelIn alcatel phones, users should dial 2 for take a line tone and can dial. At this point start my problems:1. When users dial 2 on phone (alcatel) they don't received a dial tone, only receive a ocuped tone;
2. When users make step one, in asterisk console i received this message:!! Unexpected Channel selection 3

 -- Extension '' in context 'default' from '027' does not exist. Rejecting call on channel 0/31, span 1If i configure in alcatel short dialing such: if user dial 3020 alcatel sent do asterisk a block number 31122332. In this case works fine.
How i can solve this problem ??Bellow i list my extension.conf[default]ignorepat=0
### Internal Calls## Input Calls exten= 312120XX,1,Dial(Zap/g1/${EXTEN:-4})
exten= 312120XX,2,HangupYou are missing _ for pattern match:exten= _312120XX,1,Dial(Zap/g1/${EXTEN
:-4})exten= _312120XX,2,Hangup
### External Callsexten= _,1,Dial(SIP/[EMAIL PROTECTED],60,Tt) # Local calls
exten= _,2,Hangupexten= _0XX,1,Dial(SIP/[EMAIL PROTECTED],60,Tt) # Long distance Callsexten= _0XX,2Hangupexten= _00XX,1,Dial(SIP/[EMAIL PROTECTED]

,60,Tt) # Internacional Calls
exten= _00XX,2HangupThanks.-- Frederico Madeira[EMAIL PROTECTED]
www.madeira.eng.br

___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Alcatel trunk with asterisk problem on dialing digit-by-digit

2006-11-09 Thread Marco Mouta
pls post it complete, i can't see there your channels for TE110P 30 voice channels...Also do this:[default]exten= _X.,1,Answer()exten= _X.,2,Noop(This is debug, i'm receive from Alcatel:${EXTEN})
exten= _X.,3,Wait()exten= _X.,4,Playback(vm-goodbye)exten= _X.,5,Hangupexten= h,1,hanguppls post the debug of incoming call from alcatel to * on you CLI .
On 11/9/06, Frederico Madeira [EMAIL PROTECTED] wrote:
Follow bellow:[trunkgroups][channels]language=ukcontext=defaultswitchtype=euroisdnsignalling=pri_netrxwink=300 usecallerid=yeshidecallerid=nocallwaiting=yesusecallingpres=yes
callwaitingcallerid=yesthreewaycalling=yestransfer=yescanpark=yescancallforward=yescallreturn=yesechocancel=yesechocancelwhenbridged=yesrxgain=0.0txgain=0.0group=1callgroup=1
pickupgroup=1immediate=noThanks Marco-- Frederico Madeira
[EMAIL PROTECTED]
www.madeira.eng.br2006/11/9, Marco Mouta 

[EMAIL PROTECTED]:Frederico,
Pls Post your zapata.conf, any ways pls read bellow:
On 11/9/06, Frederico Madeira 
[EMAIL PROTECTED]
 wrote:Hi guys,I have an Alcatel 4200 with a ISDN board pluged in the asterisk server with TE110P.
Input callsVOIP Proider --- Asterisk --- Alcatel
Output CallsVOIP Proider --- Asterisk --- AlcatelIn alcatel phones, users should dial 2 for take a line tone and can dial. At this point start my problems:1. When users dial 2 on phone (alcatel) they don't received a dial tone, only receive a ocuped tone;
2. When users make step one, in asterisk console i received this message:!! Unexpected Channel selection 3



 -- Extension '' in context 'default' from '027' does not exist. Rejecting call on channel 0/31, span 1If i configure in alcatel short dialing such: if user dial 3020 alcatel sent do asterisk a block number 31122332. In this case works fine.
How i can solve this problem ??Bellow i list my extension.conf[default]ignorepat=0
### Internal Calls## Input Calls exten= 312120XX,1,Dial(Zap/g1/${EXTEN:-4})


exten= 312120XX,2,HangupYou are missing _ for pattern match:exten= _312120XX,1,Dial(Zap/g1/${EXTEN


:-4})exten= _312120XX,2,Hangup


### External Callsexten= _,1,Dial(SIP/[EMAIL PROTECTED],60,Tt) # Local calls
exten= _,2,Hangupexten= _0XX,1,Dial(SIP/[EMAIL PROTECTED],60,Tt) # Long distance Callsexten= _0XX,2Hangupexten= _00XX,1,Dial(SIP/[EMAIL PROTECTED]



,60,Tt) # Internacional Calls
exten= _00XX,2HangupThanks.-- Frederico Madeira[EMAIL PROTECTED]
www.madeira.eng.br

___--Bandwidth and Colocation provided by Easynews.com
 --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  


http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta

___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  

http://lists.digium.com/mailman/listinfo/asterisk-users-- Frederico Madeira
[EMAIL PROTECTED]
www.madeira.eng.br

___--Bandwidth and Colocation provided by Easynews.com
 --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] How do i redirect a call without answering it? SIP channel

2006-11-03 Thread Marco Mouta

Hi guys,

I've been looking on wiki, but i could find it only for chan_capi:

http://www.voip-info.org/wiki/view/Asterisk+PBX+functions

In the CAPI channel
See Asterisk CAPI channels

   * Call Deflection (CD) (redirect without answering): Implemented
by chan_capi


How can i do it with my Softphone Xlite? Any one can help me?

I want to redirect a call without answering it.


Best regards,

MoutaPT
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Diva server 4bri and Portuguese BRI

2006-10-31 Thread Marco Mouta

Hi Pedro,

pls post your capi.conf! I'm not used with CAPI, but should have something like:

[interfaces]
incomingmsn=*  ; Here you match MSNs arriving from telco, for debug
let it ' * '
controller=1
softdtmf=1
accountcode=
context=demo   ;Set this to ext-did that should be the context
TRIXBOX will handle


By the way, Trybox probably has an extensions_custom.conf

In this file try this:

[ext-did-custom]
exten=_X.,1,Answer
exten= _X.,n,Noop(Debugging MSNs from Telco: ${EXTEN})
exten= _X.,n,wait(1)
exten= _X.,n,playback(tt-monkeys)
exten=_X.,n,hangup



Hope this helps.

Pls give some feedback


On 10/31/06, Armin Schindler [EMAIL PROTECTED] wrote:

On Tue, 31 Oct 2006, Pedro Silva wrote:
 Hello,

 One problem is solved and another appears... :(
 I cannot receive incoming calls on trixbox. I defined one incoming
 route (any DID/any CID) and forwading these calls to a SIP extension.
 With capi and sip debug in asterisk -r console i dont detect any
 incoming activity...

Did you use
  set verbose 5
  capi debug
?
If not, you should see anything there. But if you don't see activity with
this verbose level too, this call is not signaled through capi. In that case
you should create traces with
  divactrl ditrace
(or the trace wizard) to get capi activity too.

Armin

 In xlog console i have the following debug:
  0:1898:127 - SIG-R(034) 08 01 0D 05 A1 04 03 80 90 A3 18 01 81 6C 0B
 00 83 39 36 33 30 34 35 37 32 33 70 02 81 30 7D 02 91 81
 Q.931  CR0d SETUP
 Sending complete
 Bearer Capability 80 90 a3
 Channel Id 81
 Calling Party Number 00 83 '963045723'
 Called Party Number 81 '0'
 HLC 91 81
 0:1898:127 - SIG-S 0-6 e:805
 0:1898:130 - CREATEID ok: context:1f assigned Id:3 freeIds=ec
 0:1898:130 - alloc cr in use =4
 0:1898:133 - SIG-X(008) 08 01 8D 45 08 02 80 95
 Q.931  CR8d DISC
Cause 80 95 'Call rejected'
 0:1898:133 - SIG-x(008) 08 01 8D 5A 08 02 80 D8
 Q.931  CR8d REL_COM
Cause 80 d8 'Incompatible destination'
 0:1898:133 - SIG-S 6-0 e:8c5
 0:1898:134 - D-X(012) 00 01 14 16 08 01 8D 5A 08 02 80 D8
 0:1898:135 - free cr in use =3
 0:1898:135 - DELETEID ok: deleted Id:4 freeIds=ec
 0:1898:155 - D-R(004) 00 01 01 16

 So the problem appears to be Incompatible destination... but is
 problem in asterisk or is before asterisk, on diva card...?

 Tanks by any possible help!
 Best regards,
 PS.

 2006/10/29, Pedro Silva [EMAIL PROTECTED]:
  Finally this works!!! :)
  Tanks to Alberto and Marco by your help!
  The problems are:
  - the cable was connected to the wong card port... :(
  - the card config needs to be: ETSI; TE; Point-to-Point (I thought
  that was point-to-multipoint).
 
  Best regards,
  PS.
 
  2006/10/29, Pedro Silva [EMAIL PROTECTED]:
   Hello again Alberto!
  
Anyway, to get more info, try to open a second shell
and run /usr/lib/eicon/divas/xlog
then on the first shell redo the telsampl test, then
post the output of xlog off the list to my address
(alberto at msoft-italia.com)
  
   This is the xlog output:
   4:1736:074 - CREATEID ok: context:1f assigned Id:6 freeIds=eb
   4:1736:074 - alloc cr in use =4
   4:1736:076 - free cr in use =3
   4:1736:077 - DELETEID ok: deleted Id:6 freeIds=eb
   4:1736:078 - CREATEID ok: context:1f assigned Id:6 freeIds=eb
   4:1736:078 - alloc cr in use =4
   4:1736:080 - free cr in use =3
   4:1736:080 - DELETEID ok: deleted Id:6 freeIds=eb
   4:1736:081 - CREATEID ok: context:1f assigned Id:6 freeIds=eb
   4:1736:081 - alloc cr in use =4
   4:1736:083 - [1,0] dsp_assign 0016, 0, 2048
   4:1736:083 - [1,0] CAI[00] 16 00 00 00 00 08
   4:1736:084 - [1,0] Download 532 requested
   4:1736:084 - MORE
   4:1736:085 - SIG-X(029) 08 01 36 05 A1 04 03 80 90 A3 18 01 83
   1E
   02 80 83 70 0A 80 39 36 33 30 34 35 37 32 33
   Q.931  CR36 SETUP
   Sending complete
   Bearer Capability 80 90 a3
   Channel Id 83
   Progress Indicator 80 83
   Called Party Number 80 '963045723'
   4:1736:085 - SIG-S 0-1 e:885
   4:1736:087 - ACTIVATION_REQ
   4:1744:147 - L1_DOWN
   4:1744:150 - SIG-EVENT  08
  
   4:1744:150 - SIG-EVENT  08
  
   4:1744:150 - EVENT: Call failed in State 'Call initiated'
   Link disconnected, Layer-1 error (cable or NT)
   4:1744:150 - SIG-S 1-0 e:
   4:1744:151 - [1,0] dsp_release
   4:1744:155 - free cr in use =3
   4:1744:156 - DELETEID ok: deleted Id:6 freeIds=eb
  
   I disconnect the rj45 cable from alcatel pbx and connect that to the
   diva card (with alcatel pbx i can make calls normally). The green
   led
   of the diva card is activated when i connect the cable. So i dont
   understand why the message  Link disconnected, Layer-1 error (cable
   or NT)...
   This debug is th same if the cable is connected to the NT or not.
   Any ideas...? Thanks!
   PS.
  
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
 http

Re: [asterisk-users] sip realtime broken?

2006-10-31 Thread Marco Mouta

i've been using it sucessfully

On 10/31/06, Don [EMAIL PROTECTED] wrote:



Can someone confirm if sip realtime is broken in 1.2.13 and if so when was
the last release it wasn't? heh
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users






--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] SIP Server

2006-10-30 Thread Marco Mouta

Yes, you just need to setup asterisk with Digium board on the same
server of your sipserver, and then you must establish a trunk  between
your sip server and asterisk.

Then you must route calls  using asterisk dialplan as well as your sip
server dialplan.

Be aware that if you have both on same server you must change SIP port
in one of them.


On 10/30/06, Imran M Yousuf [EMAIL PROTECTED] wrote:

Hi Dear Users,

 I am new to Asterisk and had a query which is probably primitive. I wanted
to know whether I can use the Digium Hardware and receive and establish
connection to a host SIP Server which is totally a different platform.

 Let me explain -

 Usually there is a E1-VoIP gateway (independent Hardware) connecting to a
Server/Client via LAN. In my case, SIP Server.

 Now what I want is that Digium PCI Hardware and the SIP Server will be the
same PC and I Want the PCI Hardware to act as the gateway.

 Therefore my question in particular is:
 That is can I configure the device to talk to the Server in SIP protocol
directly?

--
Imran M Yousuf
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users






--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Diva server 4bri and Portuguese BRI

2006-10-29 Thread Marco Mouta
pls post your misdn.conf as well as extensions.confMay be i can help.Sou Português:)On 10/29/06, Pedro Silva 
[EMAIL PROTECTED] wrote:Thanks Alberto!I tested with telsampl like you said (with various configurations for
de diva) and this not works...:(The trace is:Enter destination address: 273xx--Conn_Req(273xx)Connect_Con--[29]:Disc_IndDisc_Res**Call cleared***
Any idea for the possible problem?Thanks and best regards,PS.2006/10/29, Alberto Pastore [EMAIL PROTECTED]: Pedro Silva ha scritto:
  Hello,   I need to connect one diva server 4bri to a portuguese BRI interface.  The operator (PT) said that this bri is in point-to-multipoint mode  (S0). Previously one PBX has connected to that interface.
  The asterisk and diva drivers are working ok but i cannot communicate  to outside via this bri. Xlite gives me the message: call failed:  declined.  Anyone have experience with this setup?
  What are the main parameters for bri card configuration?  D-channel protocol: ETSI-DSS1 or other?  Interface mode: NT or TE?  Direct Inward Dialing (DID): Yes ou no? (MSN ou DID?)
   Thanks by any kind of help!  Best regards,  PS.  ___  --Bandwidth and Colocation provided by 
Easynews.com --   asterisk-users mailing list  To UNSUBSCRIBE or update options visit:  http://lists.digium.com/mailman/listinfo/asterisk-users
 I'm not sure about Portuguese operators standard, but I bet ETSI-DSS1 should work just fine. The interface mode is surely TE. The DID/MSN should not affect outgoing calls, I generally leave DID
 off unless the telco company has that service active. If you're using the diva server for linux package from eicon (divas4linux, currently rel. 8.2), you should find a very simple utility named telsampl under /usr/lib/eicon/divas
 which you can run besides asterisk, to test outgoing calls. You should run it with this command line: telsampl -c x where x is the bri port you wish to test (1..4) then at the prompt type c and enter a pstn number, 
e.g. your mobile phone, then you can watch the log onscreen. If the outgoing call works, then your isdn setup is correct, and the problem is in asterisk. The message from xlite is not meaningful, as it could occur on many situations.
 You should watch the debug output on asterisk console. That helped me a lot. Alberto. -- -- Alberto Pastore B-Press Srl - Gruppo MSoft
 P.IVA 01697420030 P.le Lombardia, 4 - 28100 Novara - Italy Tel. 0321-499508 Fax 0321-492974 http://www.msoft.it ___
 --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing list
To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Iax bug ?

2006-10-27 Thread Marco Mouta

pls post iax.conf of Both machines , as well as your dial() string on
both servers to connect each other.

That way would be easier to help you.

On 10/27/06, Jean-Baptiste Bellet [EMAIL PROTECTED] wrote:

Hello,

I'm french, so excuse my poor English.
I'm face to a terrible thing, with has stole a lot of my time.
On the .184 machine, I've the following iax.conf :

[general]
rtcachefriends=yes
bandwidth=high
tos=reliability
jitterbuffer=no
autokill=yes

#include iax.voip1.conf
#include iax.renoir.conf

The iax.voip1.conf file contains :

[VOIP1]
type=friend
host=10.0.0.160
auth=rsa
secret=
inkey=voip3
outkey=voip1
context=CONTEXT_VOIP1
allow=all
ipaddr=10.0.0.160
port=4569
qualify=yes
trunk=yes


The iax.renoir.conf file contains :

[VOIP_RENOIR]
type=friend
host=renoir.lucyde
auth=rsa
inkey=key_184
outkey=key_Renoir
context=CONTEXT_RENOIR
trunk=yes
allow=gsm

Thanks to the variable context, when .184 receive a call from .160, this
call should be executed in the CONTEXT_VOIP1. In fact the call is
executed in the CONTEXT_RENOIR. Exactly (with a lot of test and debug),
the call is executed in the context of the last section's context of the
iax.conf file (e.g. CONTEXT_RENOIR here).

Anyone who has any idea ?
Thanks,
jb


PS :
(The debug in the .184 machine :

   -- Accepting UNAUTHENTICATED call from 10.0.0.160:
 requested format = ulaw,
 requested prefs = (alaw),
 actual format = gsm,
 host prefs = (gsm),
 priority = mine
 -- Executing NoOp(IAX2/10.0.0.160:4569-1, I'm in
CONTEXT_RENOIR) in new stack
 -- Executing Macro(IAX2/10.0.0.160:4569-1, check_forward|106)
in new stack

with the following extensions.conf :

[CONTEXT_VOIP1]
exten = _X.,1,NoOp(I'm in CONTEXT_VOIP1)
exten = _X.,2,Macro(check_forward,${EXTEN})

[CONTEXT_RENOIR]
exten = _X.,1,NoOp(I'm in CONTEXT_RENOIR)
exten = _X.,2,Macro(check_forward,${EXTEN})
)


___
--Bandwidth and Colocation provided by Easynews.com --

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




--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Iax bug ?

2006-10-27 Thread Marco Mouta

Hi,

Unfortunately i'm not able to debug this with you now :( I'm busy.

[VOIP1]
type=friend
host=10.0.0.160
auth=rsa
secret=

This secret empty is this allowed?

inkey=voip3
outkey=voip1
context=CONTEXT_VOIP1
allow=all
ipaddr=10.0.0.160
port=4569
qualify=yes
trunk=yes

Try a simple test with this, and then step by step go to rsa authentication.

http://astrecipes.net/index.php?n=204

If in troubles, post here i'll try to help you

By the way, to understand much better what's going on i would
recommend you to not use type=friend and use type=user and type=peer.



On 10/27/06, Jean-Baptiste Bellet [EMAIL PROTECTED] wrote:

Here the .160's iax.conf file :
[general]
bandwidth=high
tos=reliability
bandwidth=low
disallow=all; Icky sound quality...  Mr. Roboto.
allow=alaw  ; Always allow GSM, it's cool :)
jitterbuffer=no
forcejitterbuffer=no
tos=lowdelay
autokill=yes

[VOIP1]
type=friend
host=10.0.0.184
auth=rsa
inkey=voip3
outkey=voip1
context=VOIPLINK3
qualify=1
trunk=yes
allow=all

How .160 call .184 :

exten = _1XXX,1,Dial(IAX2/VOIP1/${EXTEN:1:4})

How .184 call .160 :

exten = _1XXX,1,Dial(IAX2/VOIP1/${EXTEN:1:4})
(the same)

Thanks,
jb


Marco Mouta a écrit :
 pls post iax.conf of Both machines , as well as your dial() string on
 both servers to connect each other.

 That way would be easier to help you.

 On 10/27/06, Jean-Baptiste Bellet [EMAIL PROTECTED] wrote:
 Hello,

 I'm french, so excuse my poor English.
 I'm face to a terrible thing, with has stole a lot of my time.
 On the .184 machine, I've the following iax.conf :

 [general]
 rtcachefriends=yes
 bandwidth=high
 tos=reliability
 jitterbuffer=no
 autokill=yes

 #include iax.voip1.conf
 #include iax.renoir.conf

 The iax.voip1.conf file contains :

 [VOIP1]
 type=friend
 host=10.0.0.160
 auth=rsa
 secret=
 inkey=voip3
 outkey=voip1
 context=CONTEXT_VOIP1
 allow=all
 ipaddr=10.0.0.160
 port=4569
 qualify=yes
 trunk=yes


 The iax.renoir.conf file contains :

 [VOIP_RENOIR]
 type=friend
 host=renoir.lucyde
 auth=rsa
 inkey=key_184
 outkey=key_Renoir
 context=CONTEXT_RENOIR
 trunk=yes
 allow=gsm

 Thanks to the variable context, when .184 receive a call from .160, this
 call should be executed in the CONTEXT_VOIP1. In fact the call is
 executed in the CONTEXT_RENOIR. Exactly (with a lot of test and debug),
 the call is executed in the context of the last section's context of the
 iax.conf file (e.g. CONTEXT_RENOIR here).

 Anyone who has any idea ?
 Thanks,
 jb


 PS :
 (The debug in the .184 machine :

-- Accepting UNAUTHENTICATED call from 10.0.0.160:
  requested format = ulaw,
  requested prefs = (alaw),
  actual format = gsm,
  host prefs = (gsm),
  priority = mine
  -- Executing NoOp(IAX2/10.0.0.160:4569-1, I'm in
 CONTEXT_RENOIR) in new stack
  -- Executing Macro(IAX2/10.0.0.160:4569-1, check_forward|106)
 in new stack

 with the following extensions.conf :

 [CONTEXT_VOIP1]
 exten = _X.,1,NoOp(I'm in CONTEXT_VOIP1)
 exten = _X.,2,Macro(check_forward,${EXTEN})

 [CONTEXT_RENOIR]
 exten = _X.,1,NoOp(I'm in CONTEXT_RENOIR)
 exten = _X.,2,Macro(check_forward,${EXTEN})
 )


 ___
 --Bandwidth and Colocation provided by Easynews.com --

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




--
Jean-Baptiste Bellet
Ingénieur Développpement
Lucyde SAS
Prologue 1 - La Pyrénéenne BP 27201 LABEGE cedex
+33 (0)5 34 31 86 36
http://www.lucyde.com
___
--Bandwidth and Colocation provided by Easynews.com --

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




--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Iax bug ?

2006-10-27 Thread Marco Mouta

Hi,

I think i found your problem, look that in your debug you have, -
Accepting UNAUTHENTICATED call from 10.0.0.160:

Take a look on incoming call authentication, and how asterisk handles this:

http://www.voip-info.org/wiki/view/Asterisk+IAX+authentication

Incoming Connections
When Asterisk receives an incoming IAX connection, the initial call
information can include a username (in the IAX2 USERNAME field) or
not. In addition, the incoming connection has a source IP address that
Asterisk can use for authentication as well.

If a username is supplied, Asterisk does the following:

   * Search iax.conf for a type=user entry with a section name (eg
[username]) matching the supplied username; if no matching entry is
found, refuse the connection.
   * If the found entry has allow and/or deny settings, compare the
IP address of the caller to these lists. If the connection is not
allowed, refuse the connection.
   * Perform the desired secret checking (plaintext, md5 or rsa); if
it fails, refuse the connection.
   * Accept the connection and send the caller to the context
specified in the context setting for this iax.conf entry.

If a username is not supplied, Asterisk does the following:

   * Search for a type=user entry in iax.conf with no secret
specified and also allow and/or deny restrictions that do not restrict
the caller from connecting. If such an entry is found, accept the
connection, and use the name of the found iax.conf entry as the
connecting username.
   * Search for a type=user entry in iax.conf with no secret
specified and no allow and/or deny restrictions at all. If such an
entry is found, accept the connection. and use the name of the found
iax.conf entry as the connecting username.
   * Search for a type=user entry in iax.conf with a secret (or RSA
key) specified and also allow and/or deny restrictions that do not
restrict the caller from connecting. If such an entry is found,
attempt to authenticate the caller using the specified secret or key,
and if that passes, accept the connection, and use the name of the
found iax.conf entry as the connecting username.
   * Search for a type=user entry in iax.conf with a secret (or RSA
key) specified and no allow and/or deny restrictions at all. If such
an entry is found, attempt to authenticate the caller using the
specified secret or key, and if that passes, accept the connection,
and use the name of the found iax.conf entry as the connecting
username.


Hope this helps!

I didn't read all, but what i guess is: the incoming call isn't being
correctly authenticated, so can't go to VOIP1 as you desire, then as
is mention above:

Search for a type=user entry in iax.conf with no secret specified
and no allow and/or deny restrictions at all. If such an entry is
found, accept the connection. and use the name of the found iax.conf
entry as the connecting username.


Pls give some feedback if you solved the problem.









On 10/27/06, Marco Mouta [EMAIL PROTECTED] wrote:

Hi,

Unfortunately i'm not able to debug this with you now :( I'm busy.

[VOIP1]
type=friend
host=10.0.0.160
auth=rsa
secret=
This secret empty is this allowed?
inkey=voip3
outkey=voip1
context=CONTEXT_VOIP1
allow=all
ipaddr=10.0.0.160
port=4569
qualify=yes
trunk=yes

Try a simple test with this, and then step by step go to rsa authentication.

http://astrecipes.net/index.php?n=204

If in troubles, post here i'll try to help you

By the way, to understand much better what's going on i would
recommend you to not use type=friend and use type=user and type=peer.



On 10/27/06, Jean-Baptiste Bellet [EMAIL PROTECTED] wrote:
 Here the .160's iax.conf file :
 [general]
 bandwidth=high
 tos=reliability
 bandwidth=low
 disallow=all; Icky sound quality...  Mr. Roboto.
 allow=alaw  ; Always allow GSM, it's cool :)
 jitterbuffer=no
 forcejitterbuffer=no
 tos=lowdelay
 autokill=yes

 [VOIP1]
 type=friend
 host=10.0.0.184
 auth=rsa
 inkey=voip3
 outkey=voip1
 context=VOIPLINK3
 qualify=1
 trunk=yes
 allow=all

 How .160 call .184 :

 exten = _1XXX,1,Dial(IAX2/VOIP1/${EXTEN:1:4})

 How .184 call .160 :

 exten = _1XXX,1,Dial(IAX2/VOIP1/${EXTEN:1:4})
 (the same)

 Thanks,
 jb


 Marco Mouta a écrit :
  pls post iax.conf of Both machines , as well as your dial() string on
  both servers to connect each other.
 
  That way would be easier to help you.
 
  On 10/27/06, Jean-Baptiste Bellet [EMAIL PROTECTED] wrote:
  Hello,
 
  I'm french, so excuse my poor English.
  I'm face to a terrible thing, with has stole a lot of my time.
  On the .184 machine, I've the following iax.conf :
 
  [general]
  rtcachefriends=yes
  bandwidth=high
  tos=reliability
  jitterbuffer=no
  autokill=yes
 
  #include iax.voip1.conf
  #include iax.renoir.conf
 
  The iax.voip1.conf file contains :
 
  [VOIP1]
  type=friend
  host=10.0.0.160
  auth=rsa
  secret=
  inkey=voip3
  outkey=voip1
  context=CONTEXT_VOIP1
  allow=all
  ipaddr=10.0.0.160
  port=4569
  qualify=yes
  trunk

Re: [asterisk-users] Direct call vs Block call

2006-10-27 Thread Marco Mouta

pls post your misdn.conf as well as extensions.conf, so someone could
help you on this.

On 10/27/06, Frederico Madeira [EMAIL PROTECTED] wrote:

Hi for all,

 i 've installed asterisk with isdn trunk with alcatel pabx.
 For alcatel users use asterisk lines, should dial 0 to take tone from
asterisk. In default configuration in alcatel, if user dial 0 this error
occour:

 !! Unexpected Channel selection 3
 -- Extension '' in context 'default' from '' does not exist. Rejecting call
on channel 0/31, span 1

 In alcatel we're enable block dial, so alcatel only send to asterisk when
user end dialing all digits.

 How i permit the first case to work ??

 Thanks.

--
Frederico Madeira
[EMAIL PROTECTED]
www.madeira.eng.br
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users






--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] asterisk misdn incoming line not working.

2006-10-27 Thread Marco Mouta

Plse Read bellow:

On 10/27/06, Mark Hannessen [EMAIL PROTECTED] wrote:

Hi list,

I have a server running a simple hfs isdn card running with chan_misdn.
the problem is, I can't get asterisk to pick up the phone, outgoing calls work
fine.

when running asterisk with -vvvc I get the following log when I try
to dial the isdn server.

P[ 1] * Starting Ast ctx:kpn-in dad:0594643637 oad:0878722291 with 's'
extension
P[ 1] MGMT: SSTATUS: L1_ACTIVATED
  == Starting mISDN/1-2 at kpn-in,s,1 failed so falling back to exten 's'
  == Starting mISDN/1-2 at kpn-in,s,1 still failed so falling back to
context 'default'
Oct 27 01:28:42 WARNING[3514]: pbx.c:2357 __ast_pbx_run: Channel 'mISDN/1-2'
sent into invalid extension 's' in context 'default', but no invalid handler

087822291 is the number i dial from, 0594643637 is the number that the
asterisk server should respond to.

in misdn.conf i created a kpn section like this:
[kpn]
ports=1ptmp
;group=1
immediate=yes
always_immediate=yes
context=kpn-in
hold_allowed=yes
msns=*

and in extensions.conf i created a very basic kpn-in section like this:
[kpn-in]

HERE IS your PROBLEM:


exten = kpn-in,1,Dial(SIP/mark,25,tr)


1- Be sure of of MSNs string your telco is sending you.
2- Do this:

[kpn-is]
exten= _X.,1,answer
exten= _X.,1,Noop(My telco is sending me this MSN string: ${EXTEN})
exten= _X.,3,wait(1)
exten= _X.,4,Playback(vm-goodbye)
exten= _X.,5,hangup


reload your asterisk after this changes, and dial again.
Now you may understand what your telco is sending you and then start
routing it on your way.

Hope this helps,

Pls. give me some feedback.






I don't really have much experience with asterisk so I probably did something
wrong here, but I couldn't really figure out how to get it done.

anyone out there any ideas?

Mark
___
--Bandwidth and Colocation provided by Easynews.com --

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




--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] asterisk misdn incoming line not working.

2006-10-27 Thread Marco Mouta

My mistake:


[kpn-is]
exten= _X.,1,answer
exten= _X.,2,Noop(My telco is sending me this MSN string: ${EXTEN})
exten= _X.,3,wait(1)
exten= _X.,4,Playback(vm-goodbye)
exten= _X.,5,hangup



On 10/27/06, Marco Mouta [EMAIL PROTECTED] wrote:

Plse Read bellow:

On 10/27/06, Mark Hannessen [EMAIL PROTECTED] wrote:
 Hi list,

 I have a server running a simple hfs isdn card running with chan_misdn.
 the problem is, I can't get asterisk to pick up the phone, outgoing calls work
 fine.

 when running asterisk with -vvvc I get the following log when I try
 to dial the isdn server.

 P[ 1] * Starting Ast ctx:kpn-in dad:0594643637 oad:0878722291 with 's'
 extension
 P[ 1] MGMT: SSTATUS: L1_ACTIVATED
   == Starting mISDN/1-2 at kpn-in,s,1 failed so falling back to exten 's'
   == Starting mISDN/1-2 at kpn-in,s,1 still failed so falling back to
 context 'default'
 Oct 27 01:28:42 WARNING[3514]: pbx.c:2357 __ast_pbx_run: Channel 'mISDN/1-2'
 sent into invalid extension 's' in context 'default', but no invalid handler

 087822291 is the number i dial from, 0594643637 is the number that the
 asterisk server should respond to.

 in misdn.conf i created a kpn section like this:
 [kpn]
 ports=1ptmp
 ;group=1
 immediate=yes
 always_immediate=yes
 context=kpn-in
 hold_allowed=yes
 msns=*

 and in extensions.conf i created a very basic kpn-in section like this:
 [kpn-in]
HERE IS your PROBLEM:

 exten = kpn-in,1,Dial(SIP/mark,25,tr)

1- Be sure of of MSNs string your telco is sending you.
2- Do this:

[kpn-is]
exten= _X.,1,answer
exten= _X.,1,Noop(My telco is sending me this MSN string: ${EXTEN})
exten= _X.,3,wait(1)
exten= _X.,4,Playback(vm-goodbye)
exten= _X.,5,hangup


reload your asterisk after this changes, and dial again.
Now you may understand what your telco is sending you and then start
routing it on your way.

Hope this helps,

Pls. give me some feedback.





 I don't really have much experience with asterisk so I probably did something
 wrong here, but I couldn't really figure out how to get it done.

 anyone out there any ideas?

 Mark
 ___
 --Bandwidth and Colocation provided by Easynews.com --

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



--
Com os melhores cumprimentos,

Marco Mouta




--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Iax bug ?

2006-10-27 Thread Marco Mouta

Why r u using rsa authentication? you should start with something
simple. test the link i sent u.

On 10/27/06, Jean-Baptiste Bellet [EMAIL PROTECTED] wrote:

Thanks a lot.
I think UNAUTHENTICATED call is the source of my problems.
How I can solve it ?
Because allowguest is a sip.conf option ...
jb

Marco Mouta a écrit :
 Hi,

 I think i found your problem, look that in your debug you have, -
 Accepting UNAUTHENTICATED call from 10.0.0.160:

 Take a look on incoming call authentication, and how asterisk handles this:

 http://www.voip-info.org/wiki/view/Asterisk+IAX+authentication

 Incoming Connections
 When Asterisk receives an incoming IAX connection, the initial call
 information can include a username (in the IAX2 USERNAME field) or
 not. In addition, the incoming connection has a source IP address that
 Asterisk can use for authentication as well.

 If a username is supplied, Asterisk does the following:

* Search iax.conf for a type=user entry with a section name (eg
 [username]) matching the supplied username; if no matching entry is
 found, refuse the connection.
* If the found entry has allow and/or deny settings, compare the
 IP address of the caller to these lists. If the connection is not
 allowed, refuse the connection.
* Perform the desired secret checking (plaintext, md5 or rsa); if
 it fails, refuse the connection.
* Accept the connection and send the caller to the context
 specified in the context setting for this iax.conf entry.

 If a username is not supplied, Asterisk does the following:

* Search for a type=user entry in iax.conf with no secret
 specified and also allow and/or deny restrictions that do not restrict
 the caller from connecting. If such an entry is found, accept the
 connection, and use the name of the found iax.conf entry as the
 connecting username.
* Search for a type=user entry in iax.conf with no secret
 specified and no allow and/or deny restrictions at all. If such an
 entry is found, accept the connection. and use the name of the found
 iax.conf entry as the connecting username.
* Search for a type=user entry in iax.conf with a secret (or RSA
 key) specified and also allow and/or deny restrictions that do not
 restrict the caller from connecting. If such an entry is found,
 attempt to authenticate the caller using the specified secret or key,
 and if that passes, accept the connection, and use the name of the
 found iax.conf entry as the connecting username.
* Search for a type=user entry in iax.conf with a secret (or RSA
 key) specified and no allow and/or deny restrictions at all. If such
 an entry is found, attempt to authenticate the caller using the
 specified secret or key, and if that passes, accept the connection,
 and use the name of the found iax.conf entry as the connecting
 username.


 Hope this helps!

 I didn't read all, but what i guess is: the incoming call isn't being
 correctly authenticated, so can't go to VOIP1 as you desire, then as
 is mention above:

 Search for a type=user entry in iax.conf with no secret specified
 and no allow and/or deny restrictions at all. If such an entry is
 found, accept the connection. and use the name of the found iax.conf
 entry as the connecting username.


 Pls give some feedback if you solved the problem.









 On 10/27/06, Marco Mouta [EMAIL PROTECTED] wrote:
 Hi,

 Unfortunately i'm not able to debug this with you now :( I'm busy.

 [VOIP1]
 type=friend
 host=10.0.0.160
 auth=rsa
 secret=
 This secret empty is this allowed?
 inkey=voip3
 outkey=voip1
 context=CONTEXT_VOIP1
 allow=all
 ipaddr=10.0.0.160
 port=4569
 qualify=yes
 trunk=yes

 Try a simple test with this, and then step by step go to rsa
 authentication.

 http://astrecipes.net/index.php?n=204

 If in troubles, post here i'll try to help you

 By the way, to understand much better what's going on i would
 recommend you to not use type=friend and use type=user and type=peer.



 On 10/27/06, Jean-Baptiste Bellet [EMAIL PROTECTED] wrote:
  Here the .160's iax.conf file :
  [general]
  bandwidth=high
  tos=reliability
  bandwidth=low
  disallow=all; Icky sound quality...  Mr. Roboto.
  allow=alaw  ; Always allow GSM, it's cool :)
  jitterbuffer=no
  forcejitterbuffer=no
  tos=lowdelay
  autokill=yes
 
  [VOIP1]
  type=friend
  host=10.0.0.184
  auth=rsa
  inkey=voip3
  outkey=voip1
  context=VOIPLINK3
  qualify=1
  trunk=yes
  allow=all
 
  How .160 call .184 :
 
  exten = _1XXX,1,Dial(IAX2/VOIP1/${EXTEN:1:4})
 
  How .184 call .160 :
 
  exten = _1XXX,1,Dial(IAX2/VOIP1/${EXTEN:1:4})
  (the same)
 
  Thanks,
  jb
 
 
  Marco Mouta a écrit :
   pls post iax.conf of Both machines , as well as your dial() string on
   both servers to connect each other.
  
   That way would be easier to help you.
  
   On 10/27/06, Jean-Baptiste Bellet [EMAIL PROTECTED] wrote:
   Hello,
  
   I'm french, so excuse my poor English.
   I'm face to a terrible thing, with has stole a lot

[asterisk-users] CDR_DISPOSITION_FAILED - Call has been answered correctly

2006-10-24 Thread Marco Mouta

Hi guys,

I've an asterisk 1.2.5 runing as  production system. Now it becomes
very important to my customer an exact analysis of CDRs for their QoS
to their customers.

I've been analysing the CDRs, and i notice many entries like this:

Calldate   |Channel|Source  |  Clid
 |  Dst  | Disposition | Duration
---
2006-10-24 10:10:24 | Zap/2-1... | 2023|   MSN: 2023| 100   |
FAILED  |  01:41
---

There are no complainings about dropped calls or something else.

I must say, this is a ringgroup call, and this took me into this bug:

http://bugs.digium.com/file_download.php?file_id=9084type=bug

Thanks to Mark Spencer for the attached file that appears to fix this
bug which apparently was only happening when the Dial statement
contained more than one SIP user and when those SIP users were not
connected.


Is there someone else out there using this patch on production system?
Problem Solved?

--
Best regards,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] UA - number assignment

2006-10-24 Thread Marco Mouta

I think I understood what you want:
1- You want when someone dials an extension, do a Lookup in a database
using FWDCIDNAME
2- Then Dial the number that corresponds to this FWDCIDNAME in database

is that?

If it is so, i would recomend you to use AstDB - Asterisk Berkeley DB
(version1) - automatically installed with your asterisk.

Example:

exten=_X.,1,Set(NumberToDial=DB(myuserlist/${FWDCIDNAME})
exten= _X.,2,Dial(SIP/${NumberToDial})
exten= _X.,3,hangup

Take a look on this function and applications on your CLI show function DB

hope it helps.

Pls give me some feedback



On 10/24/06, Paul Ianas [EMAIL PROTECTED] wrote:





My problem is simple and I've issued it about 3 weeks ago. I want the UAs to
authenticate with a number to the SIP server. Is this possible?



For example, I configured an AT-RG613TX (Allied Telesyn Residential
Gateway). In its configuration it is not possible for me to skip specifying
a number (ex. 102) along with the username. I've looked into the source code
(SIP implementation) of Asterisk and, as I figured out, it is not possible
to tell Asterisk the number the user has.



The question is: how can I assign a number to a user in Asterisk? One
solution would be to define two rules in extensions.conf :



exten = 102,1,SetCallerId,${FWDCIDNAME}

exten = 102,2,Dial(SIP/pianas)



these would tell Asterisk that user pianas has the number 102.



Is there any other solution for my problem? (a database for example).



Thank you.



--

Paul Ianas

Programming Engineer

Level 7 Software

Timisoara, 59D Bucovinei

phone: 0744137020

email: [EMAIL PROTECTED]


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users




___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Distributing calls among channels in dial group

2006-10-24 Thread Marco Mouta

Define diferent trunks for every PRI span and use RANDOM on your
dialplan before dialing!

On 10/24/06, Asterisk [EMAIL PROTECTED] wrote:

Hi everybody!

Is it possible to order Asterisk to distribute calls to ZAP channels belonging 
to one channel group (also called dial group) in any other way than in 
sequential order (1,2,3 etc.)?

I would like to distribute calls equally between all available PRI spans.

Thanks in advance for any tip!

Alex

___
--Bandwidth and Colocation provided by Easynews.com --

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




--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] #Transfer - Timeout is configurable?

2006-10-20 Thread Marco Mouta

Hi guys,

This should be has an easy answer for you, my users are complaining
that when they press # and then ear gorgeous Allison Transfer the
timeout is very small, they must enter immediatly the extension to
transfer the call.

Is it possible to change this?


;transferdigittimeout = 3  ; Number of seconds to wait between
digits when transfering a call

This is timeout after pressing the first digit isn't it?

--
best regards,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Orange Flash Light Mitel 5215 - Asterisk - working !

2006-10-18 Thread Marco Mouta

Hi guys,

I'm trying to reuse Mitel 5215 from proprietary system now into Asterisk :) !

I've them already with SIP and handling calls sucessfully!

I've followed instructions from:
http://www.voip-info.org/wiki/index.php?page=Asterisk+phone+Mitel+5220

Additional Servers

   * Outbound Server: Off
   * Outbound Server URL: blank
   * Outbound Server Port: blank
   * Voice Mail Server: mailbox # @ * hostname or IP
   * Number of rings: 4
   * Port: 5060
   * Backup Server Timeout: 4 Seconds

This is just great, but i still with a problem! The Orange Flash light
from those phones stills turning Flashing (ON/OFF) all day. It seems
to me could be bad configuration of voicemail server parameter:
  Voice Mail Server: mailbox # @ * hostname or IP

Could you explain me what it means # here ?

As the Message button also works to retrieve voicemail messages, i
thought to put it like

[EMAIL PROTECTED]

This works good to retrieve the voicemail pressing message button, but
the Orange light keeps turning on and off all day:(


Any one can help me on this or has experience with this? Could be a
bad interpretation from me about the instructions on wiki.

Thanks,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Locking phones at night...

2006-10-18 Thread Marco Mouta

A simple way would be:

IVR menu that locks the phone, using function DB(family/key), try show
function DB
in your dialplan.

With DB(family/key) you may insert data into AstDB ; you lock the phone

you may define family= LockedPhones , and the key is the callerid
number of the phone

With DB_EXISTS(family/key) you check if there is an entry to the
current phone inside AstDB, if exists the phone is locked no calls
available else dial!

With  DBdel(family/key) you may unlock the phone from dialplan.

with asterisk -rx database get and put you can manipulate astDB from
your web application.

Hope this helps











On 10/18/06, Mojo with Horan  Company, LLC [EMAIL PROTECTED] wrote:


Tzafrir Cohen wrote:
 Is there a simple and safe way to query the astdb database outside of
 Asterisk?
after writing to it with:
asterisk -rx 'database put phones locked 1'
something like
asterisk -rx 'database get phones locked'
returns 1...

Is this what you mean by outside of asterisk?  Sorry if I misunderstood.
   I'm under the impression (possibly erroneously) that asterisk doesn't
flush its database to disk often enough for you to trust copies that
might be stored there, or to notice new changes made on-disk by you.
That being said, Berkeley DB file, /var/lib/asterisk/astdb.

Moj


--
Mojo [EMAIL PROTECTED]
Office Manager, Horan  Company, LLC
(907) 747- x112
___
--Bandwidth and Colocation provided by Easynews.com --

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




--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Locking phones at night...

2006-10-17 Thread Marco Mouta

Use AstDB  to keep State from Lock and Unlock and create a simple menu
where user with a pincode may unlock his phone (also stored in Astdb,
or other database)

So  2 Menus one to lock the phone with a *XXX combination call, and
another to unlock requesting pin code.


Seems to me the simple way

On 10/17/06, Carlos Chavez [EMAIL PROTECTED] wrote:

I have a customer that wants to lock his phone when he goes home at
night so no one else can use it.  What would be the easiest way to do
this?

--
Carlos Chavez Prats
Director de Tecnología
Telecomunicaciones Abiertas de México S.A. de C.V.
Tel: +52-55-91169161 Ext 2001


___
--Bandwidth and Colocation provided by Easynews.com --

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







--
Com os melhores cumprimentos,

Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Increase VoiceMail Messages Recording Gain - AudioCalls are Ok

2006-10-16 Thread Marco Mouta
Thanks!But i've solved my problem only using g(#) gain argument from voicemail application! For me was enough.Voicemail([EMAIL PROTECTED],b,g(10)) ; where 10 is the gain in dBthks guys for all your replies
On 10/16/06, kjcsb [EMAIL PROTECTED] wrote:







The 
  problem is:Right now, and i'm referring only to calls directly handled by 
  VoiceMail application, the users get their audio files in email but the audio 
  is very very low. I've thought about changing RX gain on PRI interface 
  between legacy pbx and asterisk, but until now no complaining with audio 
  calls.


There's a patch for this: 
http://bugs.digium.com/file_download.php?file_id=10824type=bug

Cameron



___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Increase VoiceMail Messages Recording Gain - AudioCalls are Ok

2006-10-16 Thread Marco Mouta
Error syntax:is Voicemail([EMAIL PROTECTED],bg(10)) ; for busy announce and 10dB record gainOn 10/16/06, Marco Mouta 
[EMAIL PROTECTED] wrote:Thanks!But i've solved my problem only using g(#) gain argument from voicemail application! For me was enough.
Voicemail([EMAIL PROTECTED],b,g(10)) ; where 10 is the gain in dBthks guys for all your replies
On 10/16/06, kjcsb 
[EMAIL PROTECTED] wrote:








The 
  problem is:Right now, and i'm referring only to calls directly handled by 
  VoiceMail application, the users get their audio files in email but the audio 
  is very very low. I've thought about changing RX gain on PRI interface 
  between legacy pbx and asterisk, but until now no complaining with audio 
  calls.


There's a patch for this: 

http://bugs.digium.com/file_download.php?file_id=10824type=bug

Cameron



___--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  

http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta

-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Increase VoiceMail Messages Recording Gain - AudioCalls are Ok

2006-10-11 Thread Marco Mouta
Hi Aaron!Could you please provid me your patch for 1.2? I didn't get you, it was a problem for you to get the messages into mp3 format?Did you have any problem until now with this patch on *1.2 ? My box is 
1.2.5 and still very stable until now:)Hope you can help me, i can't figure out why no one though about this has a serious request on *1.2 , as this seems to happen always when you have asterisk behind a legacy pbx with zapata in telephony interface.
On 10/11/06, Aaron Daniel [EMAIL PROTECTED] wrote:
That doesn't always work :)There's two options... either port the volgain patch from 1.4 to 1.2 (Ifanyone wants a copy, we've been using it for months... however it alsoconverts to mp3 so we'd have to strip that out)... or use 
1.4 whichincludes the patch.Let me know if I should post a copy of the older code somewhere.The 1.4 patch is here:http://bugs.digium.com/view.php?id=6237
Aaron DanielComputer Systems TechnicianSam Houston State University[EMAIL PROTECTED](936) 294-4198On Tue, 2006-10-10 at 21:18 -0500, Shawn Kelley wrote:
 I had the same problem. Checking voicemail via the phone was perfectly normal but the email attachments were so quiet we had to turn the computer volume all the way up along with the speakers amps just to make the attachment understandable.
 Then just wait until someone forgets to turn the volume back down and a lovely windows message box pops up. Scares the (pick your word) out of everyone in the office! After much searching I found the solution:
 In the voicemail.conf file change the order in which the recording formats are specified. Asterisk will email the first format in the list. My original line: format=wav49|wav|gsm My new line: format=wav|wav49|gsm
 NOTE: My understanding is that the wav files are much larger attachments than the wav49 version. However, we haven't noticed much difference, still fairly small attachments. Definitely no problems on a LAN or Broadband
 connection.  From: Marco Mouta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 10, 2006 2:18 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Increase VoiceMail Messages Recording Gain - AudioCalls are Ok Hi all I'm deploying aVoiceMailserver with Asterisk behind a legacy pbx,
 providing Voicemail to email services for Lecagy PBX extensions. On busy or unanswered calls, Legacy pbx will dial a specific DID (one per extension) to asterisk, and the call is handled by Voicemail application.
 I've several SIP extensions on this Asterisk box, and calls between Asterisk extensions and legacy PBX are just fine, at least no complaining from users, seems good to me:) The problem is:
 Right now, and i'm referring only to calls directly handled by VoiceMail application, the users get their audio files in email but the audio is very very low. I've thought about changing RX gain on PRI interface between legacy pbx and
 asterisk, but until now no complaining with audio calls. I'm afraid that changing this parameter to solve voicemail issues will get me in troubles with Voice Calls . Any advice, or previous similar experience?
___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Hicom 150 -- BRI -- Asterisk

2006-10-11 Thread Marco Mouta
Hi,Is is possible to implement this:Hicom150 --- BRI (QSIG)  AsteriskI've been reading Siemens documentation and they say:Digital nailed connectionsCorporate communication networks can be implemented over digital S0 or
S2M nailed connections between several Hicom systems using the CorNet Nprotocol and between Hicom and non-Siemens systems using the QSig protocol.The systems are linked with each other via public and/or private lines.
Does any one ever got this configuration working sucessfully?I'm wondering if it would be possible to communicate via BRI cards using QSIG.In the past i've made this successfully happened but using E1 PRI.
thanks
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Increase VoiceMail Messages Recording Gain -AudioCalls are Ok

2006-10-11 Thread Marco Mouta
Would you be able to tell me which lines must be reordered in app_voicemail.cOn 10/11/06, Cullin J. Wible [EMAIL PROTECTED]
 wrote:externnotify=/opt/asterisk-1.2.7.1/sbin/vm-audio
vm-audio uses 'sox -e' to determine how much to scale by without clippingand thenThen 'sox -v' to scale the sound file.This happens after the email message is sent, but by changing the order of a
few lines in the app_voicemail.c program you can have the externnotify runbefore the email message is sent.Cullin-Original Message-From: 
[EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] On Behalf Of Aaron DanielSent: Wednesday, October 11, 2006 12:49 AM
To: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: RE: [asterisk-users] Increase VoiceMail Messages Recording Gain-AudioCalls are OkThat doesn't always work :)There's two options... either port the volgain patch from 
1.4 to 1.2 (Ifanyone wants a copy, we've been using it for months... however it alsoconverts to mp3 so we'd have to strip that out)... or use 1.4 which includesthe patch.Let me know if I should post a copy of the older code somewhere.
The 1.4 patch is here:http://bugs.digium.com/view.php?id=6237Aaron DanielComputer Systems TechnicianSam Houston State University
[EMAIL PROTECTED](936) 294-4198On Tue, 2006-10-10 at 21:18 -0500, Shawn Kelley wrote: I had the same problem. Checking voicemail via the phone was perfectly normal but the email attachments were so quiet we had to turn the computer volume all the
 way up along with the speakers amps just to make the attachmentunderstandable. Then just wait until someone forgets to turn the volume back down and a lovely windows message box pops up. Scares the (pick your word) out
 of everyone in the office! After much searching I found the solution: In the voicemail.conf file change the order in which the recording formats are specified. Asterisk will email the first format in the list.
 My original line: format=wav49|wav|gsm My new line: format=wav|wav49|gsm NOTE: My understanding is that the wav files are much larger attachments than the wav49 version. However, we haven't noticed much
 difference, still fairly small attachments. Definitely no problems on a LAN or Broadband connection.  From: Marco Mouta [mailto:
[EMAIL PROTECTED]] Sent: Tuesday, October 10, 2006 2:18 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Increase VoiceMail Messages Recording Gain -
 AudioCalls are Ok Hi all I'm deploying aVoiceMailserver with Asterisk behind a legacy pbx, providing Voicemail to email services for Lecagy PBX extensions. On busy or unanswered calls, Legacy pbx will dial a specific DID (one
 per extension) to asterisk, and the call is handled by Voicemail application. I've several SIP extensions on this Asterisk box, and calls between Asterisk extensions and legacy PBX are just fine, at least no
 complaining from users, seems good to me:) The problem is: Right now, and i'm referring only to calls directly handled by VoiceMail application, the users get their audio files in email but
 the audio is very very low. I've thought about changing RX gain on PRI interface between legacy pbx and asterisk, but until now no complaining with audio calls. I'm afraid that changing this parameter to solve voicemail issues will
 get me in troubles with Voice Calls . Any advice, or previous similar experience?___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] cdr_addon_mysql.c - Asterisk 1.4 - Asterisk Addons

2006-10-11 Thread Marco Mouta
Hi guys,I've been installing Asterisk 1.4 with Asterisk addons, and i could notice that in /usr/lib/asterisk/modules/ doesn't have cdr_addon_mysql.so even after compiling Asterisk Addons!In fact the cdr_addon_mysql.c exists, but it doesn't seems to be compile when i run Asterisk-Addons: make  make install
Any one can help me on this?-- best regardsMarco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Increase VoiceMail Messages Recording Gain - Audio Calls are Ok

2006-10-10 Thread Marco Mouta
Hi allI'm deploying a VoiceMailserver with Asterisk behind a legacy pbx, providing Voicemail to email services for Lecagy PBX extensions.On busy or unanswered calls, Legacy pbx will dial a specific DID (one per extension) to asterisk, and the call is handled by Voicemail application.
I've several SIP extensions on this Asterisk box, and calls between Asterisk extensions and legacy PBX are just fine, at least no complaining from users, seems good to me:)The problem is:Right now, and i'm referring only to calls directly handled by VoiceMail application, the users get their audio files in email but the audio is very very low.
I've thought about changing RX gain on PRI interface between legacy pbx and asterisk, but until now no complaining with audio calls.I'm afraid that changing this parameter to solve voicemail issues will get me in troubles with Voice Calls .
Any advice, or previous similar experience?-- Best regardsMarco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] password for vm users

2006-10-09 Thread Marco Mouta
just set your initial password to be equal to vm-account number, and Voicemail application will do that for you and will request users to setup a new password!On 10/9/06, 
stan ford [EMAIL PROTECTED] wrote:
how does one force mandatory password change on login? and a period of time to pass before mandating a password change?im using trixbox so if you have that info. that would be good, if you have it for asterisk, im sure i could figure it out as well
thx. 
		Yahoo! Messenger with Voice. 
Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
___--Bandwidth and Colocation provided by Easynews.com
 --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Codes negotiation problems between Asterisk1.4beta2 and Aastra 480i

2006-10-06 Thread Marco Mouta
Have you ever tried allow=alawulaw in the same line? just a tip...On 10/6/06, Morten Isaksen [EMAIL PROTECTED]
 wrote:
On 10/6/06, Gareth Owen [EMAIL PROTECTED]
 wrote:
Morten,Hmm, I haven't tried Asterisk 1.4 - I guess I should upgrade my system to see what is going on.Can you post the INVITE message that is being rejected?



This INVITE results in a 488 from the phone:


INVITE sip:[EMAIL PROTECTED] SIP/2.0Via: SIP/2.0/UDP 
192.168.10.2:5060;branch=z9hG4bK42f78e77;rportFrom: 1011 
sip:[EMAIL PROTECTED];tag=as3a35aa3aTo: 
sip:[EMAIL PROTECTED]Contact: 
sip:[EMAIL PROTECTED]Call-ID: [EMAIL PROTECTED]
CSeq: 102 INVITEUser-Agent: Asterisk PBXMax-Forwards: 70
Date: Fri, 06 Oct 2006 14:22:26 GMTAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFYSupported: replacesContent-Type: application/sdpContent-Length: 309
v=0o=root 4746 4746 IN IP4 192.168.10.2s=sessionc=IN IP4 
192.168.10.2t=0 0m=audio 10066 RTP/AVP 8 0 3 101a=rtpmap:8 PCMA/8000
a=ptime:20a=rtpmap:0 PCMU/8000a=ptime:20a=rtpmap:3 GSM/8000a=ptime:20a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=sendrecv
And this INVITE works (only alaw is enabled):
INVITE sip:[EMAIL PROTECTED] SIP/2.0Via: SIP/2.0/UDP 
192.168.10.2:5060;branch=z9hG4bK3c04692a;rportFrom: 1011 
sip:[EMAIL PROTECTED];tag=as39cd0724To: 
sip:[EMAIL PROTECTED]Contact: 
sip:[EMAIL PROTECTED]Call-ID: [EMAIL PROTECTED]
CSeq: 102 INVITEUser-Agent: Asterisk PBXMax-Forwards: 70
Date: Fri, 06 Oct 2006 14:23:51 GMTAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFYSupported: replacesContent-Type: application/sdpContent-Length: 238
v=0o=root 4762 4762 IN IP4 192.168.10.2s=sessionc=IN IP4 
192.168.10.2t=0 0m=audio 10042 RTP/AVP 8 101a=rtpmap:8 PCMA/8000
a=ptime:20a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=sendrecv
Also, I know we've fixed a number of SDP related issues in 1.4.1, so if you haven't already you might want to try the 
1.4.1 beta.Info on how to get the beta is available here:
http://groups.google.com/group/Aastra-480i-Users/browse_frm/thread/8f6f0f3419ef396d



I will try that and report back here.-- Morten Isaksen
http://www.misak.dk/blog/ 

___--Bandwidth and Colocation provided by Easynews.com
 --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Configuration / dialplan problem

2006-10-03 Thread Marco Mouta
If you really want _07. to be tested afterall the above patternmatches, you must define it in other context and add it as an include for the current context.Asterisk first will look for your patternmatches in the current context and oonly after this will lookup your include context. This way you can avoid the asterisk resort!
pls give some feedback if it helps...On 10/3/06, Kevin Smith [EMAIL PROTECTED] wrote:
There are a few things to look at.First off, you have a lot of wildcard testing that is probably throwing
the dial plan off. For example, you have the following:exten = _07956nn,1,Dial(${OUTBOUNDTRUNK}/${EXTEN})exten = _07879nn,1,Dial(${OUTBOUNDTRUNK}/${EXTEN})exten = _07862nn,1,Dial(${OUTBOUNDTRUNK}/${EXTEN})
exten = _07.,1,Congestion()If I left it in this order what would happen? From what I understand itis nautral to think in that order, but really Asterisk is going to sortthe extensions something like this:
exten = _07.,1,Congestion()exten = _07956nn,1,Dial(${OUTBOUNDTRUNK}/${EXTEN})exten = _07879nn,1,Dial(${OUTBOUNDTRUNK}/${EXTEN})exten = _07862nn,1,Dial(${OUTBOUNDTRUNK}/${EXTEN})
So now say you dial 07545865143254/8564, it will go to the Congestionapplication every time.What I would do is comment out the wildcard searches and see if thatresolves the problem. If so, try putting all the wildcard tests in an
include and see if that helps.Take a look at these to articles as well:http://www.voip-info.org/wiki/index.php?page=Asterisk+Extension+Matching
http://www.voip-info.org/wiki/index.php?page=Asterisk+config+extensions.conf+sortingAlso just out of observation, why all the testing? Seems to me you could
streamline that code down a bit more. For example, the 01 and 02 tests.If you know they are dialing N number of digits, make the test_01XX, so you know they have to dial a certain amount of digitsto be a valid call. Why send a 4 digit number out your trunk if you know
it isn't going anywhere? If you need to dial '0' then 10 digits, try this: _01NXXNX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN}) _02NXXNX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN}) _07956X,1,Dial(${OUTBOUNDTRUNK}/${EXTEN}) 3
etc.Hopefully that will help,KevinMark Muffett wrote: I have my extensions.conf set up as follows: exten = _Z.,1,Dial(${OUTBOUNDTRUNK}/${EXTEN}) exten = _07956nn,1,Dial(${OUTBOUNDTRUNK}/${EXTEN})
 exten = _07879nn,1,Dial(${OUTBOUNDTRUNK}/${EXTEN}) exten = _07862nn,1,Dial(${OUTBOUNDTRUNK}/${EXTEN}) exten = _01.,1,Dial(${OUTBOUNDTRUNK}/${EXTEN}) exten = _02.,1,Dial(${OUTBOUNDTRUNK}/${EXTEN})
 exten = _0800.,1,Dial(${OUTBOUNDTRUNK}/${EXTEN}) exten = _0845.,1,Dial(${OUTBOUNDTRUNK}/${EXTEN}) exten = _0870.,1,Dial(${OUTBOUNDTRUNK}/${EXTEN}) exten = _09.,1,Congestion()
 exten = _00.,1,Congestion() exten = _07.,1,Congestion() (where nn are actually real digits). I would expect this to let me dial the 07956nn numbers etc while
 stopping dialing to other 07... numbers, but it seems to stop dialling to any 07... number including the 3 specifically listed. Any ideas? Thanks Mark ___
 --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing list
To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] detecting busy on queue transfer

2006-10-02 Thread Marco Mouta
does it solve the problem with j option?Do you have autofallthrough=yes in your general section of extensions.conf ?autofallthrough: New in 1.2. From the sample extensions.conf:
If autofallthrough is set, then if an extension runs out of things to
do, it will terminate the call with BUSY, CONGESTION or HANGUP
depending on Asterisk's best guess (strongly recommended). If
autofallthrough is not set, then if an extension runs out of things to
do, asterisk will wait for a new extension to be dialed (this is the
original behavior of Asterisk 1.0 and earlier).
On 10/2/06, lenz [EMAIL PROTECTED] wrote:
That's my fault in the example - I forgot to add in the j. Anyway whatis strange is that I get my dialplan to jump to position 108, but at thatpoint the agent is disconnected. I thought that when falling out of the
queuetransfer context, the control would be returned to the trasferer,after hearing the I'm sorry tone. Anything I'm missing here?l.In data Mon, 02 Oct 2006 00:36:30 +0200, Marco Mouta
[EMAIL PROTECTED] ha scritto: Hi, I've been looking the application dial on my asterisk server 1.2.9, and as far
 CLI show application Dial j- Jump to priority n+101 if all of the requested channels were busy. It means that the application Dial on Asterisk 1.2 doesn't jump automatically on Busy to the extension n+101, only if you Dial it with
 j argument!exten = _0.,7,Dial(Zap/g1/${EXTEN:1},,j)exten = _0.,108,NoOp(Got busy here) Or you should handle it on you priority 8 in your dialplan
 exten = _0.,7,Dial(Zap/g1/${EXTEN:1}) exten = _0.,8,Goto(s-${DIALSTATUS},1)  This is just an example. Hope it helps, please give me some feeback.
 On 10/1/06, Lenz [EMAIL PROTECTED] wrote: I don't think that is the case - if I add a wait(10) after the step 108,
 i.e. the busy detection, the agent seems to be disconnected immediately at the dial(), not after 10 seconds. That is what made me wonder what was going on. Yours
 l. On Sun, 01 Oct 2006 17:49:15 +0200, Adam Goryachev [EMAIL PROTECTED]
 wrote:   Try adding this line:  exten = _0.,109,Hangup   Dunno if it will solve it, but might help :)   Regards,
  Adam  -- Loway Research - Home of QueueMetrics http://queuemetrics.loway.it ___
 --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users--Assum est, versa et manduca.___
--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Siemens Hipath - asterisk, pri problem

2006-10-02 Thread Marco Mouta
please post your from-zaptel context in extensions.confOn 10/2/06, bivio [EMAIL PROTECTED] wrote:
Hi all,i've an hipath conneted to my asterisk box by a TE110P i can call from astersik to any hipath extension but i can't call from hipath extensions to astersik ones.
asterisk (te110p) -- (TMS2) hipath 3550 in the future i'll connect the hipath to a telecom pri.
the pri in the hipath is configured as EURO PP (with CRC4)i've already checked all previust post about this topic without any clue.many thanks/etc/zaptel.confspan=1,0,0,ccs,hdb3,crc4,yellow
bchan=1-15dchan=16bchan=17-31loadzone=itdefaultzone=it/etc/asterisk/zapata.conf[trunkgroups][channels]language=itcontext=from-zaptel

signalling=pri_netswitchtype=euroisdnrxwink=300 ; Atlas seems to use long (250ms) winks;; Whether or not to do distinctive ring detection on FXO lines;;usedistinctiveringdetection=yes

usecallerid=yeshidecallerid=nocallwaiting=yesusecallingpres=yescallwaitingcallerid=yesthreewaycalling=yestransfer=yescancallforward=yescallreturn=yesechocancel=yesechocancelwhenbridged=no
echotraining=800rxgain=0.0txgain=0.0group=1callgroup=1pickupgroup=1immediate=nochannel = 1-15channel = 17-31---thats the debug when i try to call from the hipath
 Protocol Discriminator: Q.931 (8) len=26 Call Ref: len= 2 (reference 1/0x1) (Originator) Message type: SETUP (5) [04 03 80 90 a3] Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
 Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) Ext: 1 User information layer 1: A-Law (35) [18 03 a1 83 9f] Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred Dchan: 0
 ChanSel: Reserved Ext: 1 Coding: 0 Number Specified Channel Type: 3 Ext: 1 Channel: 31 ] [6c 05 01 80 31 30 30]

 Calling Number (len= 7) [ Ext: 0 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) Presentation: Presentation permitted, user number not screened (0) '100' ]
 [7d 02 91 81] IE: High-layer Compatibility (len = 4)-- Making new call for cr 1-- Processing Q.931 Call Setup-- Processing IE 4 (cs0, Bearer Capability)-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)-- Processing IE 125 (cs0, High-layer Compatibility) -- Extension '' in context 'from-zaptel' from '100' does not exist. Rejecting call on channel 0/31, span 1
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Present, peerstate Call Initiated Protocol Discriminator: Q.931 (8) len=9 Call Ref: len= 2 (reference 1/0x1) (Terminator) Message type: RELEASE COMPLETE (90)
 [08 02 81 81] Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate NullNEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null Protocol Discriminator: Q.931 (8) len=26 Call Ref: len= 2 (reference 1/0x1) (Originator)
 Message type: SETUP (5) [04 03 80 90 a3] Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0) Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
 Ext: 1 User information layer 1: A-Law (35) [18 03 a1 83 9f] Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred Dchan: 0 ChanSel: Reserved
 Ext: 1 Coding: 0 Number Specified Channel Type: 3 Ext: 1 Channel: 31 ] [6c 05 01 80 31 30 30] Calling Number (len= 7) [ Ext: 0 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (
E.164/E.163) (1) Presentation: Presentation permitted, user number not screened (0) '100' ] [7d 02 91 81] IE: High-layer Compatibility (len = 4)-- Making new call for cr 1
-- Processing Q.931 Call Setup-- Processing IE 4 (cs0, Bearer Capability)-- Processing IE 24 (cs0, Channel Identification)-- Processing IE 108 (cs0, Calling Party Number)-- Processing IE 125 (cs0, High-layer Compatibility)
 -- Extension '' in context 'from-zaptel' from '100' does not exist. Rejecting call on channel 0/31, span 1NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Present, peerstate Call Initiated Protocol Discriminator: 
Q.931 (8) len=9 Call Ref: len= 2 (reference 1/0x1) (Terminator) Message type: RELEASE COMPLETE (90) [08 02 81 81] Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
 Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate NullNEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
--byebivio

___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta

Re: [asterisk-users] Siemens Hipath - asterisk, pri problem

2006-10-02 Thread Marco Mouta
try this:first: immediate=no ; otherwise what you r saying is to asterisk automatically dial when you hook up the phone!The problem is that in your context from-zaptel you are not dialing anywhere!i couldn't find you using any Dial(...)
That's why it doesn't work! try this:[from-zaptel]exten= _X.,1,Dial(Zap/G1/${EXTEN})exten= _X.,2,hangupUse it to dial a local extension, i suppose to dial out you are using a prefix
On 10/2/06, bivio [EMAIL PROTECTED] wrote:
2006/10/2, Marco Mouta [EMAIL PROTECTED]:

please post your from-zaptel context in extensions.confThanks to Giordano (immediate=yes) i see the first improvement now i hear the asterisk voice who says the number you digited is not in use, please check
now i'm tryng to understand how to andle the from-zaptel context, here it is[from-zaptel]exten = _X.,1,Set(DID=${EXTEN})exten = _X.,n,Goto(s,1)exten = s,1,NoOp(Entering from-zaptel with DID == ${DID})
; If ($did == ) { $did = s; }exten = s,n,Set(DID=${IF($[${DID}= ]?s:${DID})})exten = s,n,NoOp(DID is now ${DID})exten = s,n,GotoIf($[${CHANNEL:0:3}=Zap]?zapok:notzap)
exten = s,n(notzap),Goto(ext-did,${DID},1); If there's no ext-did,s,1, that means there's not a no did/no cid route. Hangup.exten = s,n,Macro(hangup)exten = s,n(zapok),NoOp(Is a Zaptel Channel)
exten = s,n,Set(CHAN=${CHANNEL:4})exten = s,n,Set(CHAN=${CUT(CHAN,-,1)})exten = s,n,Macro(from-zaptel-${CHAN},${DID},1); If nothing there, then treat it as a DIDexten = s,n,NoOp(Returned from Macro from-zaptel-${CHAN})
exten = s,n,Goto(ext-did,${DID},1) 

___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Issues with calling certain phone numbers...

2006-10-02 Thread Marco Mouta
when you want to dial something via ZAP interface (to PSTN world) you should use dial(ZAP/)On 10/2/06, Luca Corti 
[EMAIL PROTECTED] wrote:Hello,I' using asterisk as a PBX for a dozen of SIP phones of various makes
(Polycom, Linksys, Grandstream, Snom, etc.). I dial public PSTN numbersalso via SIP through an AS5350 which has an E1 ISN PRI attached.I have a PSTN operator number (say 012345678) routed to three SIPextensions (01,21,20) and numbers to directly reach extensions from
outside (say 98765432XX, where 00  XX  99).[outsidetoinside]exten = 012345678,1,Dial(SIP/01,10,t);exten = 012345678,n,Dial(SIP/21,10,t);exten = 012345678,n,Dial(SIP/20,10,t);
exten = 012345678,n,Goto(1);exten = _98765432XX,1,Dial(SIP/${EXTEN:8},60);exten = _98765432XX,n,Hangup();All two digits numbers dialed from extensions are routed to otherextensions, three digit numbers get routed to the PSTN Gateway.
[insidetooutside]exten = 012345678,1,Dial(SIP/01);exten = 012345678,n,Hangup();exten = _98765432XX,1,Dial(SIP/${EXTEN:8});exten = _98765432XX,n,Hangup();exten = _XX.,1,Set(CALLERID(number)=012345678);
exten = _XX.,n,Dial(SIP/[EMAIL PROTECTED]);exten = _XX.,n,Hangup();exten = _XX,1,Dial(SIP/${EXTEN},30,t);exten = _XX,n,Hangup();The problem is that three digit numbers like 187 (which is a public
reachable PSTN number in my country, so I can reach it via the E1) isnot actually routed to the PSTN gateway (as it should).I tried debugging SIP and see no request made to the AS5350. Is there acommand in the asterisk cli to debug how dialplan logic matches
requests? What could be crong?TIALuca___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing list
To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Issues with calling certain phone numbers...

2006-10-02 Thread Marco Mouta
My mistake sorry for last postOn 10/2/06, Marco Mouta [EMAIL PROTECTED] wrote:
when you want to dial something via ZAP interface (to PSTN world) you should use dial(ZAP/)On 10/2/06, 
Luca Corti 
[EMAIL PROTECTED] wrote:Hello,I' using asterisk as a PBX for a dozen of SIP phones of various makes
(Polycom, Linksys, Grandstream, Snom, etc.). I dial public PSTN numbersalso via SIP through an AS5350 which has an E1 ISN PRI attached.I have a PSTN operator number (say 012345678) routed to three SIP
extensions (01,21,20) and numbers to directly reach extensions from
outside (say 98765432XX, where 00  XX  99).[outsidetoinside]exten = 012345678,1,Dial(SIP/01,10,t);exten = 012345678,n,Dial(SIP/21,10,t);exten = 012345678,n,Dial(SIP/20,10,t);
exten = 012345678,n,Goto(1);exten = _98765432XX,1,Dial(SIP/${EXTEN:8},60);exten = _98765432XX,n,Hangup();All two digits numbers dialed from extensions are routed to otherextensions, three digit numbers get routed to the PSTN Gateway.
[insidetooutside]exten = 012345678,1,Dial(SIP/01);exten = 012345678,n,Hangup();exten = _98765432XX,1,Dial(SIP/${EXTEN:8});exten = _98765432XX,n,Hangup();exten = _XX.,1,Set(CALLERID(number)=012345678);
exten = _XX.,n,Dial(SIP/[EMAIL PROTECTED]);exten = _XX.,n,Hangup();exten = _XX,1,Dial(SIP/${EXTEN},30,t);exten = _XX,n,Hangup();The problem is that three digit numbers like 187 (which is a public
reachable PSTN number in my country, so I can reach it via the E1) isnot actually routed to the PSTN gateway (as it should).I tried debugging SIP and see no request made to the AS5350. Is there acommand in the asterisk cli to debug how dialplan logic matches
requests? What could be crong?TIALuca___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing list
To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

-- Com os melhores cumprimentos,Marco Mouta

-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] extensions.conf strangeness

2006-10-01 Thread Marco Mouta
 [invalid] exten = _X!,1,Answer() exten = _X!,2,Background(pbx-invalid)Are you sure that your invalid context is correctly written?I've never heard about this pattern match _X!As far as i know the wild card is the .
So your invalid context should be: [invalid]exten = _X.,1,Answer()
exten = _X.,2,Background(pbx-invalid)This may be the causeHope it helps.On 9/29/06, Brian Candler 
[EMAIL PROTECTED] wrote:On Fri, Sep 29, 2006 at 07:49:00PM +0200, Michael Neuhauser wrote:
 The order of include statements is important in 1.2, I don't know if this still holds for trunk/1.4. Could you please try to include the 'invalid' context as the last one (i.e., AFTER include = test, not
 before) in both internal and from-sip and then test again?Yes, this works - both contexts now behave the same.But what I don't understand is, why it worked in one context but not in theother, when both just included the same four other contexts in the same
order. Is the context merging non-deterministic? Or is it somehow sensitiveto whether the incoming call came from zaptel or SIP?Regards,Brian.___
--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Fax detection ...

2006-10-01 Thread Marco Mouta
Why don't you look for application NVfaxDetect ? are you using Digium boards?I've been using it sucessfully for fax reception!Look for it on voip wiki.On 10/1/06, 
Jay R. Ashworth [EMAIL PROTECTED] wrote:
On Sun, Oct 01, 2006 at 02:58:37PM -0700, Lee Howard wrote: Well, fax detection isn't entirely reliable anyway.Even if you assume that your fax detection feature and operation is flawless in properly
 detecting fax tones (and that most likely would be a specious assumption), not all calling fax machines send fax tones.So, y'know, that assertion gets made a lot.What's the turn rate of fax machines in the market? 3 years?5?CNG
tones are *well* over 10 years old, no?What percentage of fax calls are sent without CNG tones these days?Cheers,-- jra--Jay R. Ashworth
[EMAIL PROTECTED]DesignerBaylink RFC 2100Ashworth  AssociatesThe Things I Think'87 e24St Petersburg FL USA
http://baylink.pitas.com +1 727 647 1274That's women for you; you divorce them, and 10 years later,they stop having sex with you.-- Jennifer Crusie; _Fast_Women_
___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] detecting busy on queue transfer

2006-10-01 Thread Marco Mouta
Hi,I've been looking the application dial on my asterisk server 1.2.9, and as far CLI show application Dialj - Jump to priority n+101 if all of the requested channels were busy.
It means that the application Dial on Asterisk 1.2 doesn't jump automatically on Busy to the extension n+101, only if you Dial it with j argument!exten = _0.,7,Dial(Zap/g1/${EXTEN:1},,j)exten = _0.,108,NoOp(Got busy here)
Or you should handle it on you priority 8 in your dialplanexten = _0.,7,Dial(Zap/g1/${EXTEN:1})exten = _0.,8,Goto(s-${DIALSTATUS},1)This is just an example.
Hope it helps, please give me some feeback.On 10/1/06, Lenz [EMAIL PROTECTED] wrote:
I don't think that is the case - if I add a wait(10) after the step 108,i.e. the busy detection, the agent seems to be disconnected immediately at
the dial(), not after 10 seconds. That is what made me wonder what wasgoing on.Yoursl.On Sun, 01 Oct 2006 17:49:15 +0200, Adam Goryachev
[EMAIL PROTECTED] wrote: Try adding this line: exten = _0.,109,Hangup Dunno if it will solve it, but might help :) Regards, Adam
--Loway Research - Home of QueueMetricshttp://queuemetrics.loway.it___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] When does Scalability requests Asterisk to Use SER ?

2006-09-19 Thread Marco Mouta
Hi all,I'm planing to develop a solution based on Asterisk for about 300 users. My question now is, do I really need to use openSER as the sip proxy and Asterisk for the PBX functions?Can i trust in a solution only with Asterisk to make all this install?
Please help me with your experience on this kind of asterisk solutions.I've googled and read about asterisk at large scale solutions, but still in doubt.
http://www.voip-info.org/wiki-Asterisk+at+large-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] grandstream gxp 2000 does not display names when calling out

2006-09-19 Thread Marco Mouta
test it with someextension and using a sipphone like xlite or something else and you will be able to understand if it is a grandstream issue!hope it helpsOn 9/19/06, 
Christopher Corn [EMAIL PROTECTED] wrote:
i have trixbox running, the latest version and when i make an outgoing call from this phone it doesn't pick up the user's name, but instead display the number. is this a grandstream problem? or asterisk?   
  i did specify the user name from 'extension within trixbox. in matter of face, if i call into that gxp phone, it will display that users name, just doesn't do so when calling out from that phone.
any help is appreciated. thanks.
___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: Re[2]: [asterisk-users] SHSU asterisk installation?

2006-09-16 Thread Marco Mouta
yes in did, this could be one excellent case study for all asterisk Community! Please let me know when it will be held!

By the way, keep asterisk community following your steps would be great for knowledge of everyone and to solve possible problems you could find!
On 9/16/06, Melcon Moraes [EMAIL PROTECTED] wrote:
That would be superb!-Original Message-From: Aaron Daniel 
[EMAIL PROTECTED]To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.comCc:Sent:Sat, 16 Sep 2006 11:32:00 -0500
Delivered:Sat,16 Sep 2006 13:21:48Subject:[asterisk-users] SHSU asterisk installation?Maybe I should just hold a conference call about all this stuff.On Sat, 2006-09-16 at 18:21 +0200, Matt Riddell (IT) wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roy Sigurd Karlsbakk wrote:  Linked from /. today,  
http://www.networkworld.com/news/2006/091206-von-sam-houston.html  talks aboutthe Sam Houston State University (SHSU) migrating a  rather large amount of users to asterisk. The article describes the
  installation in rather vague terms, so I was wondering if someone  know how they plan to do this, in detail.   Yes, there have been several threads about this.
   Obviously I _have_ tried to google about this, so if you could point me  to one of those threads, I'd be grateful - From 3 days ago: 
http://www.sineapps.com/news.php?rssid=1509 Thread here: [asterisk-users] University switches to Asterisk - -- Cheers, Matt Riddell ___
 http://www.sineapps.com/news.php (Daily Asterisk News - html) http://wap.sineapps.com (Daily Asterisk News for your cellphone)
 http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - 
http://enigmail.mozdev.org iD8DBQFFDCScS6d5vy0jeVcRAmQAAKCOcWU04FK6txwH1NfduA0QsFYaogCfb3a4 KojTXtiqQLK7YNtXp+4Qh+I= =T9d+ -END PGP SIGNATURE-
 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users
E-mail classificado pelo Identificador de Spam Inteligente Terra.Para alterar a categoria classificada, visite
http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=levelz_l=1,1158424231.497848.25931.almora.hst.terra.com.br,5369,Des15,Des15--Original Message EndsMelcon Moraes 
[EMAIL PROTECTED]___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta 
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Deploying an IVR - direct extensions.conf or AGI scripts?

2006-09-12 Thread Marco Mouta
Hi all,I'm developing an IVR that will have to make some MYSQL queries and diferent DTMF menus. Preventing already my development effort, future I plan to deploy my own website where users can build their own IVR.
Would you recomend me to make it with Realtime Extensions, do it directly in extensions.conf and for queries and something else use AGI scripts, or you recomend me to build specific AGIscripts with IVR menus inside (this looks very limited for future WebConfig interface)?
What is your advice, concerning with your experience.-- Best regards,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Handling incoming calls from VoIPbuster

2006-09-11 Thread Marco Mouta
Hi all,Currently i've made some tests with VoIP buster and everything is running ok for outbound calls.Now i've created new VoIPbuster account, and my goal is to allow VoIPbuster partners to dial into my dialplan IVRs for free.
But I always get my VoIPbuster account (currently registred with my asterisk server) offline.Any one has successfull configuration for this?-- Best regards,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Forward recorded voicemail message to more than one extension using sendvoicemail=yes

2006-09-11 Thread Marco Mouta
Hi,The answer for your question is Yes for Sure.Check VoiceMail( ) application syntax:VoiceMail([flags][EMAIL PROTECTED][EMAIL PROTECTED]boxnumber3]
)http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+VoiceMail
Hope it helps,MOn 9/11/06, Jay Dutt [EMAIL PROTECTED] wrote:
I'd like to be able to record a voicemail message, then enter a list ofextensions to forward that voicemail message. Currently, thesendvoicemail=yes setting in voicemail.conf [general] section onlyallows for one extension to forward the message. Is thee any way to
forward to multiple extensions?___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] monoBRI + install-misdn-mqueue: no inbound calls but strange messages

2006-09-06 Thread Marco Mouta
please post also your extensions.conf !;; inbound group;[inbound]; Giorgio test:pmp_l1_check=no;msns=*This Line must be uncomment for sure, of course you may match only specific msns, but for now keep it msns=*
msns=*; end testports = 1context = outbound_isdnOn 9/6/06, Giorgio Incantalupo 
[EMAIL PROTECTED] wrote:Hi Marco,in attachment you can find my 
misdn.conf. Consider that I'm still fixingsome warning because I recently upgraded from install-misdn toinstall-misdn-mqueue but the driver installation manual has not changed.Some comments are due to the fact I'm still making tests to solve the
incoming calls problem I mentioned.Thank you.Giorgio IncantalupoMarco Mouta wrote: Please post your *misdn*-*init*.*conf as well as misdn.conf so i can try to help u*
 On 9/5/06, *Giorgio Incantalupo* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote: Hi, I hava an Asterisk box with a monoBRI + install-misdn-mqueue 0.3.1-rc23 package installed. I can make outbound calls but cannot receive any. I get no Asterisk
 messages on the console except for these: P[ 1] GOT IGNORE SETUP P[ 1] CC_RELEASE_COMPLETE|CONFIRM [TE] P[ 1] release_chan: Ch not found! Is there anybody who can help me, please?
 TIA Giorgio Incantalupo ___ --Bandwidth and Colocation provided by 
Easynews.com http://Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users -- Com os melhores cumprimentos, Marco Mouta 
 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users[general]debug = 5tracefile = /var/log/asterisk/misdn.trace
trace_calls = falsetrace_dir = /var/log/asterisk/misdnbridging = yesstop_tone_after_first_digit = yesappend_digits2exten = yesl1_info_ok = yesclear_l3 = nomethod = standard;;; CRYPTION STUFF
dynamic_crypt = nocrypt_prefix = **crypt_keys = test,muh; users sections:[default]context = misdnlanguage = itnationalprefix = 0internationalprefix = 00rxgain = 0txgain = 0
te_choose_channel = nodialplan = 0use_callingpres = yesechocancelwhenbridged = noechotraining = yes;; inbound group;[inbound]; Giorgio test:pmp_l1_check=no;msns=*; end test
ports = 1context = outbound_isdn___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing list
To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] core dumps

2006-09-06 Thread Marco Mouta
post your tail /var/log/asterisk/fullOn 9/6/06, Anthony Musaluke [EMAIL PROTECTED] wrote:
Hell all,I have asterisk dying and restarting. After it dies, it creates a core file.Running gdb on this file produces the details below. This is very random andI am not sure what could be happening. Any ideas where I need to look?
ThanksAnthony--(gdb) bt full#00x00881402 in __kernel_vsyscall ()No symbol table info available.#10x001d38f8 in raise () from /lib/libc.so.6
No symbol table info available.#20x001d5068 in abort () from /lib/libc.so.6No symbol table info available.#30x00208a0a in __libc_message () from /lib/libc.so.6No symbol table info available.#40x0020f8ca in _int_malloc () from /lib/libc.so.6
No symbol table info available.#50x002109b9 in calloc () from /lib/libc.so.6No symbol table info available.#60x00727051 in sip_alloc (callid=0x0, sin=0x0, useglobal_nat=0,intended_method=3) at chan_sip.c:3076
p = (struct sip_pvt *) 0x20e4ad__PRETTY_FUNCTION__ = sip_alloc#70x0073100e in sip_poke_peer (peer=0x8b19a60) at chan_sip.c:11629__PRETTY_FUNCTION__ = sip_poke_peer
#80x0073dd87 in sip_poke_peer_s (data="" at chan_sip.c:5761No locals.#90x08056778 in ast_sched_runq (con=0x8b251f8) at sched.c:373x = 0res = 0#10 0x00747ddf in do_monitor (data="" at chan_sip.c:11523
res = 0sip = Variable sip is not available.--___
--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] monoBRI + install-misdn-mqueue: no inbound calls but strange messages

2006-09-06 Thread Marco Mouta
msns is as far as i know, similar to DIDs but it includes the complete Dialed number (the number your customer has dialed to call you).put msns=*also test this:[outbound_isdn]exten= _X.,1,Answer()
exten = _X.,n,Playback(vm-goodbye)exten = _X.,n,Hangupexten= s,1,Answer()
exten = s,n,Playback(vm-goodbye)
exten = s,n,HangupEnable an higher debug level for misdn messages in misdn.conf (I think is this the file).Pls post your results Asterisk CLI.On 9/6/06, 
Giorgio Incantalupo [EMAIL PROTECTED] wrote:
Hi Marco,I have not a normal extensions.conf:[outbound_isdn]include = parkedcallsexten = _X.,1,DeadAGI(exten2.py)exten = _X.,2,Hangupexten = s,1,DeadAGI(exten2.py)exten = s,2,Hangup
The problem is I do not see the usual coloured output on Asteriskconsole (-- Executing DeadAGI(SIP/8-1d1a, exten2.py) in new stack)even with verbose 100. It seems like extensions.conf
 is not considered.I looked for msns parameter on internet but it is not very clear what itmeans...is it for inbound or outbound calls?Thank YouGiorgio IncantalupoMarco Mouta wrote:
 please post also your extensions.conf ! ; ; inbound group ; [inbound] ; Giorgio test: pmp_l1_check=no ;msns=* This Line must be uncomment for sure, of course you may match only
 specific msns, but for now keep it msns=* msns=* ; end test ports = 1 context = outbound_isdn On 9/6/06, *Giorgio Incantalupo*  
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Marco, in attachment you can find my misdn.conf
. Consider that I'm still fixing some warning because I recently upgraded from install-misdn to install-misdn-mqueue but the driver installation manual has not changed. Some comments are due to the fact I'm still making tests to solve the
 incoming calls problem I mentioned. Thank you. Giorgio Incantalupo Marco Mouta wrote:  Please post your *misdn*-*init*.*conf as well as 
misdn.conf so i can  try to help u*   On 9/5/06, *Giorgio Incantalupo* [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED]  mailto:[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote:   Hi,  I hava an Asterisk box with a monoBRI + install-misdn-mqueue  0.3.1-rc23  package installed.
  I can make outbound calls but cannot receive any. I get no Asterisk  messages on the console except for these:   P[ 1] GOT IGNORE SETUP
  P[ 1] CC_RELEASE_COMPLETE|CONFIRM [TE]  P[ 1] release_chan: Ch not found!   Is there anybody who can help me, please?  
  TIAGiorgio Incantalupo  ___  --Bandwidth and Colocation provided by 
Easynews.com http://Easynews.com  http://Easynews.com -- 
  asterisk-users mailing list  To UNSUBSCRIBE or update options visit:  http://lists.digium.com/mailman/listinfo/asterisk-users
  --  Com os melhores cumprimentos,   Marco Mouta  
   ___  --Bandwidth and Colocation provided by Easynews.com 
http://Easynews.com --   asterisk-users mailing list  To UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users  [general] debug = 5 tracefile = /var/log/asterisk/misdn.trace trace_calls = false
 trace_dir = /var/log/asterisk/misdn bridging = yes stop_tone_after_first_digit = yes append_digits2exten = yes l1_info_ok = yes clear_l3 = no method = standard
 ;;; CRYPTION STUFF dynamic_crypt = no crypt_prefix = ** crypt_keys = test,muh ; users sections: [default] context = misdn
 language = it nationalprefix = 0 internationalprefix = 00 rxgain = 0 txgain = 0 te_choose_channel = no dialplan = 0 use_callingpres = yes
 echocancelwhenbridged = no echotraining = yes ; ; inbound group ; [inbound] ; Giorgio test: pmp_l1_check=no ;msns=*
 ; end test ports = 1 context = outbound_isdn ___ --Bandwidth and Colocation provided by 
Easynews.com http://Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users -- Com os melhores cumprimentos,
 Marco Mouta  ___ --Bandwidth and Colocation provided by 
Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users
___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] monoBRI + install-misdn-mqueue: no inbound calls but strange messages

2006-09-06 Thread Marco Mouta
Hi,Multiple Subscriber Number. This is a telephone number
  associated with an ETS 300 BRI line. Providers
  of ETS 300 often give you three MSNs with a BRI, although additional MSNs can
  be purchased. An ISDN terminal will ring (provide an alerting
  signal) only when calls are made to the MSN (or MSNs) entered in that
  terminal. If a terminal has no MSNs entered it will ring whenever
  there is a call to any of the MSN's on that BRI.You can have specific ports of your Beronet card handling specific MSNs, and then route it to diferent contexts into Asterisk, like handling two companies in one asterisk server.
Got it?Best regardsOn 9/6/06, Giorgio Incantalupo 
[EMAIL PROTECTED] wrote:Hi Marco,it seems that msns=* is necessaryto make Asterisk work correctly...I
do not why...We have another PBX with a monoBRI but have not this problem, maybe isthe different ISDN telco or the old misdn driver does notcomplainthe important is that now it works!!I have only to fix some warning (I hope for an update of the beronet
manual) and it seems all right.Thank you again for help!!Marco Mouta wrote: msns is as far as i know, similar to DIDs but it includes the complete Dialed number (the number your customer has dialed to call you).
 put msns=* also test this: [outbound_isdn] exten= _X.,1,Answer() exten = _X.,n,Playback(vm-goodbye) exten = _X.,n,Hangup exten= s,1,Answer()
 exten = s,n,Playback(vm-goodbye) exten = s,n,Hangup Enable an higher debug level for misdn messages in misdn.conf (I think is this the file). Pls post your results Asterisk CLI.
 On 9/6/06, * Giorgio Incantalupo* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote: Hi Marco, I have not a normal extensions.conf: [outbound_isdn] include = parkedcalls exten = _X.,1,DeadAGI(exten2.py
) exten = _X.,2,Hangup exten = s,1,DeadAGI(exten2.py) exten = s,2,Hangup The problem is I do not see the usual coloured output on Asterisk console (-- Executing DeadAGI(SIP/8-1d1a, 
exten2.py) in new stack) even with verbose 100. It seems like extensions.conf is not considered. I looked for msns parameter on internet but it is not very clear
 what it means...is it for inbound or outbound calls? Thank You Giorgio Incantalupo Marco Mouta wrote:  please post also your 
extensions.conf !  ;  ; inbound group  ;  [inbound]  ; Giorgio test:  pmp_l1_check=no  ;msns=* 
  This Line must be uncomment for sure, of course you may match only  specific msns, but for now keep it msns=*   msns=*   ; end test
  ports = 1  context = outbound_isdnOn 9/6/06, *Giorgio Incantalupo*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:   Hi Marco,  in attachment you can find my misdn.conf
 . Consider that I'm still  fixing  some warning because I recently upgraded from install-misdn to  install-misdn-mqueue but the driver installation manual has not
  changed.  Some comments are due to the fact I'm still making tests to solve the  incoming calls problem I mentioned.  
  Thank you.Giorgio Incantalupo  Marco Mouta wrote:   Please post your *misdn*-*init*.*conf as well as
 misdn.conf so i can   try to help u* On 9/5/06, *Giorgio Incantalupo* 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]   mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote: Hi,   I hava an Asterisk box with a monoBRI +
 install-misdn-mqueue   0.3.1-rc23   package installed.   I can make outbound calls but cannot receive any. I get no  Asterisk
   messages on the console except for these: P[ 1] GOT IGNORE SETUP   P[ 1] CC_RELEASE_COMPLETE|CONFIRM [TE]
   P[ 1] release_chan: Ch not found! Is there anybody who can help me, please?   TIA
   Giorgio Incantalupo   ___   --Bandwidth and Colocation provided by 
Easynews.com http://Easynews.com  http://Easynews.com   
http://Easynews.com -- asterisk-users mailing list   To UNSUBSCRIBE or update options visit:  
 http://lists.digium.com/mailman/listinfo/asterisk-users 
http://lists.digium.com/mailman/listinfo/asterisk-users   --   Com os melhores cumprimentos,
 Marco Mouta 
 ___   --Bandwidth and Colocation provided by Easynews.com 
http://Easynews.com   http://Easynews.com -- asterisk-users mailing list
   To UNSUBSCRIBE or update options visit:   http://lists.digium.com/mailman/listinfo/asterisk-users
   [general]  debug = 5  tracefile = /var/log/asterisk/misdn.trace  trace_calls = false
  trace_dir = /var/log/asterisk/misdn  bridging = yes  stop_tone_after_first_digit = yes  append_digits2exten = yes  l1_info_ok = yes
  clear_l3 = no  method = standard   ;;; CRYPTION STUFF   dynamic_crypt = no  crypt_prefix = **
  crypt_keys = test,muh   ; users sections:   [default]  context = misdn  language

Re: [asterisk-users] monoBRI + install-misdn-mqueue: no inbound calls but strange messages

2006-09-06 Thread Marco Mouta
Also your problem could be related with the Answer() you weren't answering the calls on your previous extensions.confPls test both configs with and without answer and reply your results.
On 9/6/06, Marco Mouta [EMAIL PROTECTED] wrote:
Hi,Multiple Subscriber Number. This is a telephone number
  associated with an ETS 300 BRI line. Providers
  of ETS 300 often give you three MSNs with a BRI, although additional MSNs can
  be purchased. An ISDN terminal will ring (provide an alerting
  signal) only when calls are made to the MSN (or MSNs) entered in that
  terminal. If a terminal has no MSNs entered it will ring whenever
  there is a call to any of the MSN's on that BRI.You can have specific ports of your Beronet card handling specific MSNs, and then route it to diferent contexts into Asterisk, like handling two companies in one asterisk server.
Got it?Best regardsOn 9/6/06, Giorgio Incantalupo
 
[EMAIL PROTECTED] wrote:Hi Marco,it seems that msns=* is necessaryto make Asterisk work correctly...I
do not why...We have another PBX with a monoBRI but have not this problem, maybe isthe different ISDN telco or the old misdn driver does notcomplainthe important is that now it works!!I have only to fix some warning (I hope for an update of the beronet
manual) and it seems all right.Thank you again for help!!Marco Mouta wrote: msns is as far as i know, similar to DIDs but it includes the complete Dialed number (the number your customer has dialed to call you).
 put msns=* also test this: [outbound_isdn] exten= _X.,1,Answer() exten = _X.,n,Playback(vm-goodbye) exten = _X.,n,Hangup exten= s,1,Answer()
 exten = s,n,Playback(vm-goodbye) exten = s,n,Hangup Enable an higher debug level for misdn messages in misdn.conf (I think is this the file). Pls post your results Asterisk CLI.
 On 9/6/06, * Giorgio Incantalupo* [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED]
 wrote: Hi Marco, I have not a normal extensions.conf: [outbound_isdn] include = parkedcalls exten = _X.,1,DeadAGI(exten2.py

) exten = _X.,2,Hangup exten = s,1,DeadAGI(exten2.py) exten = s,2,Hangup The problem is I do not see the usual coloured output on Asterisk console (-- Executing DeadAGI(SIP/8-1d1a, 
exten2.py) in new stack) even with verbose 100. It seems like extensions.conf is not considered. I looked for msns parameter on internet but it is not very clear

 what it means...is it for inbound or outbound calls? Thank You Giorgio Incantalupo Marco Mouta wrote:  please post also your 
extensions.conf !  ;  ; inbound group  ;  [inbound]  ; Giorgio test:  pmp_l1_check=no  ;msns=* 
  This Line must be uncomment for sure, of course you may match only  specific msns, but for now keep it msns=*   msns=*   ; end test
  ports = 1  context = outbound_isdnOn 9/6/06, *Giorgio Incantalupo*  
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  mailto:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:   Hi Marco,
  in attachment you can find my misdn.conf
 . Consider that I'm still  fixing  some warning because I recently upgraded from install-misdn to  install-misdn-mqueue but the driver installation manual has not
  changed.  Some comments are due to the fact I'm still making tests to solve the  incoming calls problem I mentioned.  
  Thank you.Giorgio Incantalupo  Marco Mouta wrote:   Please post your *misdn*-*init*.*conf as well as
 misdn.conf so i can   try to help u* On 9/5/06, *Giorgio Incantalupo* 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  mailto: 
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]   mailto:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  mailto: 
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:  
   Hi,   I hava an Asterisk box with a monoBRI +
 install-misdn-mqueue   0.3.1-rc23   package installed.   I can make outbound calls but cannot receive any. I get no  Asterisk
   messages on the console except for these: P[ 1] GOT IGNORE SETUP   P[ 1] CC_RELEASE_COMPLETE|CONFIRM [TE]

   P[ 1] release_chan: Ch not found! Is there anybody who can help me, please?   TIA
   Giorgio Incantalupo   ___   --Bandwidth and Colocation provided by 
Easynews.com 
http://Easynews.com  http://Easynews.com   
http://Easynews.com -- asterisk-users mailing list   To UNSUBSCRIBE or update options visit:
  
 http://lists.digium.com/mailman/listinfo/asterisk-users 

http://lists.digium.com/mailman/listinfo/asterisk-users   --   Com os melhores cumprimentos,
 Marco Mouta 

 ___   --Bandwidth and Colocation provided by 
Easynews.com 
http://Easynews.com   
http://Easynews.com -- asterisk-users mailing list
   To UNSUBSCRIBE or update options visit:   
http://lists.digium.com/mailman/listinfo/asterisk-users
   [general]  debug = 5  tracefile = /var/log/asterisk/misdn.trace  trace_calls = false
  trace_dir = /var/log/asterisk/misdn  bridging = yes

Re: [asterisk-users] app_rxfax Only Receives One Page

2006-09-06 Thread Marco Mouta
Try to increase your rxgain, and check you have echocancel disabledpls post your resultsOn 9/6/06, Steve Totaro 
[EMAIL PROTECTED] wrote:Doug Lytle wrote: Steve Totaro wrote:
 I am trying to setup a fax server and all I get is the first page of a multipage fax.The first page is perfect quality. I am not sure how to debug this.I have an HP DL320 with a quad
 Sangoma T1 board. You'll be much happier moving it over to HylaFAX and iaxmodem.Very easy to setup, low impact on the server and has error correction. Doug
I used the asterfax install script which installs iaxmodem.I will lookinto HylaFAX but I would love to find the solution to the one pageproblem while I pursue HylaFAX.___
--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] app_rxfax Only Receives One Page

2006-09-06 Thread Marco Mouta
It has happened to me, with a x100p card, problems receiving fax that i've solved adjusting the gains.

Don't understand quite well why you say that...


On 9/6/06, Steve Underwood [EMAIL PROTECTED] wrote:
Marco Mouta wrote: Try to increase your rxgain, and check you have echocancel disabled
Better still, try leaving the gains alone. If the gain controls wereremoved completely from Asterisk, support issues would decreasedramatically.Steve pls post your results On 9/6/06, *Steve Totaro*  
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Doug Lytle wrote:
  Steve Totaro wrote:  I am trying to setup a fax server and all I get is the first page of  a multipage fax.The first page is perfect quality. 
  I am not sure how to debug this.I have an HP DL320 with a quad  Sangoma T1 board.   You'll be much happier moving it over to HylaFAX and iaxmodem.Very
  easy to setup, low impact on the server and has error correction.   Doug  I used the asterfax install script which installs iaxmodem.I will look
 into HylaFAX but I would love to find the solution to the one page problem while I pursue HylaFAX.___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta 
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] why executed Hangup doesn't exit DialPlan?look my dialplan...

2006-09-05 Thread Marco Mouta
Hi all,I think i'm missing something very very basic! I want my calls with DID 48XX (From pstn E1 TE110P) to be answered then playback a file and hangup.Part of my extensions.conf where from-pstn is the context for all calls from pstn line is:
[from-pstn]include = from-pstn-custom ; create this context in extensions_custom.conf to include customizationsinclude = ext-did-custominclude = from-pstn-timecheck ; this has to be included otherwise it overrides ext-did
exten = fax,1,Goto(ext-fax,in_fax,1)[ext-did-custom]exten = _48XX,1,Answerexten = _48XX,n,SetVar(FROM_DID=${EXTEN})exten = _48XX,n,Playback(vm-goodbye)exten = _48XX,n,Hangup
[from-pstn-timecheck]exten = _.,1,Goto(s,1) ; catch-all matching for calls that have DID info (if a DID route hasn't matched them)exten = s,1,GotoIf($[${IN_OVERRIDE} = forcereghours]?from-pstn-reghours,s,1:)
exten = s,2,GotoIf($[${IN_OVERRIDE} = forceafthours]?from-pstn-afthours,s,1:)exten = s,3,GotoIfTime(${REGTIME}|${REGDAYS}|*|*?from-pstn-reghours,s,1:)exten = s,4,Goto(from-pstn-afthours,s,1)
Problem, look my Asterisk CLI : -- Accepting call from '2132' to '4888' on channel 0/1, span 1 -- Executing Answer(Zap/1-1, ) in new stack -- Executing SetVar(Zap/1-1, FROM_DID=4888) in new stack
 -- Executing Playback(Zap/1-1, vm-goodbye) in new stack -- Playing 'vm-goodbye' (language 'pt') -- Executing Hangup(Zap/1-1, ) in new stack == Spawn extension (from-pstn, 4888, 4) exited non-zero on 'Zap/1-1'
 -- Executing Goto(Zap/1-1, s|1) in new stack -- Goto (from-pstn,s,1) -- Executing GotoIf(Zap/1-1, 1?from-pstn-reghours|s|1:) in new stack -- Goto (from-pstn-reghours,s,1)
 -- Executing GotoIf(Zap/1-1, 0?from-pstn-reghours-nofax|s|1:2) in new stack -- Goto (from-pstn-reghours,s,2) -- Executing Answer(Zap/1-1, ) in new stack
 -- Executing PlayTones(Zap/1-1, ring) in new stack -- Executing NVFaxDetect(Zap/1-1, 8) in new stack -- Channel 0/1, span 1 got hangup requestAfter the hangup the call seems to keep executing Dialplan why?? Does this is related with autofallback option in globals???
Why Hangup didn't exit dialplan?Hope some one can help me.-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Re: why executed Hangup doesn't exit DialPlan?look my dialplan...

2006-09-05 Thread Marco Mouta
I've solved the problem, but still not understanding very well why do i need it:I've inserted inside [ext-did-custom]exten=h,1,hangupWhy do i need this? this is not usually used to run something after an hangupcall?
thks!On 9/5/06, Marco Mouta [EMAIL PROTECTED] wrote:
Hi all,I think i'm missing something very very basic! I want my calls with DID 48XX (From pstn E1 TE110P) to be answered then playback a file and hangup.Part of my extensions.conf where from-pstn is the context for all calls from pstn line is:
[from-pstn]include = from-pstn-custom ; create this context in extensions_custom.conf to include customizationsinclude = ext-did-custominclude = from-pstn-timecheck ; this has to be included otherwise it overrides ext-did
exten = fax,1,Goto(ext-fax,in_fax,1)[ext-did-custom]exten = _48XX,1,Answerexten = _48XX,n,SetVar(FROM_DID=${EXTEN})exten = _48XX,n,Playback(vm-goodbye)exten = _48XX,n,Hangup
[from-pstn-timecheck]exten = _.,1,Goto(s,1) ; catch-all matching for calls that have DID info (if a DID route hasn't matched them)exten = s,1,GotoIf($[${IN_OVERRIDE} = forcereghours]?from-pstn-reghours,s,1:)
exten = s,2,GotoIf($[${IN_OVERRIDE} = forceafthours]?from-pstn-afthours,s,1:)exten = s,3,GotoIfTime(${REGTIME}|${REGDAYS}|*|*?from-pstn-reghours,s,1:)exten = s,4,Goto(from-pstn-afthours,s,1)

Problem, look my Asterisk CLI : -- Accepting call from '2132' to '4888' on channel 0/1, span 1 -- Executing Answer(Zap/1-1, ) in new stack -- Executing SetVar(Zap/1-1, FROM_DID=4888) in new stack
 -- Executing Playback(Zap/1-1, vm-goodbye) in new stack -- Playing 'vm-goodbye' (language 'pt') -- Executing Hangup(Zap/1-1, ) in new stack == Spawn extension (from-pstn, 4888, 4) exited non-zero on 'Zap/1-1'
 -- Executing Goto(Zap/1-1, s|1) in new stack -- Goto (from-pstn,s,1) -- Executing GotoIf(Zap/1-1, 1?from-pstn-reghours|s|1:) in new stack -- Goto (from-pstn-reghours,s,1)
 -- Executing GotoIf(Zap/1-1, 0?from-pstn-reghours-nofax|s|1:2) in new stack -- Goto (from-pstn-reghours,s,2) -- Executing Answer(Zap/1-1, ) in new stack
 -- Executing PlayTones(Zap/1-1, ring) in new stack -- Executing NVFaxDetect(Zap/1-1, 8) in new stack -- Channel 0/1, span 1 got hangup request
After the hangup the call seems to keep executing Dialplan why?? Does this is related with autofallback option in globals???
Why Hangup didn't exit dialplan?Hope some one can help me.-- Com os melhores cumprimentos,Marco Mouta

-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Re: why executed Hangup doesn't exit DialPlan?look my dialplan...

2006-09-05 Thread Marco Mouta
Thank you Very MUCH I really appreciate your explanation, i wasn't getting it!On 9/5/06, Tony Mountifield 
[EMAIL PROTECTED] wrote:In article 
[EMAIL PROTECTED],Marco Mouta [EMAIL PROTECTED] wrote: I've solved the problem, but still not understanding very well why do i need
 it: I've inserted inside [ext-did-custom] exten=h,1,hangup Why do i need this? this is not usually used to run something after an hangupcall? thks!
Your problem is this line:exten = _.,1,Goto(s,1) ; catch-all matching for calls that have DID info (if a DID route hasn't matched them)The pattern _. will match absolutely anything, and so when the line hangs up,
and Asterisk looks for the 'h' extension, it finds _. which matches, and doesthe goto back to 's'!!!You should never use _. as a pattern. If you want to match any NUMBER, you cando _X. to match two or more digits, and if you also want to match a single
digit you add a second line with _X as the extension.Using X ensures that the pattern won't match any of the special non-numericextensions like h, i, t and so on.Hope this helps.CheersTony
 On 9/5/06, Marco Mouta [EMAIL PROTECTED] wrote:   Hi all,   I think i'm missing something very very basic! I want my calls with DID
  48XX (From pstn E1 TE110P) to be answered then playback a file and hangup.   Part of my extensions.conf where from-pstn is the context for all calls  from pstn line is:
   [from-pstn]  include = from-pstn-custom ; create this context in  extensions_custom.conf to include customizations  include = ext-did-custom
  include = from-pstn-timecheck; this has to be included  otherwise it overrides ext-did  exten = fax,1,Goto(ext-fax,in_fax,1)[ext-did-custom]
  exten = _48XX,1,Answer  exten = _48XX,n,SetVar(FROM_DID=${EXTEN})  exten = _48XX,n,Playback(vm-goodbye)  exten = _48XX,n,Hangup   [from-pstn-timecheck]
  exten = _.,1,Goto(s,1) ; catch-all matching for calls that have  DID info (if a DID route hasn't matched them)  exten = s,1,GotoIf($[${IN_OVERRIDE} =  forcereghours]?from-pstn-reghours,s,1:)
  exten = s,2,GotoIf($[${IN_OVERRIDE} =  forceafthours]?from-pstn-afthours,s,1:)  exten = s,3,GotoIfTime(${REGTIME}|${REGDAYS}|*|*?from-pstn-reghours,s,1:)  exten = s,4,Goto(from-pstn-afthours,s,1)
Problem, look my Asterisk CLI :   -- Accepting call from '2132' to '4888' on channel 0/1, span 1  -- Executing Answer(Zap/1-1, ) in new stack
  -- Executing SetVar(Zap/1-1, FROM_DID=4888) in new stack  -- Executing Playback(Zap/1-1, vm-goodbye) in new stack  -- Playing 'vm-goodbye' (language 'pt')
  -- Executing Hangup(Zap/1-1, ) in new stack  == Spawn extension (from-pstn, 4888, 4) exited non-zero on 'Zap/1-1'  -- Executing Goto(Zap/1-1, s|1) in new stack
  -- Goto (from-pstn,s,1)  -- Executing GotoIf(Zap/1-1, 1?from-pstn-reghours|s|1:) in new  stack  -- Goto (from-pstn-reghours,s,1)  -- Executing GotoIf(Zap/1-1, 0?from-pstn-reghours-nofax|s|1:2) in
  new stack  -- Goto (from-pstn-reghours,s,2)  -- Executing Answer(Zap/1-1, ) in new stack  -- Executing PlayTones(Zap/1-1, ring) in new stack
  -- Executing NVFaxDetect(Zap/1-1, 8) in new stack  -- Channel 0/1, span 1 got hangup request   After the hangup the call seems to keep executing Dialplan why?? Does
  this is related with autofallback option in globals???   Why Hangup didn't exit dialplan?   Hope some one can help me.   --  Com os melhores cumprimentos,
   Marco Mouta  -- Com os melhores cumprimentos, Marco Mouta -=-=-=-=-=- [Alternative: text/html] -=-=-=-=-=-
 -=-=-=-=-=- ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users -=-=-=-=-=-
--Tony MountifieldWork: [EMAIL PROTECTED] - http://www.softins.co.ukPlay: [EMAIL PROTECTED]
 - http://tony.mountifield.org___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] latest CentOS-asterisk-freepbx installation procedure

2006-09-05 Thread Marco Mouta
www.nerdvittles.comOn 9/5/06, Roland [EMAIL PROTECTED] wrote:
I've tried all those at voip.info.org but I just couldn't get it
right. and I don't have the luxury of time to try figure out how tomake it work by myself.any other very useful new guides you guys have? tnx___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] File structure question

2006-09-05 Thread Marco Mouta
Thanks Peter, I've also learned with your tips ;)On 9/5/06, Peter Bowyer [EMAIL PROTECTED] wrote:
On 05/09/06, Jay Moore [EMAIL PROTECTED] wrote:
 Perhaps if answering the simple things politely is too difficult for you, you'd be better off not answering at all.Someday, I hope, you'll find that 'simple' is a relative term.Perhaps if receiving accurate answers without biting off the hand of
the person helping you is too difficult for you, you'd be better offpaying for a support contract with some reputable organisation? Thatway you can do no work whatsoever yourself and enjoy never-endinghandholding at $150 per incident. That may suit you better.
Around peer-support lists, you tend to find an aversion to tellingpeople things they could easily look up or find out for themselves ina few keystrokes.You'll also notice that I took the trouble not only to answer your
question, but to come back and re-phrase my answer when I saw youhadn't understood my explanation. You got all that for free. Enjoy!Peter--Peter BowyerEmail: 
[EMAIL PROTECTED]___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,
Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] ATA being used as a SIP Trunk to connect LegacyPbx to Main Asterisk Server

2006-09-05 Thread Marco Mouta
Hi all,Do you think it could be an affordable solution using a two fxs ATA device to connect an old legacy pbx (with few users) with a main asterisk server.phonesanalogueSmallOfficeLegacyPBxATA-2FXS-SIP--MainOffice AsteriskServer
This way also I would use ATA device as a Trunk without requiring an Asterisk server on every smalloffice and no need to buy many ATAs neither VoiP hardphones.Is this affordable or i'm missing already basic functions required for a production system?
-- Best regardsMarco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] monoBRI + install-misdn-mqueue: no inbound calls but strange messages

2006-09-05 Thread Marco Mouta
Please post your misdn-init.conf as well as misdn.conf so i can try to help uOn 9/5/06, Giorgio Incantalupo
 [EMAIL PROTECTED] wrote:
Hi,I hava an Asterisk box with a monoBRI + install-misdn-mqueue 0.3.1-rc23package installed.I can make outbound calls but cannot receive any. I get no Asteriskmessages on the console except for these:
P[ 1] GOT IGNORE SETUPP[ 1] CC_RELEASE_COMPLETE|CONFIRM [TE]P[ 1] release_chan: Ch not found!Is there anybody who can help me, please?TIAGiorgio Incantalupo___
--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] vim syntax highlighting( for Asterisk.conf files)

2006-09-04 Thread Marco Mouta
Hi Tzafrir,I've made vim /etc/asterisk/extensions_custom.conf then :set syntax=asterisk, and nothing happens. No errors no warnings and also no highlight syntax...Thks,
On 9/2/06, Tzafrir Cohen [EMAIL PROTECTED] wrote:
On Fri, Sep 01, 2006 at 03:03:39PM +0100, Marco Mouta wrote: Hi all, I've just installed vim70, looking for vim syntax highlighting( for Asterisk.conf files) , 
http://voip-info.org/tiki-index.php?page=vim+syntax+highlighting, and i notice that both: asterisk.vim and filetype.vimalready refer asterisk configurations. But unfortunately i couldn't get yet the highlight syntax working fine for
 my asterisk.conf files. Any one can help me?What happens if you run manually::set syntax=asterisk--Tzafrir Cohen sip:[EMAIL PROTECTED]
icq#16849755iax:[EMAIL PROTECTED]+972-50-7952406jabber:[EMAIL PROTECTED]
[EMAIL PROTECTED] http://www.xorcom.com___--Bandwidth and Colocation provided by Easynews.com
 --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Architecture:MainOffice(AstServer)-SmallOffices(ATA.-LegacyPBX)

2006-09-04 Thread Marco Mouta
Hi,I'm planning a solution to establish a connection between Main office company, and let's say 15 small offices:Plan:1- Asterisk Server @ Main Office (connected to main office legacy pbx)2- Linksys SPA 3000 to install on every small office.
Idea behind SPA 3000, the main goal is to keep every user with their traditional phone and just connect SPA3000 to the legacy pbx of the small office and then route the calls from lecagy PBX to MainOffice Asterisk Server via voIP.
Then SPA3000 would be used as a low cost solution to allow any user from the small office to call Main office Company. This way with only one or two ATA per small office i would be able to connected every one with main office with very lowcost price
I would like to hear from you any suggestions or ideas, is this acceptable for a productions system?-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Any Hardphone with VPNClient embedded?

2006-09-04 Thread Marco Mouta
Hi all,Does any of you knows an Hardphone with VPN client embedded? -- Best regards,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] vim syntax highlighting( for Asterisk.conf files)

2006-09-04 Thread Marco Mouta
Just Great!What was missing is:syntax onNow perfect! Thks guys! In fact i couldn't find this basic step any where except here. Ok I'm a newbie, but it will help others if is written in the tutorials. I'll look for wiki to post this there.
On 9/4/06, Victor Toofic [EMAIL PROTECTED] wrote:
On mon, sep 04, 2006, 10:44 +0100, Marco Mouta wrote: I've made vim /etc/asterisk/extensions_custom.conf then :set syntax=asterisk, and nothing happens. No errors no warnings and also no highlight syntax...
Hi!!I have asterisk.vim under /usr/share/vim/vimXX/syntax/ and:set filetype=asterisk:syntax on (optionally)works fine for me.--Víctor Toofic___
--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] vim syntax highlighting( for Asterisk.conf files)

2006-09-04 Thread Marco Mouta
BTW Could you tell me how to i make it load this option by default everytime?On 9/4/06, Marco Mouta 
[EMAIL PROTECTED] wrote:Just Great!What was missing is
:syntax onNow perfect! Thks guys! In fact i couldn't find this basic step any where except here. Ok I'm a newbie, but it will help others if is written in the tutorials. I'll look for wiki to post this there.
On 9/4/06, Victor Toofic 
[EMAIL PROTECTED] wrote:
On mon, sep 04, 2006, 10:44 +0100, Marco Mouta wrote: I've made vim /etc/asterisk/extensions_custom.conf then :set syntax=asterisk, and nothing happens. No errors no warnings and also no highlight syntax...
Hi!!I have asterisk.vim under /usr/share/vim/vimXX/syntax/ and:set filetype=asterisk:syntax on (optionally)works fine for me.--Víctor Toofic___
--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta

-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] vim syntax highlighting( for Asterisk.conf files)

2006-09-04 Thread Marco Mouta
Done,I've created ~/.vimrc file and inside this file:syntax onthks once moreOn 9/4/06, Marco Mouta 
[EMAIL PROTECTED] wrote:BTW Could you tell me how to i make it load this option by default everytime?
On 9/4/06, Marco Mouta 

[EMAIL PROTECTED] wrote:Just Great!What was missing is

:syntax onNow perfect! Thks guys! In fact i couldn't find this basic step any where except here. Ok I'm a newbie, but it will help others if is written in the tutorials. I'll look for wiki to post this there.
On 9/4/06, Victor Toofic 

[EMAIL PROTECTED] wrote:
On mon, sep 04, 2006, 10:44 +0100, Marco Mouta wrote: I've made vim /etc/asterisk/extensions_custom.conf then :set syntax=asterisk, and nothing happens. No errors no warnings and also no highlight syntax...
Hi!!I have asterisk.vim under /usr/share/vim/vimXX/syntax/ and:set filetype=asterisk:syntax on (optionally)works fine for me.--Víctor Toofic___
--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta

-- Com os melhores cumprimentos,Marco Mouta

-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] FAX handling

2006-09-04 Thread Marco Mouta
Pls Post your Asterisk CLI when Fax is incoming.On 9/4/06, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:I read on this list not so long ago that you should only enable alaw.I've
never tested this.Phil. Jose Limeres [EMAIL PROTECTED] omTo
 Sent by:Asterisk Users Mailing List - asterisk-users-bo Non-Commercial Discussion [EMAIL PROTECTED]
 asterisk-users@lists.digium.com m.comcc Subje
 ct
 04/09/2006 15:35[asterisk-users] FAX handling Please respond toAsterisk UsersMailing List -Non-CommercialDiscussion
 [EMAIL PROTECTED] ists.digium.comHi all,I am using asterisk 1.2.10 BRI stuffed 0.3.0-PRE-1s with zaptel 1.2.8
 andwe are trying to have FAX receiving working inone of the BRI lines.No problem with FAX transmissions but we can not receive. I have configuredin zapata.conf faxdetect=both (tx and rx).FAX machine is connected to one FXS port on a PAP2 with G711a and no echo
cancelation configured. When the FAX arrives at theFAX machine, they start negotiating but then it stops as if the format isnot recognized by the Fax machine as a valid fax.Does anyone have a similar configuration working?
Bests,Jose Limeres___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] File structure question

2006-09-04 Thread Marco Mouta
So the #include could be made just after the [general] section o extensions.conf? outside of any specific context, i think this was the question.On 9/4/06, 
Peter Bowyer [EMAIL PROTECTED] wrote:
On 04/09/06, Jay Moore [EMAIL PROTECTED] wrote: Right, I guess I was wondering if it's possible to include a file without it being in a context.The goal I wanted to achieve was to have
 as few contexts in the main extensions.conf file as possible.Did you try it? It would take... perhaps 30 seconds? A minute ifyou're a slow typist...Yes, you can do this. #include is a literal text include, as the last
poster said.--Peter BowyerEmail: [EMAIL PROTECTED]___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] help me!!Problem on incoming calls

2006-09-01 Thread Marco Mouta
,Playback(/tmp/asterisk-recording);exten = 
5678,5,Wait(2);exten = 5678,6,Hangup 


4) This is [from-internal-trixbox]section in 
extensions_trixbox.conffile:

[from-internal-trixbox]include = custom-speed-dial

exten = _**.,1,Pickup(${EXTEN:2}) ; GXP-2000 phone press BLF to pick up 
ringing call

exten = *61,1,Answerexten = *61,2,AGI(weather.agi)exten 
= *61,3,Hangup

exten = *62,1,Answer exten = *62,2,AGI(wakeup.php) exten 
= *62,3,Hangup 

exten = 611,1,Answerexten = 611,2,Wait(1)exten = 
611,3,DigitTimeout(7)exten = 611,4,ResponseTimeout(10)exten = 
611,5,Flite(At the beep enter the three character airport code for the weather 
report you wish to retrieve.)exten = 611,6,Read(APCODE,beep,3)exten 
= 611,7,Flite(Please hold a moment while we contact the National Weather 
Service for your report.)exten = 
611,8,AGI(nv-weather.php|${APCODE})exten = 611,9,NoOp(Wave file: 
${TMPWAVE})exten = 611,10,Playback(${TMPWAVE})exten = 
611,11,Hangup

; CallingCard application;add an incoimf route for the DID to Custom 
App: (un-comment next line);custom-callingcard,s,1

; un-comment the 6 lines below to work on incoming 
DIDs;[custom-callingcard];exten = s,1,Answer;exten = 
s,2,Wait,2;exten = s,3,DeadAGI,a2billing.php;exten = 
s,4,Wait,2;exten = s,5,Hangup

  - Original Message - 
  
From: 
  Marco 
  Mouta 
  To: 
Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Thursday, August 31, 2006 6:07 
  PM
  Subject: Re: [asterisk-users] help 
  me!!Problem on incoming calls
  forgot to mention, it may help if you post your 
  extensions.confAs you are using from-internal context for this 
  calls,and you are using trixbox, have look in extensions_additional.conf and 
  all extension_*.conf to find out your [from-internal] context. By the 
  way I wouldn't use the from-internal context for incoming calls from PSTN 
  line...
  On 8/31/06, Marco 
  Mouta  
  [EMAIL PROTECTED] wrote:
  
Hi Please Post you Asterisk CLi when incoming is arriving. 

On 8/31/06, Patrick  
[EMAIL PROTECTED]  wrote:
On 
  Thu, 2006-08-31 at 17:27 +0200, Andrea infoteam wrote: Hi, 
   Please Help me!!! I've installed 
  TrixBoxand VISDN (snapshot 20060802) on a PC with an 
  HFC-4s card. Outbound Calls work fine, and inbound calls from 
  Cellphones work fine too.  I have a problem with 
  incoming calls beginning with 0 (national and international 
  calls-I stay in Italy) Thanks in advance for 
  answers Andrea De NadaiWouldn't it be a better idea to 
  ask on the vISDN mailing list and/or the Trixbox forum? You are after 
  all using their 
  software...Regards,Patrick___--Bandwidth 
  and Colocation provided by Easynews.com 
  --asterisk-users mailing listTo UNSUBSCRIBE or update 
  options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

-- Com os melhores cumprimentos,
Marco Mouta -- Com os melhores cumprimentos,Marco Mouta 
  
  

  ___--Bandwidth and 
  Colocation provided by Easynews.com --asterisk-users mailing 
  listTo UNSUBSCRIBE or update options visit: 
  http://lists.digium.com/mailman/listinfo/asterisk-users
  
  

  No virus found in this incoming message.Checked by AVG Free 
  Edition.Version: 7.1.405 / Virus Database: 268.11.7/434 - Release Date: 
  30/08/2006

___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] help me!!Problem on incoming calls

2006-09-01 Thread Marco Mouta
add this to [justtotest]exten=s,1,Answerexten=s,2,Playback(vm-goodbye)exten=s,3,hangupreply your results and asterisk cli
On 9/1/06, Andrea infoteam [EMAIL PROTECTED] wrote:








Hi Marco,
my from-trunk context in extensions.conf 
is:

[from-trunk]
include = from-pstn

[from-pstn]include = 
from-pstn-custom 
; create this context in extensions_custom.conf to include 
customizationsinclude = ext-findmefollow; MODIFICATOIN (PL) 
for findmefollow if enabled, should be bofore ext-localinclude = 
ext-did-direct; MODIFICATOIN (PL) put before ext-did to take 
precedenceinclude = ext-didexten = 
fax,1,Goto(ext-fax,in_fax,1)

;end from-trunk

I tested your example:
The input calls from cellphones execute the [justtotest] section,
the other input 
calls not worked fine.

  
- Original Message - 
  
From: 
  Marco 
  Mouta 
  To: 
Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Friday, September 01, 2006 12:14 
  PM
  Subject: Re: [asterisk-users] help 
  me!!Problem on incoming calls
  Hi,Please Post your from-trunk context or clever than 
  that create a context in 
  extensions_custom.conf:[justtotest]exten=_X.,1,Answerexten=_X.,2,Playback(vm-goodbye)exten=_X.,3,hangup 
  and in your 
  [VISDN1.2]context=justtotest .Be aware 
  to write only in extensions_custom.conf , the other files are changed by 
  trixbox on updates(at least this is the beavior of freepbx from hold 
  [EMAIL PROTECTED] the previous of Trixbox.Please post your 
  results.Best regards
  On 9/1/06, Andrea 
  infoteam  
  [EMAIL PROTECTED] wrote:
  



ThanksMarco,


this is my CLI when received a call from number 
beginning wwith 0:

-- Executing Macro(VISDN/visdn1.2/76.I, hangupcall) in new 
stack -- Executing ResetCDR(VISDN/visdn1.2/76.I, 
w) in new stack -- Executing 
NoCDR(VISDN/visdn1.2/76.I, ) in new stack -- 
Executing Wait(VISDN/visdn1.2/76.I, 5) in new 
stack -- Executing Hangup(VISDN/visdn1.2/76.I, ) 
in new stack

1) this is [from-internal] and [from-pstn] 
section of my extensions.conf:

[from-internal]; applications are now mostly all found in 
from-internal-additional in _custom.confinclude = 
parkedcallsinclude = from-internal-custom;allow phones to dial 
other extensionsinclude = ext-faxinclude = 
from-trunk;allow phones to access generated contexts;; MODIFIED 
(PL);; Currently the include for findmefollow is being 
auto-generated before ext-local which is the desired behavior.; However, 
I haven't been able to do anything that I know of to force this. We need to 
determine if it should; be hardcoded into here to make sure it doesn't 
change with some configuration. For now I will leave it out; until we 
can discuss this.;include = from-internal-additionalexten 
= s,1,Macro(hangupcall)exten = h,1,Macro(hangupcall)

[from-pstn]include = 
from-pstn-custom 
; create this context in extensions_custom.conf to include 
customizationsinclude = ext-findmefollow; MODIFICATOIN 
(PL) for findmefollow if enabled, should be bofore ext-localinclude 
= ext-did-direct; MODIFICATOIN (PL) put before ext-did to 
take precedenceinclude = ext-didexten = 
fax,1,Goto(ext-fax,in_fax,1)

2) This is a [from-internal-additional] section in 
extensions_additional.conf file:

[from-internal-additional]include = 
from-internal-additional-custominclude = ext-groupinclude = 
app-dnd-offinclude = app-dnd-oninclude = 
ext-queuesinclude = app-callwaiting-cwoffinclude = 
app-callwaiting-cwoninclude = ext-meetmeinclude = 
app-cf-busy-offinclude = app-cf-busy-off-anyinclude = 
app-cf-busy-oninclude = app-cf-offinclude = 
app-cf-off-anyinclude = app-cf-oninclude = 
app-cf-unavailable-offinclude = app-cf-unavailable-oninclude 
= app-recordingsinclude = app-calltraceinclude = 
app-directoryinclude = app-echo-testinclude = 
app-speakextennuminclude = app-speakingclockinclude = 
ext-findmefollowinclude = app-gabcastinclude = 
app-dialvminclude = app-vmmaininclude = 
app-userlogonoffinclude = app-zapbargeinclude = 
ext-testinclude = ext-localinclude = 
outbound-allroutesexten = h,1,Hangup

; end of [from-internal-additional]

3) This is all extensions_custom.conf file:

#include extensions_trixbox.conf#include extensions_hud.conf

[from-restricted];; These are all the applications that you 
will require; include = app-cf-busy-offinclude = 
app-cf-busy-off-anyinclude = app-cf-busy-oninclude = 
app-cf-offinclude = app-cf-off-anyinclude = 
app-cf-oninclude = app-cf-unavailable-offinclude = 
app-cf-unavailable-oninclude = app-calltraceinclude = 
app-callwaiting-cwoffinclude = app-callwaiting-cwoninclude = 
app-dialvminclude = app-directoryinclude = 
app-dnd-offinclude = app-dnd-oninclude = 
app-echo-testinclude = app

[asterisk-users] vim syntax highlighting( for Asterisk.conf files)

2006-09-01 Thread Marco Mouta
Hi all,I've just installed vim70, looking for vim syntax highlighting( for Asterisk.conf files) , http://voip-info.org/tiki-index.php?page=vim+syntax+highlighting
, and i notice that both: asterisk.vim and filetype.vim
already refer asterisk configurations.But unfortunately i couldn't get yet the highlight syntax working fine for my asterisk.conf files.Any one can help me?Centos4.2 is my distribuition
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] help me!!Problem on incoming calls

2006-09-01 Thread Marco Mouta
HiCalls from Cellphones and from landline phones arriving into your asterisk using the same PSTN provider? Or do you have GSM gateway?It seems to me your problem is you are not receiving any DID or MSNs when call comes from landline (i mean start with 0)
M.On 9/1/06, Andrea infoteam [EMAIL PROTECTED] wrote:







Hi marco,

this is my cli when i receive a call beginning with 0,i have done two 
tests:

First test the cli is:

 -- Executing Answer(VISDN/visdn1.2/10.I, ) in new 
stack -- Executing Playback(VISDN/visdn1.2/10.I, 
vm-goodbye) in new stack -- Playing 'vm-goodbye' 
(language 'it') -- Executing Hangup(VISDN/visdn1.2/10.I, 
) in new stack

Second test the cli is:

 -- Executing NoOp(VISDN/visdn1.1/11.I, No DID or CID 
Match) in new stack -- Executing 
Answer(VISDN/visdn1.1/11.I, ) in new stack -- 
Executing Wait(VISDN/visdn1.1/11.I, 2) in new stack -- 
Executing Playback(VISDN/visdn1.1/11.I, ss-noservice) in new 
stack -- Playing 'ss-noservice' (language 
'it') -- Executing SayAlpha(VISDN/visdn1.1/11.I, ) in 
new stack
Please,what's mean the network_specific_prefix = , 
subscriber_prefix = , abbreviated_prefix =  in section [global] of the 
visdn.conf file?

Another questions for you...you speak Italian 
language?

Thanks in advance for answers





  
- Original Message - 
  
From: 
  Marco 
  Mouta 
  To: 
Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Friday, September 01, 2006 3:23 
  PM
  Subject: Re: [asterisk-users] help 
  me!!Problem on incoming calls
  add this to [justtotest]exten=s,1,Answerexten=s,2,Playback(vm-goodbye)exten=s,3,hangupreply 
  your results and asterisk cli
  On 9/1/06, Andrea 
  infoteam [EMAIL PROTECTED] wrote:
  



 
Hi Marco,
my from-trunk context in extensions.conf 
is:

[from-trunk]
include = from-pstn


[from-pstn]include = 
from-pstn-custom 
; create this context in extensions_custom.conf to include 
customizationsinclude = ext-findmefollow; MODIFICATOIN 
(PL) for findmefollow if enabled, should be bofore ext-localinclude 
= ext-did-direct; MODIFICATOIN (PL) put before ext-did to 
take precedenceinclude = ext-didexten = 
fax,1,Goto(ext-fax,in_fax,1)


;end from-trunk

I tested your example:
The input calls from cellphones execute the 
[justtotest] 
section,
the other 
input calls not worked fine.



- 
Original Message - 

From: 
Marco Mouta 
To: 
Asterisk Users 
Mailing List - Non-Commercial Discussion 

Sent: 
Friday, September 01, 2006 12:14 PM
Subject: 
Re: [asterisk-users] help me!!Problem on incoming calls
Hi,Please Post your from-trunk context or clever than 
that create a context in 
extensions_custom.conf:[justtotest]exten=_X.,1,Answerexten=_X.,2,Playback(vm-goodbye)exten=_X.,3,hangup 
and in your 
[VISDN1.2]context=justtotest .Be 
aware to write only in extensions_custom.conf , the other files are changed 
by trixbox on updates(at least this is the beavior of freepbx from hold 
[EMAIL PROTECTED] the previous of Trixbox.Please post your 
results.Best regards


  
  
  
  
  
  
  
- 
  Original Message - 
  
From: 
  Marco Mouta 
  To: 
  Asterisk Users 
  Mailing List - Non-Commercial Discussion 
  Sent: 
  Thursday, August 31, 2006 6:07 PM
  Subject: 
  Re: [asterisk-users] help me!!Problem on incoming calls
  forgot to mention, it may help if you post your 
  extensions.confAs you are using from-internal context for this 
  calls,and you are using trixbox, have look in extensions_additional.conf 
  and all extension_*.conf to find out your [from-internal] context. 
  By the way I wouldn't use the from-internal context for incoming 
  calls from PSTN line...
  On 8/31/06, Marco 
  Mouta  
  [EMAIL PROTECTED] wrote: 
  
Hi Please Post you Asterisk CLi when incoming is arriving. 

On 8/31/06, Patrick  
[EMAIL PROTECTED]  wrote: 
On 
  Thu, 2006-08-31 at 17:27 +0200, Andrea infoteam wrote: Hi, 
   Please Help me!!! I've installed 
  TrixBoxand VISDN (snapshot 20060802) on a PC with 
  an HFC-4s card. Outbound Calls work fine, and inbound calls 
  from Cellphones work fine too.  I have 
  a problem with incoming calls beginning with 0 (national and 
  international calls-I stay in Italy) Thanks in advance 
  for answers Andrea De NadaiWouldn't it be a better 
  idea to ask on the vISDN mailing list and/or the Trixbox forum? 
  You are after all using their 
  software...Regards,Patrick___--Bandwidth 
  and Colocation provided by Easynews.com 
  --asterisk-users mailing listTo UNSUBSCRIBE

Re: [asterisk-users] Probelm with incoming calls to my DID-Please help me

2006-09-01 Thread Marco Mouta
Hi,Please read bellow:On 9/1/06, Crazy Boy [EMAIL PROTECTED] wrote:
Hi friends, Thank you to all for your response and cooperation to me. I have a doubt.We have registered with Teliax and got DID number. We are making calls to USA successfully using your service. But, We are unable to receive incoming calls to our DID. Here I am sending my config files and error message on Asterisk console. 
Contents in IAX.CONF file:disallow=all   allow = ulaw [general]  register = 
teliaxusername:[EMAIL PROTECTED]  [teliax]  context=telincoming  type=friend  host=
voip-co1.teliax.com  auth=md5  secret=teliaxpassword  disallow=all  allow=ulaw  allow=alaw  allow=gsm 
  Contents in Sip.conf file:  [105] type=friend username=105 secret=ravi callerid=RaviKanth host=dynamic
 context=leader canreinvite=no nat=yes dtmfmode=rfc2833 allow=all [EMAIL PROTECTED]  [107] type=friend username=107 secret=suresh callerid=Suresh host=dynamic
 context=administration canreinvite=no nat=yes dtmfmode=rfc2833 allow=all [EMAIL PROTECTED] 
 Contents in Extensions.conf file:[telincoming]  exten = 303xxx, 1, Answer()  exten = 303xxx, n, Wait,2  exten = 303xxx, n, Goto(incoming,s,1)
You need to inser _ before a pattern so asterisk can try to match it:  exten = _303xxx, 1, Answer()exten = _303xxx, n, Wait,2  exten = _303xxx, n, Goto(incoming,s,1)
Should solve your problem!Also only as debug you can try _X. Pls tell me if it solved your problem.
 include = internal  include = incoming   [incoming] 
 exten = s,1,Wait(3)  exten = s,n,Answer  exten = s,n,SetMusicOnHold(default)  exten = s,n,Set(TIMEOUT(digit)=5)  exten = s,n,Set(TIMEOUT(response)=10)  exten = s,n,Background(/tmp/virg2)
  exten = s,n,Goto(s,1)  exten = s,n,Hangup()  include = internal   [internal]  exten = 105,1,SetMusicOnHold(default)  exten = 105,2,Dial(SIP/105,7,t,m,T)  exten = 1605,1,VoiceMailMain(
[EMAIL PROTECTED])  exten = 105,3,VoiceMail([EMAIL PROTECTED])  exten = 105,4,Hangupexten = 107,1,SetMusicOnHold(default)  exten = 107,2,Dial(SIP/107,7,t,m,T)  exten = 1607,1,VoiceMailMain(
[EMAIL PROTECTED])  exten = 107,3,VoiceMail([EMAIL PROTECTED])  exten = 107,4,Hangup[uscall]  exten = _1XX,1,DIAL(IAX2/[EMAIL PROTECTED]/${EXTEN},30,tr)  [manager] include = uscall
   include = internalThe error message on Asterisk console:   *CLI -- Executing Dial(SIP/105-007951e0, IAX2/[EMAIL PROTECTED]
/1303xxx|30|tr) in new stack-- Called [EMAIL PROTECTED]/1303xxx-- Call accepted by 
207.174.202.2 (format ulaw)-- Format for call is ulaw-- IAX2/teliax-1 is ringing-- IAX2/teliax-1 is making progress passing it to SIP/105-007951e0-- IAX2/teliax-1 is ringing
-- IAX2/teliax-1 is busy-- Hungup 'IAX2/teliax-1'== Everyone is busy/congested at this time (1:1/0/0)== Auto fallthrough, channel 'SIP/105-007951e0' status is 'BUSY'What is the
 problem? Can you please tell me the solution. Looking forward to your response. Thank you.  Regards, Chandra.  
	

	
		Get your own web address for just $1.99/1st yr. We'll help. 
Yahoo! Small Business. 
		How low will we go? Check out Yahoo! Messenger's low 
 PC-to-Phone call rates.
___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] ASTERISK NOT LISTENING IN PORT 5060

2006-09-01 Thread Marco Mouta
which softphone?On 9/1/06, Elpidio Ramos [EMAIL PROTECTED] wrote:
Does anyone knows what could be the cause for asterisk not listening in post 5060 if SIP interfaces is loaded with no problems?I am using Fedora Core 3.I have followed the instructions in several tutorials and tried several soft phones and the SIP interface seem to be dead.
1. When loading asterisk SIP load with no problem  2. When I activate the DEBUG for a peer, ip or sip in general, I don't get to see any messages when a connection is attempted from any soft phone.
  3. The soft phones all report a timeout when trying to register.  4. Tried also to move to port 80 that I know is open but still the same problem.I will appreciate any help anyone can provide with this problem.
Elpidio
___--Bandwidth and Colocation provided by Easynews.com
 --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Help Preventing Click to Call fraud on Asterisk Servers!

2006-08-31 Thread Marco Mouta
Hi all,I'm developing a Click to call Website, but now i'm getting worried with Click to Call fraud Imagine I just create one of this PhoneNumbers (extra charged numbers: like games, erotic lines...) in a remote country
Then i just go to a click to call website and start an attack inserting this Special Phone Number like 1$/min. Even if i control call duration on asterisk, and also my recepcionist will notice this is a fraud call, i'll be charged for the 1st minute every time
My Idea would be if someone has already worried with this, wouldn't be great to create a list on wiki or something where we can share this pattern Numbers?Is very hard to discover all the patterns for all the countries without sharing our knowledge...
Any tips?-- Best regards,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] help me!!Problem on incoming calls

2006-08-31 Thread Marco Mouta
Hi Please Post you Asterisk CLi when incoming is arriving.On 8/31/06, Patrick [EMAIL PROTECTED]
 wrote:On Thu, 2006-08-31 at 17:27 +0200, Andrea infoteam wrote: Hi,
 Please Help me!!! I've installed TrixBoxand VISDN (snapshot 20060802) on a PC with an HFC-4s card. Outbound Calls work fine, and inbound calls from Cellphones work fine too.
 I have a problem with incoming calls beginning with 0 (national and international calls-I stay in Italy) Thanks in advance for answers Andrea De NadaiWouldn't it be a better idea to ask on the vISDN mailing list and/or the
Trixbox forum? You are after all using their software...Regards,Patrick___--Bandwidth and Colocation provided by Easynews.com
 --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] help me!!Problem on incoming calls

2006-08-31 Thread Marco Mouta
forgot to mention, it may help if you post your extensions.confAs you are using from-internal context for this calls,and you are using trixbox, have look in extensions_additional.conf and all extension_*.conf to find out your [from-internal] context.
By the way I wouldn't use the from-internal context for incoming calls from PSTN line...On 8/31/06, Marco Mouta 
[EMAIL PROTECTED] wrote:Hi Please Post you Asterisk CLi when incoming is arriving.
On 8/31/06, Patrick 
[EMAIL PROTECTED]
 wrote:On Thu, 2006-08-31 at 17:27 +0200, Andrea infoteam wrote: Hi,

 Please Help me!!! I've installed TrixBoxand VISDN (snapshot 20060802) on a PC with an HFC-4s card. Outbound Calls work fine, and inbound calls from Cellphones work fine too.
 I have a problem with incoming calls beginning with 0 (national and international calls-I stay in Italy) Thanks in advance for answers Andrea De NadaiWouldn't it be a better idea to ask on the vISDN mailing list and/or the
Trixbox forum? You are after all using their software...Regards,Patrick___--Bandwidth and Colocation provided by 
Easynews.com
 --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta

-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Asterisk Sending Data to a Web Page

2006-08-31 Thread Marco Mouta
Hi,As far as I know you must have a look on Asterisk Manager Interface, the HTTP way to communicate with asterisk and send and receive commands/call states etcHave a look on wiki for AMI, or Asterisk Manager Interface.
On 8/31/06, David R. [EMAIL PROTECTED] wrote:
How do I get Asterisk to send streaming data, such as incoming calls, call times, etc. to a web page? I have a web app that I'm trying to use as a call manager.Thanks,David


___--Bandwidth and Colocation provided by Easynews.com
 --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Help Preventing Click to Call fraud on Asterisk Servers!

2006-08-31 Thread Marco Mouta
Yeah,Could be a solution! Thanks for your reply.On 8/31/06, Henry J. Cobb [EMAIL PROTECTED] wrote:
Marco Mouta [EMAIL PROTECTED] wrote: Hi all, I'm developing a Click to call Website, but now i'm getting worried with Click to Call fraud Imagine I just create one of this PhoneNumbers
 (extra charged numbers: like games, erotic lines...) in a remote country Then i just go to a click to call website and start an attack inserting this Special Phone Number like 1$/min. Even if i control call duration on
 asterisk, and also my recepcionist will notice this is a fraud call, i'll be charged for the 1st minute every timeWhy not exclude international and 809 outbound calls entirely and then
bless specific countries as needed?You could include your phone number on your site so that people from othercountries could call your center as needed.-HJC___
--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] PRI gurus - Does any one know the meaningn of span 1 received AOC-E charging 149502040 units

2006-08-18 Thread Marco Mouta
Hi all,I'm developing an app with dialout .call files, and when one of the legs of my call is busy i get this msg:  -- Called g1/2132 -- Channel 0/1, span 1 got hangup -- Channel 0/1, span 1 received AOC-E charging 149502040 units
 -- Zap/1-1 is busyIt seems to me OK, but i'm wondering the meaning of received AOC-E charging 149502040 units ???Does any of Asterisk PRI gurus can help me on this? :)
My architecture is:E1--LegacyPBX--E1--AsteriskIn fact my legacy pbx uses QSIG and not euroISDN.BTW this extension dialed (2132) is an analogue extension connected to the legacy PBX
Best regards,-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] MaxRetries:1 - Problems Dialout Call files

2006-08-18 Thread Marco Mouta
Hi all,I'm working with dialout call files and i've noticed that with MaxRetries: 1 ,many times the call is already established successfully and asterisk dials a second call.I mean Asterisk dials party A then party B then Bridges the call and after a while starts trying to do the same...
MaxRetries: number Number of retries before failingThis way i get two GSM calls to the same mobile while the first one is sucessfully running... I only figured out to use now MaxRetries:0Any guess why does this happens?
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Multiple registrations to the same asterisk server

2006-08-16 Thread Marco Mouta
Hi, I couldn't find in you sip.conf of your central server, the line context=clientes-sip, did u forget to past, or u r missing it, or i'm missunderstanding?That could be the problem! You MUST define the context for your ATA devices in central server, so * will look for this context in 
extensions.conf, that's your dialplan.Hope it helps,Ps. Plse give me some feedbackOn 8/16/06, Juan Luis Moyano 
[EMAIL PROTECTED] wrote:Marco Mouta escribió: Hi , Please post here your 
extensions.conf in your central server only with that i can figured out or at least try to help u. Best regards, Marco Mouta On 8/15/06, * Juan Luis Moyano* 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi All, I have the following scenario: A central Asterisk server where
 all the ATAs register themselves. This server runs Asterisk 1.2.5 and ATAs are SPA-2002. So far everything is OK. Now I have another location where I want to connect 4 analog phones. I thought setting up 2
 SPA-2002 but as I already have a TDM400P card and I want to use it, I had configured asterisk 1.0.7 on the second machine. So far I can place calls from the second server to any extension on the central
 server. But I cant get an ATA on the central server to reach an extension on the second server. Please help me solve this situation. Thanks in advance. Juan Luis Moyano
 The configs are as follows: Central Server -- -sip.conf [40019] username=USER1 callerid=40019 type=friend
 host=dynamic secret= mailbox=40019 accountcode=USER1 [40028] username=USER2 callerid=40028 type=friend host=dynamic
 secret= mailbox=40028 accountcode=USER2 [4] username=USER3 callerid=4 type=friend host=dynamic secret=
 mailbox=4 accountcode=USER3 [40023] username=USER4 callerid=40023 type=friend host=dynamic secret= mailbox=40023
 accountcode=USER4 -extensions.conf[clientes-sip]exten = _4.,1,Macro(stdexten,SIP/${EXTEN},${EXTEN})[macro-stdexten]exten = s,1,Dial(${ARG1},30,Tr)exten = s,2,Voicemail(u${ARG2})
exten = s,3,Hangupexten = s,102,Voicemail(b${ARG2})exten = s,103,Hangup Second Server - -sip.conf register = 
40019:[EMAIL PROTECTED]/40019 register = 40028:[EMAIL PROTECTED]/40028 register = 4:[EMAIL PROTECTED]/4 register = 40023:[EMAIL PROTECTED]/40023 [40019]
 type=friend secret= username=40019 host=10.32.1.16 http://10.32.1.16 insecure=very
 [4] type=friend secret= username=4 host=10.32.1.16 http://10.32.1.16
 insecure=very [40028] type=friend secret= username=40028 host=10.32.1.16 
http://10.32.1.16 insecure=very [40023] type=friend secret= username=40023 host= 10.32.1.16 
http://10.32.1.16 insecure=very -extensions.conf [globals] USER1=Zap/2 USER2=Zap/3 USER3=Zap/4
 USER4=Zap/5 [extensions] exten = 40019,1,Dial(${USER1}) exten = 40023,1,Dial(${USER2}) exten = 40028,1,Dial(${USER3}) exten = 4,1,Dial(${USER4})
 [outbound] exten = _.,1,Dial(SIP/[EMAIL PROTECTED]) ___ --Bandwidth and Colocation provided by 
Easynews.com http://Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users http://lists.digium.com/mailman/listinfo/asterisk-users
 -- Com os melhores cumprimentos, Marco Mouta  ___
 --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users___--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Com os melhores cumprimentos,Marco Mouta
___
--Bandwidth and Colocation provided by Easynews.com --

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


<    1   2   3   4   5   6   >