[Asterisk-Users] Dial SIP peers

Peter Bowyer peeebeee at gmail.com
Thu Feb 10 15:38:48 MST 2005


On Thu, 10 Feb 2005 16:33:46 -0500, Gene Willingham
<gwillingham at 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 at 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



More information about the asterisk-users mailing list