- Code: Select all
[didlogic-trunk]
host=sip.didlogic.com
username=12345
secret=password
type=friend
insecure=port,invite
context=inbound
Nothing in dialplan entry, but set to active.
Then I create an In group called Inbound, create a DID with extension 18883110274 for the main name and in DID Route send it to the ingroup.
In the campaign it is set to accept inbound calls and I have the ingroup selected. I have one agent with the ingroup selected but when I make a call here are the results:
- Code: Select all
[May 6 15:59:34] NOTICE[3032]: chan_sip.c:15566 handle_request_invite: Call from '12345' to extension '18883110274' rejected because extension not found.
Here's with debug on:
- Code: Select all
<------------->
[May 6 15:50:51]
<--- SIP read from 178.63.100.24:5060 --->
INVITE sip:18883110274@100.1.0.100 SIP/2.0
Via: SIP/2.0/UDP 178.63.100.24:5060;branch=z9hG4bK2402dddb;rport
Max-Forwards: 70
From: "17275551212" <sip:17275551212@178.63.100.24>;tag=as7011d850
To: <sip:18883110274@100.1.0.100>
Contact: <sip:17275551212@178.63.100.24>
Call-ID: 7d761bf608374c9f6a8b9f2845b4613e@178.63.100.24
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.6.2.9-2+squeeze4
Date: Sun, 06 May 2012 19:50:51 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 318
v=0
o=root 709352616 709352616 IN IP4 178.63.100.24
s=Asterisk PBX 1.6.2.9-2+squeeze4
c=IN IP4 178.63.100.24
t=0 0
m=audio 12228 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------->
[May 6 15:50:51] --- (14 headers 14 lines) ---
[May 6 15:50:51] Sending to 178.63.100.24 : 5060 (NAT)
[May 6 15:50:51] Using INVITE request as basis request - 7d761bf608374c9f6a8b9f2845b4613e@178.63.100.24
[May 6 15:50:51] Found peer 'didlogic-trunk'
[May 6 15:50:51] Found RTP audio format 0
[May 6 15:50:51] Found RTP audio format 8
[May 6 15:50:51] Found RTP audio format 18
[May 6 15:50:51] Found RTP audio format 101
[May 6 15:50:51] Found audio description format PCMU for ID 0
[May 6 15:50:51] Found audio description format PCMA for ID 8
[May 6 15:50:51] Found audio description format G729 for ID 18
[May 6 15:50:51] Found audio description format telephone-event for ID 101
[May 6 15:50:51] Capabilities: us - 0x6 (gsm|ulaw), peer - audio=0x10c (ulaw|alaw|g729)/video=0x0 (nothing), combined - 0x4 (ulaw)
[May 6 15:50:51] Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
[May 6 15:50:51] Peer audio RTP is at port 178.63.100.24:12228
[May 6 15:50:51] Looking for 18883110274 in inbound (domain 100.1.0.100)
[May 6 15:50:51]
<--- Reliably Transmitting (NAT) to 178.63.100.24:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 178.63.100.24:5060;branch=z9hG4bK2402dddb;received=178.63.100.24;rport=5060
From: "17275551212" <sip:17275551212@178.63.100.24>;tag=as7011d850
To: <sip:18883110274@100.1.0.100>;tag=as70eb4899
Call-ID: 7d761bf608374c9f6a8b9f2845b4613e@178.63.100.24
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
<------------>
[May 6 15:50:51] NOTICE[3032]: chan_sip.c:15566 handle_request_invite: Call from '12345' to extension '18883110274' rejected because extension not found.
[May 6 15:50:51] Scheduling destruction of SIP dialog '7d761bf608374c9f6a8b9f2845b4613e@178.63.100.24' in 8320 ms (Method: INVITE)
[May 6 15:50:51]
<--- SIP read from 178.63.100.24:5060 --->
ACK sip:18883110274@100.1.0.100 SIP/2.0
Via: SIP/2.0/UDP 178.63.100.24:5060;branch=z9hG4bK2402dddb;rport
Max-Forwards: 70
From: "17275551212" <sip:17275551212@178.63.100.24>;tag=as7011d850
To: <sip:18883110274@100.1.0.100>;tag=as70eb4899
Contact: <sip:17275551212@178.63.100.24>
Call-ID: 7d761bf608374c9f6a8b9f2845b4613e@178.63.100.24
CSeq: 102 ACK
User-Agent: Asterisk PBX 1.6.2.9-2+squeeze4
Content-Length: 0
<------------->
[May 6 15:50:51] --- (10 headers 0 lines) ---
[May 6 15:50:52] Really destroying SIP dialog '7d761bf608374c9f6a8b9f2845b4613e@178.63.100.24' Method: ACK
[May 6 15:50:57]
Any ideas on what to edit and what to put?