@@ sip.conf
[lucentaes-mpk]
context=lucentaes
type=peer
nat=no
host=10.6.4.43
promiscredirect=yes ;this doesnt work yet, must be set globally
insecure=invite
[lucentaes-brm]
context=lucentaes
type=peer
nat=no
host=10.1.224.33
promiscredirect=yes ;this doesnt work yet, must be set globally
insecure=invite
@@ extensions.conf
[lucentaes]
include => inbound
include => internal
include => international
include => longdistance
include => local
...
[inbound]
;
; "inbound" call routing
;
include => my-extensions
include => user-extensions
include => their-extensions
include => long-to-ext
; This should catch INVALID (ie unconfigured) extensions, but it doesnt :)
exten => i,1,Macro(not-assigned)
...
[my-extensions]
;
; These are the extensions that are handled DIRECTLY by *this* astrisk box.
;
; Emergency (911)
; -- we do not have a good way to track this, so lets at least tell the
; caller so that they can find another phone
exten => 911,1,Macro(no-emergency)
exten => 9911,1,Macro(no-emergency)
; Conference Rooms - Available to the "outside"
; for internal only ones, maybe put it in "itcto" context
exten => ${MEETME},1,Answer,1 ; so that the message doesnt get cut off
exten => ${MEETME},n,Wait,1 ; so that the message doesnt get cut off
exten => ${MEETME},n,Meetme(1)
; VoiceMail
exten => ${VOICEMAIL},1,Macro(voicemail)
;... there are more.. but I think that is sufficient to show that its "configured" :)
@@ SIP DEBUG OUTPUT
<-- SIP read from 10.6.4.43:32799:
OPTIONS sip:10.6.4.61:5060 SIP/2.0
Via:SIP/2.0/UDP 10.6.4.43;branch=z9hG4bK-BroadWorks.10.6.4.43-10.6.4.61V5060-0-534644470-991541358-1130645687788
From:<sip:10.6.4.43>;tag=991541358-1130645687788
To:<sip:10.6.4.61:5060>
Call-ID:BW221447788291005815253564@10.6.4.43
CSeq:534644470 OPTIONS
Max-Forwards:10
Content-Length:0
--- (8 headers 0 lines)---
Looking for 10.6.4.61:5060 in default (domain )
Transmitting (no NAT) to 10.6.4.43:32799:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 10.6.4.43;branch=z9hG4bK-BroadWorks.10.6.4.43-10.6.4.61V5060-0-534644470-991541358-1130645687788;received=10.6.4.43
From: <sip:10.6.4.43>;tag=991541358-1130645687788
To: <sip:10.6.4.61:5060>;tag=as1882fadf
Call-ID: BW221447788291005815253564@10.6.4.43
CSeq: 534644470 OPTIONS
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:10.6.4.61>
Accept: application/sdp
Content-Length: 0
---
Destroying call 'BW221447788291005815253564@10.6.4.43'
itcto-lx50-2*CLI>
<-- SIP read from 10.1.224.33:32802:
OPTIONS sip:10.6.4.61:5060 SIP/2.0
Via:SIP/2.0/UDP 10.1.224.33;branch=z9hG4bK-BroadWorks.10.1.224.33-10.6.4.61V5060-0-534645282-1853539288-1130645689412
From:<sip:10.1.224.33>;tag=1853539288-1130645689412
To:<sip:10.6.4.61:5060>
Call-ID:BW2214494122910051938739694@10.1.224.33
CSeq:534645282 OPTIONS
Max-Forwards:10
Content-Length:0
--- (8 headers 0 lines)---
Looking for 10.6.4.61:5060 in default (domain )
Transmitting (no NAT) to 10.1.224.33:32802:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 10.1.224.33;branch=z9hG4bK-BroadWorks.10.1.224.33-10.6.4.61V5060-0-534645282-1853539288-1130645689412;received=10.1.224.33
From: <sip:10.1.224.33>;tag=1853539288-1130645689412
To: <sip:10.6.4.61:5060>;tag=as080d9e36
Call-ID: BW2214494122910051938739694@10.1.224.33
CSeq: 534645282 OPTIONS
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:10.6.4.61>
Accept: application/sdp
Content-Length: 0
---
Destroying call 'BW2214494122910051938739694@10.1.224.33'