[asterisk-users] Help - create_addr_from_peer: 'UDP' is not a valid transport for 'exten1'. we only use 'TLS'! ending call.

Eric Chamberlain eric at rf.com
Tue Jun 9 14:58:48 CDT 2009


Hello,

I'm running into an issue with TLS transport and I am probably missing  
something obvious.

We are trying to configure an extension to use TLS for the transport.   
The extension can make outbound calls using TLS, but inbound calls fail.

The extension configuration in sip.conf is set to transport=tls.

To keep things simple for testing, the dialplan looks like:

[default]
exten => 100,1,NoOp("Inbound call for Eric!")
exten => 100,n,Dial(SIP/exten1)


Asterisk generates the following log when a call comes in for this  
extension:


     -- Executing [100 at default:1] NoOp("SIP/rf.com-b69da2f8",  
""Inbound call for Eric!"") in new stack
     -- Executing [100 at default:2] Dial("SIP/rf.com-b69da2f8", "SIP/ 
exten1") in new stack
   == Using SIP RTP CoS mark 5
[2009-06-09 15:31:39.107] ERROR[19542]: chan_sip.c:4003  
create_addr_from_peer: 'UDP' is not a valid transport for 'exten1'. we  
only use 'TLS'! ending call.
Really destroying SIP dialog '03ad15856b352c3f2956812075bb7483 at 10.254.105.188 
' Method: INVITE
[2009-06-09 15:31:39.107] WARNING[19542]: app_dial.c:1502  
dial_exec_full: Unable to create channel of type 'SIP' (cause 20 -  
Unknown)

Does something need to be set for Dial to use TLS on the outbound leg  
of the call to the user?



More information about the asterisk-users mailing list