Robert Webb wrote:





-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Goodyear
Sent: Thursday, February 17, 2005 8:36 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Anyone having trouble with VoicePulse Connect?



On Feb 17, 2005, at 4:32 PM, Andrew Thompson wrote:



beonice wrote:


The culprit? Me. I'd commented out the line:
exten => _NXXNXXXXXX,1,Background(welcome) ; which is apparently a critical one. I was under the impression that exten => s,1,Answer


Will s be traveled if a call arrives at it with a DID?

The pattern you have above matches any US did that arrives

into that

context.


I can't get the default handler (s) to work either; I'm using VP Connect and I RTFMed a lot.




I had to do a little trickery to get mine to work. Here is what I have:

iax.conf

[general]
register => dqo75qMa71:[EMAIL PROTECTED]

[voicepulse-in-01]
type=user
context=fromVoicePulse
auth=rsa
inkeys=voicepulse01


extensions.conf

[fromVoicePulse]
exten => _NXXNXXXXXX,1,Goto(fromPSTN,s,1)

[fromPSTN]

exten => s,1,LookupBlacklist
exten => s,2,DigitTimeout(3)
exten => s,3,ResponseTimeout(5)
exten => s,4,Wait(1)
exten => s,5,Background(custom/pls-wait)
exten => s,102,Goto(blacklisted,s,1)

Etc...


For me, I have all incoming lines going to the "fromPSTN" context. Since I am using it at home I treat most all incoming calls the same. But hopefully this will give you an idea of the way I had to do it. Not sure why...

Robert



_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


I have found contexts to be something that get easily screwed up when I am in a hurry to just see that a new provider account is functional.

I put everything in the default context first time around just to make sure a new account is functional. I then make a call to the number and goto a test extension handled by kphone on linux. I answer it and put it on hold(music on hold is a quick cheap quality test). I then use kphone to transfer to the echo test extension.

Quick cheap outbound test? I just put something like this in the default context of extensions.conf and use kphone to dial extension 9002

;voicepulse
exten => 9002,1,Playback(transfer); Let them know what's going on
exten => 9002,2,SetCallerID("acme" <2079329002>); Set your CallerID as a ten digit number like this. See our FAQ
exten => 9002,3,DIAL(IAX2/xxxxx:[EMAIL PROTECTED]/12079330123,20,mtr)
exten => 9002,4,Playback(demo-nogo) ; Couldn't connect to the demo site
exten => 9002,5,Goto(s,6) ; Return to the start over message.


If that works I then check my cdr log. After that I carefully set context and other parameters.








_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to