[asterisk-bugs] [Asterisk 0014626]: SIP dial ignores destination port

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 9 08:55:36 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14626 
====================================================================== 
Reported By:                acunningham
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14626
Category:                   Channels/chan_sip/General
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-08 21:05 CDT
Last Modified:              2009-03-09 08:55 CDT
====================================================================== 
Summary:                    SIP dial ignores destination port
Description: 
When sending this from an AGI to Asterisk 1.6.0.6:

EXEC Dial SIP/phone_123456 at 1.2.3.4:5070,3600,ot

The Asterisk console reports:

    -- AGI Script Executing Application: (Dial) Options:
(SIP/phone_123456 at 1.2.3.4:5070,3600,ot)

but then sends to 5060:

Reliably Transmitting (NAT) to 1.2.3.4:5060:
INVITE sip:phone_123456 at 1.2.3.4 SIP/2.0

Do I have the wrong format for the Dial?
====================================================================== 

---------------------------------------------------------------------- 
 (0101371) acunningham (reporter) - 2009-03-09 08:55
 http://bugs.digium.com/view.php?id=14626#c101371 
---------------------------------------------------------------------- 
Here's the entry in sip.conf:

[enswitch-local]
host = 1.2.3.4
port = 5060
fromdomain = 1.2.3.4
type = friend
insecure = port,invite
context = from-internal
canreinvite = no
nat = yes

I'll see if I can get a full console trace, but I doubt if it's going to
show much. All the complexity is hidden in an AGI script which ends up
doing the EXEC Dial. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-09 08:55 acunningham    Note Added: 0101371                          
======================================================================




More information about the asterisk-bugs mailing list