VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
seandarcy2 at gmail.com Guest
|
Posted: Mon Apr 14, 2014 10:01 am Post subject: [asterisk-users] how to configure callcentric peer |
|
|
On 11.9, trying to set up a callcentric peer:
sip debug:
Quote: | <--- SIP read from UDP:204.11.192.161:5060 --->
INVITE sip:1777<myccid>@10.10.11.180:5060 SIP/2.0
v: SIP/2.0/UDP 204.11.192.161:5060;branch=z9hG4bK-6104e46aaaaef4249814d16a2ffb990d
f: <sip:<calling number>@66.193.176.35>;tag=3606475083-968127
t: <sip:1914<mycctelnum>@ss.callcentric.com>
i: 18075985-3606475083-968100@msw2.telengy.net
CSeq: 1 INVITE
Max-Forwards: 8
m: <sip:f1eb8ab7586b3f2b72742b5e4d43d78d@204.11.192.161:5060;transport=udp>
Supported: timer
c: application/sdp
l: 350
v=0
o=NexTone-MSW 2147483647 2147483647 IN IP4 204.11.192.161
s=sip call
c=IN IP4 204.11.192.161
t=0 0
m=audio 50960 RTP/AVP 18 0 8 101
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=ptime:20
a=sendrecv
a=silenceSupp:off - - - -
a=setup:actpass
<------------->
--- (11 headers 16 lines) ---
Sending to 204.11.192.161:5060 (NAT)
Sending to 204.11.192.161:5060 (NAT)
Using INVITE request as basis request - 18075985-3606475083-968100@msw2.telengy.net
No matching peer for '<calling number>' from '204.11.192.161:5060'
<--- Reliably Transmitting (NAT) to 204.11.192.161:5060 --->
SIP/2.0 401 Unauthorized
|
asterisk is trying to find a peer based on the _calling number_!
Here's the callcentric peer based on its support pages:
[callcentric]
type=peer
context=from-callcentric
host=callcentric.com
defaultuser=1777<myccid>
;defaultuser=1914<mycctelnum>
secret=<mysecret>
fromuser=1777<myccid>
;fromuser=1914<mycctelnum>
fromdomain=callcentric.com
;fromdomain=ss.callcentric.com
insecure=port,invite
disallowed_methods=UPDATE
directmedia=no
videosupport=no
disallow=all
allow=ulaw
As you can see I also tried matching to the callcentric telephone number
instead of the id. No luck. The only number I can't match is the calling
number.
Any help appreciated.
sean
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
kelchy at gmail.com Guest
|
Posted: Mon Apr 14, 2014 10:47 am Post subject: [asterisk-users] how to configure callcentric peer |
|
|
wild guess would be a conflict on host= setting.
there might be another entity on your sip.conf which have type=friend
and host=callcentric.com or host=204.11.192.161
Kelvin Chua
On Mon, Apr 14, 2014 at 8:01 AM, Sean Darcy <seandarcy2@gmail.com> wrote:
Quote: | On 11.9, trying to set up a callcentric peer:
sip debug:
Quote: | <--- SIP read from UDP:204.11.192.161:5060 --->
INVITE sip:1777<myccid>@10.10.11.180:5060 SIP/2.0
v: SIP/2.0/UDP
204.11.192.161:5060;branch=z9hG4bK-6104e46aaaaef4249814d16a2ffb990d
f: <sip:<calling number>@66.193.176.35>;tag=3606475083-968127
t: <sip:1914<mycctelnum>@ss.callcentric.com>
i: 18075985-3606475083-968100@msw2.telengy.net
CSeq: 1 INVITE
Max-Forwards: 8
m:
<sip:f1eb8ab7586b3f2b72742b5e4d43d78d@204.11.192.161:5060;transport=udp>
Supported: timer
c: application/sdp
l: 350
v=0
o=NexTone-MSW 2147483647 2147483647 IN IP4 204.11.192.161
s=sip call
c=IN IP4 204.11.192.161
t=0 0
m=audio 50960 RTP/AVP 18 0 8 101
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=ptime:20
a=sendrecv
a=silenceSupp:off - - - -
a=setup:actpass
<------------->
--- (11 headers 16 lines) ---
Sending to 204.11.192.161:5060 (NAT)
Sending to 204.11.192.161:5060 (NAT)
Using INVITE request as basis request -
18075985-3606475083-968100@msw2.telengy.net
No matching peer for '<calling number>' from '204.11.192.161:5060'
<--- Reliably Transmitting (NAT) to 204.11.192.161:5060 --->
SIP/2.0 401 Unauthorized
|
asterisk is trying to find a peer based on the _calling number_!
Here's the callcentric peer based on its support pages:
[callcentric]
type=peer
context=from-callcentric
host=callcentric.com
defaultuser=1777<myccid>
;defaultuser=1914<mycctelnum>
secret=<mysecret>
fromuser=1777<myccid>
;fromuser=1914<mycctelnum>
fromdomain=callcentric.com
;fromdomain=ss.callcentric.com
insecure=port,invite
disallowed_methods=UPDATE
directmedia=no
videosupport=no
disallow=all
allow=ulaw
As you can see I also tried matching to the callcentric telephone number
instead of the id. No luck. The only number I can't match is the calling
number.
Any help appreciated.
sean
--
_____________________________________________________________________
-- 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
|
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
seandarcy2 at gmail.com Guest
|
Posted: Tue Apr 15, 2014 4:25 pm Post subject: [asterisk-users] how to configure callcentric peer |
|
|
On 04/14/2014 11:47 AM, Kelvin Chua wrote:
Quote: | wild guess would be a conflict on host= setting.
there might be another entity on your sip.conf which have type=friend
and host=callcentric.com or host=204.11.192.161
Kelvin Chua
On Mon, Apr 14, 2014 at 8:01 AM, Sean Darcy <seandarcy2@gmail.com> wrote:
Quote: | On 11.9, trying to set up a callcentric peer:
sip debug:
Quote: | <--- SIP read from UDP:204.11.192.161:5060 --->
INVITE sip:1777<myccid>@10.10.11.180:5060 SIP/2.0
v: SIP/2.0/UDP
204.11.192.161:5060;branch=z9hG4bK-6104e46aaaaef4249814d16a2ffb990d
f: <sip:<calling number>@66.193.176.35>;tag=3606475083-968127
t: <sip:1914<mycctelnum>@ss.callcentric.com>
i: 18075985-3606475083-968100@msw2.telengy.net
CSeq: 1 INVITE
Max-Forwards: 8
m:
<sip:f1eb8ab7586b3f2b72742b5e4d43d78d@204.11.192.161:5060;transport=udp>
Supported: timer
c: application/sdp
l: 350
v=0
o=NexTone-MSW 2147483647 2147483647 IN IP4 204.11.192.161
s=sip call
c=IN IP4 204.11.192.161
t=0 0
m=audio 50960 RTP/AVP 18 0 8 101
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=ptime:20
a=sendrecv
a=silenceSupp:off - - - -
a=setup:actpass
<------------->
--- (11 headers 16 lines) ---
Sending to 204.11.192.161:5060 (NAT)
Sending to 204.11.192.161:5060 (NAT)
Using INVITE request as basis request -
18075985-3606475083-968100@msw2.telengy.net
No matching peer for '<calling number>' from '204.11.192.161:5060'
<--- Reliably Transmitting (NAT) to 204.11.192.161:5060 --->
SIP/2.0 401 Unauthorized
|
asterisk is trying to find a peer based on the _calling number_!
Here's the callcentric peer based on its support pages:
[callcentric]
type=peer
context=from-callcentric
host=callcentric.com
defaultuser=1777<myccid>
;defaultuser=1914<mycctelnum>
secret=<mysecret>
fromuser=1777<myccid>
;fromuser=1914<mycctelnum>
fromdomain=callcentric.com
;fromdomain=ss.callcentric.com
insecure=port,invite
disallowed_methods=UPDATE
directmedia=no
videosupport=no
disallow=all
allow=ulaw
As you can see I also tried matching to the callcentric telephone number
instead of the id. No luck. The only number I can't match is the calling
number.
Any help appreciated.
sean
|
|
Thanks for the response, but no:
# grep -R host * | grep callcentric
exts/callcentric.sip.conf:host=callcentric.com
# grep -R host * | grep 204
#
Why in the world is asterisk trying to match on the FROM header??
sean
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
mjordan at digium.com Guest
|
Posted: Tue Apr 15, 2014 7:03 pm Post subject: [asterisk-users] how to configure callcentric peer |
|
|
<snip>
Quote: |
Thanks for the response, but no:
# grep -R host * | grep callcentric
exts/callcentric.sip.conf:host=callcentric.com
# grep -R host * | grep 204
#
Why in the world is asterisk trying to match on the FROM header??
|
Because that's what Asterisk has always done to match an inbound
request to a peer.
Quoting from sip.conf.sample:
; When naming devices, make sure you understand how Asterisk matches calls
; that come in.
; 1. Asterisk checks the SIP From: address username and matches against
; names of devices with type=user
; The name is the text between square brackets [name]
; 2. Asterisk checks the From: address and matches the list of devices
; with a type=peer
; 3. Asterisk checks the IP address (and port number) that the INVITE
; was sent from and matches against any devices with type=peer
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|