Does anyone know why this is not working? exten => s,1,Dial(SIP/192.168.1.8:9999,20); Connect to 192.168.1.8 on port 9999, with a 20 sec timeout. exten => s,1,Dial(SIP/8500@sip-gateway:9876,20,r) ; Connect to sip.com port 9876, requesting extension 8500. I defined a sip peer called sip-gateway. If I dial by ip address and port the call goes through on requested port. If I try to dial by peer and port the call will try to go through on the default port. Gene -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050210/78d936ab/attachment.htm
On Thu, 10 Feb 2005 16:33:46 -0500, Gene Willingham <gwillingham@comcast.net> wrote:> exten => s,1,Dial(SIP/192.168.1.8:9999,20); Connect to 192.168.1.8 on > port 9999, with a 20 sec timeout. > exten => s,1,Dial(SIP/8500@sip-gateway:9876,20,r) ; Connect to sip.com > port 9876, requesting extension 8500. > > > > I defined a sip peer called sip-gateway. If I dial by ip address and port > the call goes through on requested port. If I try to dial by peer and port > the call will try to go through on the default port.You should define the non-standard port in a port= statement in the peer entry in sip.conf. Peter