You're leaving the :1 in the dial expression, which cuts off the
first digit so what's really being dialed to the server is only "88".
-Bryce
On Jul 3, 2005, at 19:01, Joseph wrote:
On Mon, 2005-07-04 at 01:09 +0200, Roland Zagler wrote:
Hi Joseph,
here is how i did it:
iax.conf of server1:
[server2]
type=friend
auth=md5
username=server1
secret=<secret>
context=default
host=dynamic
defaultip=<public ip of server2>
deny=0.0.0.0/0.0.0.0
permit=<public ip of server2>/255.255.255.255
disallow=all
allow=g729,gsm
iax.conf of server2:
[server1]
type=friend
auth=md5
username=server2
secret=<secret>
context=default
host=dynamic
defaultip=<public ip of server1>
deny=0.0.0.0/0.0.0.0
permit=<public ip of server1>/255.255.255.255
disallow=all
allow=g729,gsm
extensions.conf of server1:
exten => _2X.,1,Dial(IAX2/server2/${EXTEN:1},30)
extensions.conf of server2:
exten => _1X.,1,Dial(IAX2/server1/${EXTEN:1},30)
That worked for a while but it seems to me I can not transfer the
call to any extension.
I have a context "incoming" in extension.conf in incoming server2
[incoming]
exten => 888,1,Goto......
And I dial from server1:
exten => 888,1,Dial(IAX2/server2/${EXTEN,1},30,r)
It keeps telling on the server2 (that accept the call) that "request
'@incoming" doesn't exist.
When I try without any extension
exten => 888,1,Dial(IAX2/server2,30,r)
and forward the call to context that start with "s" for example
'office-open'
it keeps telling me that "request '[EMAIL PROTECTED]' doesn't exist.
I'm using asterisk 1.0.7.
Why the extension is not being passed to the dialing server?
--
#Joseph
_______________________________________________
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