greyvoip at yahoo.com.au Guest
|
Posted: Thu Jan 31, 2008 5:25 pm Post subject: [asterisk-users] Incoming call from SIP proxy to asterisk |
|
|
Quote: | ----- Original Message ----
|
Quote: | From: Mayur <mninama at varaha.com>
|
Quote: | To: asterisk-users at lists.digium.com
|
Quote: | Sent: Thursday, 31 January, 2008 9:59:42 AM
|
Quote: | Subject: [asterisk-users] Incoming call from SIP proxy to asterisk
|
Hi,
Quote: | I have asterisk register two users (client-1, client-2) with a SIP proxy. I have the same two SIP client registered with asterisk. > Now my dial plan setup is such that any call from client-1/client-2 is forwarded to the SIP proxy and the SIP proxy then takes the routing decision. Calls coming from SIP proxy will dial out the respective user. Asterisk is required to stay in the signaling as well as the media path.
|
Client-1--------? Asterisk-----------? SIP Proxy
Client-2?-------- ?----------
Quote: | So for call from client-1 to client-2, asterisk forwards the INVITE to the SIP proxy but when the SIP proxy gives the INVITE back to asterisk (as asterisk registered client-2 with the SIP proxy), asterisk is challenging the incoming INVITE. It seems asterisk is seeing the INVITE from SIP proxy as INVITE coming from client (this is I guess as per the lookup that asterisk performs). However is there a way to have it first match the INVITE host IP rather than FROM user first? Or rather is there a way to have this setup working?
|
Hi Mayur,
Set the outboundproxy setting for the SIP accounts on Asterisk to the IP address of your SIP Proxy.
Note there is also an outboundproxyport setting but it gets ignored by Asterisk. You won't need to worry about this if your SIP proxy is on port 5060.
Regards,
Greyman.
Make the switch to the world's best email. Get the new Yahoo!7 Mail now. www.yahoo7.com.au/worldsbestemail |
|