Brenden,
check the context, from-trunk, in the dialplan. Thtat's where this is
being added
On 8/17/15 5:33 PM, Brendan Ord wrote:
Hello,
I’m having what seems like a weird issue connecting Asterisk 13
(FreePBX 12) to a Cisco 2811 router via a chan_sip trunk. Whenever I
try dialling out via this trunk, something appends ‘@CUBE’ onto the
end of the dialled number, as per the following examples;
Asterisk log;
app_dial.c: Called SIP/test/0429123456@CUBE
chan_sip.c: Got SIP response 500 "Internal Server Error" back from
172.22.4.12:5060
In the SIP SDP;
INVITE sip:0429920437%[email protected] SIP/2.0.
To: <sip:0429920437%[email protected]>.
As you can see, the @CUBE carries over into the SIP URI as %40CUBE.
The FPBX trunk name and outbound route were called CUBE (afaik, purely
descriptive) but I changed them to something different and the @CUBE
persisted. I’m really not sure where this is coming from, and why.
Here is my trunk configuration;
PEER
type=friend
qualify=yes
nat=no
insecure=port,invite
host=172.22.4.12
dtmfmode=rfc2833
context=from-trunk
allow=ulaw
disallow=all
USER
type=friend
qualify=yes
nat=no
host=172.22.4.12
dtmfmode=rfc2833
allow=ulaw
disallow=all
canreinvite=no
Thanks for any help J
Brendan Ord
OntheNet - Network Engineer
P 07 5553 9222
F 07 5593 3557
Level One, 165 Varsity Parade Varsity Lakes Qld 4227 (Map
<https://goo.gl/maps/p25WF>)
www.OntheNet.com.au <http://www.onthenet.com.au/>
--
_____________________________________________________________________
-- 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