Hmmm... Haven't done it myself but here is what I think... You would have to hit the # key on the phone initiating the call to start the call. The reason for this is that your PAP2 would not pass the call to Asterisk until it thought you had finished dialing a valid number such as a 7 digit or 10 digit number string (you can modify what the PAP2 considers valid by logging in to it and looking for pattern match strings, forget which screen the settings are on off the top of my head, but it is what allows 911, a three digit string, to be considered valid, while other three digit strings are not). So anyway, the # key is what tells the PAP2 to ignore your dialling pattern and just dial out what you have already entered. Actually, your PAP2 will eventually dial whatever you enter (I think you have to at least hit one digit), the # key just tells it to immediately ignore the dialing pattern match. You can modify the timeout as well, perhaps that is the easiest way, just set it to zero and it will immediately dial regardless of dial string? So you could enter 444 which is not valid by default and then hit # and the call is passed to Asterisk. So without modifying the PAP2 at all you could just tell Asterisk that if it recieves any number (including no number) from the PAP2 to send it immediately to whatever phone you want to recieve the call and then use the # key. You might be able to modify the PAP2's dialling patern to accept nothing but I don't know how, try googling for it and if you find out, please post it here. As I said, try the timeout for pattern match set to zero first.
I hope that rambling paragraph made sense! Colin On 10/4/06, Duane <[EMAIL PROTECTED]> wrote:
Michael Wong wrote: > Hi, has anyone here tried doing batphone between 2 pap2 devices? If so, > do you do it? Any pitfalls I should lookout for? I haven't done it, but I've heard of others doing it without any problems, just watch out of the usual NAT issues... -- Best regards, Duane http://www.cacert.org - Free Security Certificates http://www.nodedb.com - Think globally, network locally http://www.sydneywireless.com - Telecommunications Freedom http://e164.org - Because e164.arpa is a tax on VoIP "In the long run the pessimist may be proved right, but the optimist has a better time on the trip." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
