asterisk_list at earth... Guest
|
Posted: Wed Aug 06, 2014 9:52 am Post subject: [asterisk-users] Anyone have any experience with inbound SIP |
|
|
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@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 .
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|