[asterisk-users] Anyone have any experience with inbound SIP trunks from Simwood?
A J Stiles
asterisk_list at earthshod.co.uk
Wed Aug 6 09:52:19 CDT 2014
I'm trying -- unsuccessfully! -- to configure an inbound trunk with Simwood,
and I was hoping someone on this list might have managed to do this.
I have configured some numbers to route to a SIP endpoint
%e164 at customer's server
and convinced the customer to open up UDP ports 5060 and 10000 - 20000.
Calling the number gets a SIP request from Simwood. The customer's machine
then sends a SIP 401 response. Simwood send an ACK ..... and then nothing.
Nothing appears in the Asterisk CLI; to get the SIP trace I used the command
# ngrep -t -q -n -q -Wbyline -deth0 1283 port 5060
(note that 1283 = the STD code from which the call is originating, so it
should show up in any related packets.)
########## sip.conf ##########
[simwood_in_slough]
type=friend
host=178.22.140.34
fromdomain=178.22.140.34
permit=178.22.140.34/255.255.255.255
qualify=no
context=from-simwood
dtmfmode=rfc2833
insecure=invite,port
disallow=all
allow=alaw
nat=yes
directmedia=no
########## extensions.conf ##########
[from-simwood]
extension => s,1,NoOp(Call via Simwood form '${CALLERID(num)}' to '${EXTEN}')
extension => s,n,Hangup()
--
AJS
Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
More information about the asterisk-users
mailing list