[Asterisk-Users] SIP over IAX2
Tim Connolly
tim at timsnet.com
Sat Apr 30 17:00:24 MST 2005
Asterisk Box 2 (agents register)
extensions.conf
[agents-context]
exten => 1234,1,Dial(SIP/${EXTEN}@ab1)
exten => 1234,2,Hangup
Asterisk Box 1
Sip.conf
[ab1]
type=friend
host=<ip of ab2>
context=incoming
canreinvite=yes
qualify=yes
extension.conf
[incoming]
Exten => 1234....etc...
-----Original Message-----
From: Daniel Salama [mailto:dsalama at user.net]
Sent: Saturday, April 30, 2005 6:50 PM
To: Tim Connolly
Cc: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SIP over IAX2
I understand and I guess I know how to do that within a single box.
If I have the following:
Asterisk Box 1 (no agents)
extensions.conf
[test-ivr]
exten => s,1,AGI(play_ivr)
exten => s,2,Hangup
Asterisk Box 2 (agents register)
extensions.conf
[agents-context]
exten => 1234,1,Dial(?????)
exten => 1234,2,Hangup
Question is, when the agents dial 1234, how do I tell the application
to connect to the agent with context test-ivr of Asterisk_1?
Thanks,
Daniel
On Apr 30, 2005, at 7:12 PM, Tim Connolly wrote:
> Maybe I'm missing something, but as long as you have the entension
> defined
> on the agent box to dial the extension on the IVR, you should be okay.
> Just
> make sure the default SIP context on the IVR has that extension
> defined, or
> define the IVR box as a SIP peer.
>
>
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Daniel
> Salama
> Sent: Saturday, April 30, 2005 5:57 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] SIP over IAX2
>
> I have two asterisk boxes. I'm running an IVR script in one of them and
> I have agents registered on the second box.
>
> I wish to create an extension on the * box where the agents are
> registered, so that when dialed, it will connect the agent to the IVR
> script on the other * box. However, I'd like for the connection to be
> done using SIP instead of IAX. Can anyone help me, if at all possible,
> write this configuration?
>
> Thanks,
> Daniel
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list