[asterisk-users] connect with two servers multiple time
Arjan Kroon
Arjan.Kroon at mobillion.nl
Tue Sep 5 00:21:18 MST 2006
Hai,
I have two server. One for the inbound calls and one for the outbound
calls.
When a call somes on the inbound server, I pas this call with a switch
statement through to the outbound server.
On this outbound server I make a outbound call with the Dial statement.
(this works perfect.
If the outbount call is not answersed, I hangup the outbound call, and
signilling the innbound server that the outbound call is not answered.
The inbound call then tries after a couple of seconds (say 5 seconds) to
connect again to the outbound server with the switch statement.
The outbound server than makes a outbound call. (This works also
perfect)
But if the outbound call is not answered for the second time, the
outbound server signalling the inbound server that the call is not
answered.
Now the problem is that the inbound server doesn't pick up this second
signal.
Does anybody got an idee?
These are my setting on the inbound server
iax.conf
outbound_server <http://www.voip-info.org/wiki/outbound_server>
type=peer
username=outboundserver
host=server_outbound
extensions.conf
outbound_server <http://www.voip-info.org/wiki/outbound_server>
switch => IAX2/outbound_server
These are my setting on the outbound server
iax.conf
outboundserver <http://www.voip-info.org/wiki/outboundserver>
type=user
username=outboundserver
context=outbound_dial_conf
extensions.conf
outbound_dial_conf <http://www.voip-info.org/wiki/outbound_dial_conf>
exten => _X.,1,Dial(Zap/g1/${tel_outdial},30,${Dial_variables})
Arjan Kroon
Mobillion B.V.
Copernicuslaan 30
Postbus 554 / PO Box 554
6710 BN Ede
tel: +31 (0)318-648920
fax: +31 (0)318-648839
mobile: +31 (0)6-55871460
email: arjan.kroon at mobillion.nl
internet: www.mobillion.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060905/1d0f3da6/attachment.htm
More information about the asterisk-users
mailing list