External SIP extension going to from-sip-external

jvan
Posts: 3
Member Since:
2009-03-07

Hello,

I've been running asterisk in one form or another for a few years with primarily internal extensions (external extensions were IAX softphones), however we are being forced to add a number of off-site SIP based phones (linksys SPA941). At the moment I've been doing some testing with Trixbox 2.8.0.3 and everything seems like it is working with the exception that any calls placed from extensions that have an external IP are going to from-sip-external and then obviously getting the congestion/number out of service recording. I've found a few sites suggesting that you should comment out most of the "stock" lines in from-sip-external and replace it with a Goto(from-pstn,s,1). My question is: Is there anyway to make the endpoint (SPA941) "authenticate/identify" itself to asterisk when a number is dialed from the handset? As of right now all calls are "unknown peer"... Hopefully that makes sense to everyone. Thanks.

-J

Line from console when dialing (dialed number changed to 1234567 for obvious reasons):
-- Executing [99051234567@from-sip-external:1] NoOp("SIP/localhost-08ee24f0", "Received incoming SIP connection from unknown peer to 99051234567") in new stack



SkykingOH
Posts: 9541
Member Since:
2007-12-17
You have something wrong in

You have something wrong in your trunk settings.

Please post the contents (using the code tag) of your /etc/asterisk/sip_additional.conf

--

Scott

aka "Skyking"



jvan
Posts: 3
Member Since:
2009-03-07
Thanks for the reply.

Thanks for the reply. Here's the only entry in my sip_additional.conf:

[2010]
deny=0.0.0.0/0.0.0.0
type=friend
secret=1234
qualify=yes
port=5065
pickupgroup=
permit=0.0.0.0/0.0.0.0
nat=yes
mailbox=2010@default
host=dynamic
dtmfmode=rfc2833
dial=SIP/2010
context=from-internal
canreinvite=no
callgroup=
callerid=device
accountcode=
call-limit=50



jvan
Posts: 3
Member Since:
2009-03-07
Fixed

Looks like I may have fixed this... it seems as though the problem was actually the remote firewall. The firewall has a "SIP Transformation" option that was enabled by default that is suppossed to make SIP over NAT work properly. Once this was disabled the calls were no longer landing in from-sip-external.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.