Не получается соединить два канала между собой
Помогите разобраться, пожалуйста.
М.б. кто-то уже с этим сталкивался
Хочу соединить два канала посредством команды Dial(SIP/Channel01/PrefixXXXXXXXXXX|10)
Получаю Forbidden от VoIP провайдера.
Реально я имею доступ и могу звонить на любой из номеров используя данного провайдера
Однако при попытке связать имеющийся канал с другим абонентом я получаю Forbidden.
Ниже привожу логи
== Starting SIP/71.16.179.176-b3cd at incoming,,1 failed so falling back to exten 's'
-- Executing Answer("SIP/71.16.179.176-b3cd", " ") in new stack
-- Executing AGI("SIP/71.16.179.176-b3cd", "agi://192.168.20.9:4570/HelloAGI") in new stack
-- AGI Script Executing Application: (Background) Options: (vm-options)
-- Playing 'vm-options' (language 'en')
-- AGI Script Executing Application: (Dial) Options: (SIP/71.16.179.143/427335879066247691|10)
We're at 194.186.75.211 port 15886
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
13 headers, 11 lines
Reliably Transmitting (NAT) to 71.16.179.143:5060:
INVITE sip:427335879066247691@71.16.179.143 SIP/2.0
Via: SIP/2.0/UDP 194.186.75.211:5060;branch=z9hG4bK2faed6ac;rport
From: "9157813872" <sip:9157813872@194.186.75.211>;tag=as54f31cfb
To: <sip:427335879066247691@71.16.179.143>
Contact: <sip:9157813872@194.186.75.211>
Call-ID: 2531a203247103936fb125a739b5a8a0@194.186.75.211
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 12 Jul 2006 20:23:12 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 241
v=0
o=root 5916 5916 IN IP4 194.186.75.211
s=session
c=IN IP4 194.186.75.211
t=0 0
m=audio 15886 RTP/AVP 0 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
---
-- Called 71.16.179.143/427335879066247691
<-- SIP read from 71.16.179.143:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 194.186.75.211:5060;branch=z9hG4bK2faed6ac;rport
From: "9157813872" <sip:9157813872@194.186.75.211>;tag=as54f31cfb
To: <sip:427335879066247691@71.16.179.143>
Call-ID: 2531a203247103936fb125a739b5a8a0@194.186.75.211
CSeq: 102 INVITE
Content-Length: 0
--- (7 headers 0 lines)---
<-- SIP read from 71.16.179.143:5060:
SIP/2.0 403 Forbidden
To: <sip:427335879066247691@71.16.179.143>;tag=3361770888-424334
From: "9157813872" <sip:9157813872@194.186.75.211>;tag=as54f31cfb
Call-ID: 2531a203247103936fb125a739b5a8a0@194.186.75.211
CSeq: 102 INVITE
Contact: sip:427335879066247691@71.16.179.143:5060
Via: SIP/2.0/UDP 194.186.75.211:5060;branch=z9hG4bK2faed6ac;rport
Content-Length: 0
--- (8 headers 0 lines)---
Transmitting (NAT) to 71.16.179.143:5060:
ACK sip:427335879066247691@71.16.179.143 SIP/2.0
Via: SIP/2.0/UDP 194.186.75.211:5060;branch=z9hG4bK2faed6ac;rport
From: "9157813872" <sip:9157813872@194.186.75.211>;tag=as54f31cfb
To: <sip:427335879066247691@71.16.179.143>;tag=3361770888-424334
Contact: <sip:9157813872@194.186.75.211>
Call-ID: 2531a203247103936fb125a739b5a8a0@194.186.75.211
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
---
Jul 13 00:23:12 WARNING[5978]: chan_sip.c:9527 handle_response_invite: Forbidden - wrong password on authentication for INVITE to '"9157813872" <sip:9157813872@194.186.75.211>;tag=as54f31cfb'
-- SIP/71.16.179.143-4f7c is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- AGI Script Executing Application: (Background) Options: (vm-options)
-- Playing 'vm-options' (language 'en')
<-- SIP read from 71.16.179.143:5060:
SIP/2.0 403 Forbidden
To: <sip:427335879066247691@71.16.179.143>;tag=3361770888-424334
From: "9157813872" <sip:9157813872@194.186.75.211>;tag=as54f31cfb
Call-ID: 2531a203247103936fb125a739b5a8a0@194.186.75.211
CSeq: 102 INVITE
Contact: sip:427335879066247691@71.16.179.143:5060
Via: SIP/2.0/UDP 194.186.75.211:5060;branch=z9hG4bK2faed6ac;rport
Content-Length: 0
--- (8 headers 0 lines)---
Destroying call '2531a203247103936fb125a739b5a8a0@194.186.75.211'
<-- SIP read from 71.16.179.143:5060:
SIP/2.0 403 Forbidden
To: <sip:427335879066247691@71.16.179.143>;tag=3361770888-424334
From: "9157813872" <sip:9157813872@194.186.75.211>;tag=as54f31cfb
Call-ID: 2531a203247103936fb125a739b5a8a0@194.186.75.211
CSeq: 102 INVITE
Contact: sip:427335879066247691@71.16.179.143:5060
Via: SIP/2.0/UDP 194.186.75.211:5060;branch=z9hG4bK2faed6ac;rport
Content-Length: 0
--- (8 headers 0 lines)---
Destroying call '2531a203247103936fb125a739b5a8a0@194.186.75.211'
<-- SIP read from 71.16.179.143:5060:
SIP/2.0 403 Forbidden
To: <sip:427335879066247691@71.16.179.143>;tag=3361770888-424334
From: "9157813872" <sip:9157813872@194.186.75.211>;tag=as54f31cfb
Call-ID: 2531a203247103936fb125a739b5a8a0@194.186.75.211
CSeq: 102 INVITE
Contact: sip:427335879066247691@71.16.179.143:5060
Via: SIP/2.0/UDP 194.186.75.211:5060;branch=z9hG4bK2faed6ac;rport
Content-Length: 0
--- (8 headers 0 lines)---
Destroying call '2531a203247103936fb125a739b5a8a0@194.186.75.211'
<-- SIP read from 71.16.179.143:5060:
SIP/2.0 403 Forbidden
To: <sip:427335879066247691@71.16.179.143>;tag=3361770888-424334
From: "9157813872" <sip:9157813872@194.186.75.211>;tag=as54f31cfb
Call-ID: 2531a203247103936fb125a739b5a8a0@194.186.75.211
CSeq: 102 INVITE
Contact: sip:427335879066247691@71.16.179.143:5060
Via: SIP/2.0/UDP 194.186.75.211:5060;branch=z9hG4bK2faed6ac;rport
Content-Length: 0
--- (8 headers 0 lines)---
Destroying call '2531a203247103936fb125a739b5a8a0@194.186.75.211'
<-- SIP read from 71.16.179.176:53348:
BYE sip:4273358@194.186.75.211:5060 SIP/2.0
Via: SIP/2.0/UDP 71.16.179.176:5060
From: <sip:427335879157813872@71.16.179.176>;tag=2688B585-E43
To: "9157813872" <sip:4273358@194.186.75.211>;tag=as1354a497
Date: Thu, 13 Jul 2006 08:13:55 GMT
Call-ID: 05ee246423d925fd34ad74c9025a530a@194.186.75.211
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 6
Timestamp: 1152778449
CSeq: 101 BYE
Content-Length: 0
--- (11 headers 0 lines)---
Sending to 71.16.179.176 : 5060 (non-NAT)
Transmitting (no NAT) to 71.16.179.176:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 71.16.179.176:5060;received=71.16.179.176
From: <sip:427335879157813872@71.16.179.176>;tag=2688B585-E43
To: "9157813872" <sip:4273358@194.186.75.211>;tag=as1354a497
Call-ID: 05ee246423d925fd34ad74c9025a530a@194.186.75.211
CSeq: 101 BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:4273358@194.186.75.211>
Content-Length: 0
X-Asterisk-HangupCause: Call Rejected
---
== Spawn extension (incoming, s, 2) exited non-zero on 'SIP/71.16.179.176-b3cd'
Destroying call '05ee246423d925fd34ad74c9025a530a@194.186.75.211'
<-- SIP read from 71.16.179.143:5060:
SIP/2.0 403 Forbidden
To: <sip:427335879066247691@71.16.179.143>;tag=3361770888-424334
From: "9157813872" <sip:9157813872@194.186.75.211>;tag=as54f31cfb
Call-ID: 2531a203247103936fb125a739b5a8a0@194.186.75.211
CSeq: 102 INVITE
Contact: sip:427335879066247691@71.16.179.143:5060
Via: SIP/2.0/UDP 194.186.75.211:5060;branch=z9hG4bK2faed6ac;rport
Content-Length: 0
--- (8 headers 0 lines)---
Destroying call '2531a203247103936fb125a739b5a8a0@194.186.75.211'
|