Thank you, Max.  I've attached the same information as a .txt file.
Results of Callweaver sip debug:

t=0 0
m=audio 5004 RTP/AVP 0
a=sendrecv
a=rtpmap:0 PCMU/8000
a=ptime:20

--- (14 headers 9 lines) ---
Using INVITE request as basis request - [EMAIL PROTECTED]
Sending to 24.111.92.122 : 5068 (NAT)
Found user '2012'
Found RTP audio format 0
Peer audio RTP is at port 24.111.92.122:5004
Found description format PCMU
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x4 (ulaw)/video=0x0 
(nothing), combined - 0x4 (ulaw)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x0 (nothing), 
combined - 0x0 (nothing)
Looking for 2101 in default (domain 209.62.227.179)
list_route: hop: <sip:[EMAIL PROTECTED]:5068>
Transmitting (NAT) to 24.111.92.122:5068:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 
24.111.92.122:5068;branch=z9hG4bKc52ff2c396f0857b;received=24.111.92.122
From: "2012" <sip:[EMAIL PROTECTED]>;tag=087ca19f9a62de7b
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 34146 INVITE
User-Agent: CallWeaver
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0


---
    -- Executing SipT38SwitchOver("SIP/2012-84e7", )
    -- Executing Dial("SIP/2012-84e7", SIP/2101,20)
    -- Called 2101
    -- SIP/2101-3891 is ringing
Transmitting (NAT) to 24.111.92.122:5068:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 
24.111.92.122:5068;branch=z9hG4bKc52ff2c396f0857b;received=24.111.92.122
From: "2012" <sip:[EMAIL PROTECTED]>;tag=087ca19f9a62de7b
To: <sip:[EMAIL PROTECTED]>;tag=as77e40254
Call-ID: [EMAIL PROTECTED]
CSeq: 34146 INVITE
User-Agent: CallWeaver
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0


---
ubuntu*CLI>
<-- SIP read from 24.111.92.122:5068:

--- (0 headers 0 lines) Nat keepalive ---
    -- SIP/2101-3891 answered SIP/2012-84e7
We're at 209.62.227.179 port 13352
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Reliably Transmitting (NAT) to 24.111.92.122:5068:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 
24.111.92.122:5068;branch=z9hG4bKc52ff2c396f0857b;received=24.111.92.122
From: "2012" <sip:[EMAIL PROTECTED]>;tag=087ca19f9a62de7b
To: <sip:[EMAIL PROTECTED]>;tag=as77e40254
Call-ID: [EMAIL PROTECTED]
CSeq: 34146 INVITE
User-Agent: CallWeaver
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED]>
Content-Type: application/sdp
Content-Length: 186

v=0
o=root 5412 5412 IN IP4 209.62.227.179
s=session
c=IN IP4 209.62.227.179
t=0 0
m=audio 13352 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=silenceSupp:off - - - -

---
    -- Attempting native bridge of SIP/2012-84e7 and SIP/2101-3891
ubuntu*CLI>
<-- SIP read from 24.111.92.122:5068:
ACK sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 24.111.92.122:5068;branch=z9hG4bKc1791b16811ed570
From: "2012" <sip:[EMAIL PROTECTED]>;tag=087ca19f9a62de7b
To: <sip:[EMAIL PROTECTED]>;tag=as77e40254
Contact: <sip:[EMAIL PROTECTED]:5068>
Authorization: Digest username="2012", realm="callweaver.org", algorithm=MD5, 
uri="sip:[EMAIL PROTECTED]", nonce="5c15ee4e", 
response="1019c523955ec7bf9465d6efddc0a500"
Call-ID: [EMAIL PROTECTED]
CSeq: 34146 ACK
User-Agent: Grandstream HT496 1.0.3.86 FXS0
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
Content-Length: 0


--- (12 headers 0 lines) ---
Oct 14 21:42:16 WARNING[3061463952]: chan_sip.c:4720 process_sdp: Unable to 
lookup host in c= line, 'IN IP4 5004t=0 0'

<-- SIP read from 24.111.92.122:5068:

--- (0 headers 0 lines) Nat keepalive ---
12 headers, 0 lines
Reliably Transmitting (NAT) to 24.111.92.122:5068:
OPTIONS sip:[EMAIL PROTECTED]:5068 SIP/2.0
Via: SIP/2.0/UDP 209.62.227.179:5060;branch=z9hG4bK2a682020;rport
From: "callweaver" <sip:[EMAIL PROTECTED]>;tag=as416e4c9a
To: <sip:[EMAIL PROTECTED]:5068>
Contact: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 102 OPTIONS
User-Agent: CallWeaver
Max-Forwards: 70
Date: Mon, 15 Oct 2007 02:42:19 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0


Configuration in sip.conf and extensions.conf:

nano /usr/local/etc/callweaver/sip.conf
[general]
context=default ; Default context for incoming calls
bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=209.62.227.179
t38udptlsupport=yes
disallow=all
allow=alaw
allow=ulaw
dtmfmode=inband
externip=209.62.227.179
localnet=209.62.227.0/255.255.255.248
srvlookup=yes
[2012]
type=friend
secret=xxxxxx
host=dynamic
nat=yes
qualify=yes
dtmfmode=inband
dial=SIP/2012
disallow=all
allow=ulaw
allow=alaw
canreinvite=no
srvlookup=yes
t38udptlsupport=yes
[2101]
type=friend
secret=xxxxxx
host=dynamic
nat=yes
qualify=yes
dtmfmode=inband
dial=SIP/2101
disallow=all
allow=ulaw
allow=alaw
canreinvite=no
srvlookup=yes
t38udptlsupport=yes
[outbound] ; Audiocodes SIP gateway
type=peer
qualify=yes
host=209.62.227.182 ; Audiocodes SIP address
context=default
srvlookup=yes
nat=no
t38udptlsupport=yes
[inbound] ; Audiocodes SIP gateway
type=user
context=default
srvlookup=no
t38udptlsupport=yes
 
nano /usr/local/etc/callweaver/extensions.conf
[general]
static=yes
writeprotect=no
autofallthrough=no
clearglobalvars=no
priorityjumping=no
srvlookup=yes
[globals]
CONSOLE=Console/dsp
TRUNKMSD=0
TRUNK=SIP/outbound
[default]
exten => t,1,Hangup()
exten => 0133,1,Dial(Sip/2012,20)
exten => 0133,n,Hangup
exten => 2012,1,SipT38SwitchOver()
exten => 2012,n,Dial(SIP/2012,20)
exten => 2012,n,Hangup
exten => 2181,1,Dial(SIP/2101,20)
exten => 2181,n,Hangup
exten => 2101,1,SipT38SwitchOver()
exten => 2101,n,Dial(SIP/2101,20)
exten => 2101,n,Hangup
exten => _NXXXXXX,1,SipT38SwitchOver()
exten => _NXXXXXX,2,Dial(${TRUNK}/701${EXTEN}) ; adding 701 for Qwest
exten => _NXXXXXXXXX,1,SipT38SwitchOver() exten => 
_NXXXXXXXXX,2,Dial(${TRUNK}/${EXTEN}) ; allows 10 digit dialing
exten => _1NXXXXXXXXX,1,SipT38SwitchOver() exten => 
_1NXXXXXXXXX,2,Dial(${TRUNK}/${EXTEN}) ; allows long distance dialing
 

Thanks.
Tim Davenport
Office Solutions Plus, Inc.
701-258-6693, ext. 1
[EMAIL PROTECTED]

_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to