Copyright © OneAccess Networks – All rights reserved United Networking 2 June, VoIP SIP Configuration Examples v
U n i t e d N e t w o r k i n g 2 Configuration examples Gateway to gateway call (uac/uas, no SIP server). Register & Invite methods over proxy server: Register transaction: Slides 62 & 63 Invite transaction: Slides 64 to 65 40x challenge for Register & Invite methods : Authenticated register transaction: Slides 68 to 70 Authenticated Invite transaction: Slides 71 to 77 Voice backup
U n i t e d N e t w o r k i n g 3 #200 # / Up Down Gateway to Gateway call (1) Gateway-to-Gateway Call (1)
U n i t e d N e t w o r k i n g 4 hostname UP interface FastEthernet 0/0 ip address exit interface bri 5/0 isdn protocol-emulation isdn-nt exit no shutdown execute exit snmp set-write-community private snmp set-read-community public voice-default voice-port 5/0 clock-source free_run exit dial-peer voice pots 0 pots-group 0 port 5/0 no shutdown exit dial-peer voice voip 0 sig-protocol sip gw-ip-address voip-coder-profile 0 no shutdown exit voice-routing route 1 dial-peer pots-group 0 prefix 100 length 3 prefix-type outgoing called last exit route 2 dial-peer voip 0 prefix 200 length 3 prefix-type outgoing called last exit sip-gateway gw-interface fastethernet 0 intrusive no shutdown exit voip-coder-profile 0 codec 0 g711a 20 exit Gateway-to-Gateway Call (2)
U n i t e d N e t w o r k i n g 5 hostname DOWN interface FastEthernet 0/0 ip address exit interface bri 5/0 isdn protocol-emulation isdn-nt exit no shutdown execute exit snmp set-write-community private snmp set-read-community public voice-default voice-port 5/0 clock-source free_run exit dial-peer voice pots 0 pots-group 0 port 5/0 no shutdown exit dial-peer voice voip 0 sig-protocol sip gw-ip-address voip-coder-profile 0 no shutdown exit voice-routing route 1 dial-peer pots-group 0 prefix 200 length 3 prefix-type outgoing called last exit route 2 dial-peer voip 0 prefix 100 length 3 prefix-type outgoing called last exit sip-gateway gw-interface fastethernet 0/0 intrusive no shutdown exit voip-coder-profile 0 codec 0 g711a 20 exit Gateway-to-Gateway Call (3)
U n i t e d N e t w o r k i n g /24.2 MAIN_SITE REMOTE_SITE.69.2 Proxy/registrar /24 IP network PABX Pabx BRI 5/0 #300 # /22 BRI 5/1 # Register and Invite methods over Proxy SIP (1)
U n i t e d N e t w o r k i n g 7 hostname MAIN_SITE Ip route Ip host oneaccess-net.com interface FastEthernet 0/0 ip address exit interface bri 5/0 isdn protocol-emulation isdn-nt tei-negotiation static exit no shutdown execute exit voice-default voice-port 5/0 clock-source free_run exit dial-peer voice pots 0 pots-group 0 port 5/0 no shutdown exit dial-peer voice voip 0 sig-protocol sip voip-coder-profile 0 no shutdown exit voice-routing route 1 dial-peer pots-group 0 ua-sip prefix 300 length 3 prefix-type outgoing called last exit route 2 dial-peer voip 0 prefix 301 length 3 prefix-type outgoing called last exit sip-gateway outbound-proxy reg-dns-add oneaccess-net.com prox-dns-add oneaccess-net.com gw-interface fastethernet 0/0 intrusive device-host-name oneaccess-net.com uri-contact ip-address no shutdown exit voip-coder-profile 0 codec 0 g711a 20 Register and Invite methods over Proxy SIP (2)
U n i t e d N e t w o r k i n g 8 hostname REMOTE_SITE Ip route interface FastEthernet 0/0 ip address exit interface bri 5/0 isdn protocol-emulation isdn-nt tei-negotiation static exit no shutdown execute exit voice-default voice-port 5/0 clock-source free_run exit dial-peer voice pots 0 pots-group 0 port 5/0 inser-calling-number 301 no shutdown exit dial-peer voice voip 0 sig-protocol sip voip-coder-profile 0 no shutdown exit voice-routing route 1 dial-peer pots-group 0 ua-sip prefix 301 length 3 prefix-type outgoing called last exit route 2 dial-peer voip 0 prefix 300 length 3 prefix-type outgoing called last exit sip-gateway outbound-proxy reg-dns-add oneaccess-net.com prox-dns-add oneaccess-net.com gw-interface fastethernet 0/0 intrusive device-host-name oneaccess-net.com uri-contact ip-address no shutdown exit voip-coder-profile 0 codec 0 g711a 20 exit Register and Invite methods over Proxy SIP (3)
U n i t e d N e t w o r k i n g 9 1- Internet Protocol, Src Addr: ( ), Dst Addr: ( ) Request-Line: REGISTER sip:oneaccess-net.com:5060 SIP/2.0 Method: REGISTER Resent Packet: False Message Header Call-ID: 31 Contact: Content-Type: application/* CSeq: 56 REGISTER Expires: 1800 From: ;tag=22C8 Max-Forwards: 70 Privacy: none To: Via: SIP/2.0/UDP :5060;branch=z9hG4bK-556D-4F Content-Length: 0 2- Internet Protocol, Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Trying Status-Code: 100 Resent Packet: False Message Header Via: SIP/2.0/UDP :5060;branch=z9hG4bK-556D-4F From: ;tag=22C8 To: Call-ID: 31 CSeq: 56 REGISTER Server: Brekeke OnDO SIP Server ( /144) SIP Registrar server (4) debug sip traces about Register method
U n i t e d N e t w o r k i n g 10 Frame 3 Internet Protocol, Src Addr: ( ), Dst Addr: ( ) Session Initiation Protocol Status-Line: SIP/ OK Status-Code: 200 Resent Packet: False Message Header Via: SIP/2.0/UDP :5060;branch=z9hG4bK-556D-4F From: ;tag=22C8 To: ;tag= Call-ID: 31 CSeq: 56 REGISTER Contact: ;expires=1800;q=1.0 Server: Brekeke OnDO SIP Server ( /144) Content-Length: 0 Another SIP Register Method (new Call-ID & new Cseq) is generated about the « user » Three same frames as for « 300 » are sent to oneaccess-net.com Registrar server. SIP Registrar server (5) debug sip traces about Register method
U n i t e d N e t w o r k i n g 11 Session Initiation Protocol Request-Line: INVITE SIP/2.0 Method: INVITE Resent Packet: False Message Header Call-ID: 3C Contact: Content-Type: application/sdp CSeq: 66 INVITE From: ;tag=5548 Privacy: none Supported: replaces To: Via: SIP/2.0/UDP :5060;branch=z9hG4bK Content-Length: 150 Message body Session Description Protocol SIP Proxy server (6) debug sip trace about Invite method
U n i t e d N e t w o r k i n g 12 No. Source Destination Protocol Info SIP/SDP Request: INVITE user=phone, with sdp SIP Status: 100 Trying SIP/SDP Request: INVITE with sdp SIP Status: 183 Proceeding SIP Status: 183 Proceeding SIP Status: 180 Ringing SIP Status: 180 Ringing SIP/SDP Status: 200 OK, with session description SIP/SDP Status: 200 OK, with session description SIP Request: ACK SIP Request: ACK RTP Payload type=ITU-T G.711 PCMA, SSRC= , Seq= RTP Payload type=ITU-T G.711 PCMA, SSRC= , Seq= SIP Request: BYE SIP Request: BYE SIP Status: 200 OK SIP Status: 200 OK Transactions about an Invite method (7)
U n i t e d N e t w o r k i n g 13 hostname MAIN_SITE Ip host oneaccess-net.com dial-peer voice voip 0 sig-protocol sip voip-coder-profile 0 no shutdown exit voice-routing route 1 dial-peer pots-group 0 ua-sip sip-authentication isdn_call 300 Digest username and password for prefix 300 length 3 Authentication purpose at Register and prefix-type outgoing called last Invite Methods exit route 2 dial-peer pots-group 1 ua-sip Setting of route 2 doesn’t support prefix length 10 authentication request prefix-type outgoing called last exit route 3 dial-peer voip 0 prefix 301 length 3 prefix-type outgoing called last exit sip-gateway outbound-proxy reg-dns-add oneaccess-net.com prox-dns-add oneaccess-net.com gw-interface fastethernet 0/0 intrusive device-host-name oneaccess-net.com uri-contact ip-address no shutdown exit Register and Invite methods including 40x challenge (1)
U n i t e d N e t w o r k i n g 14 hostname REMOTE_SITE Ip host oneaccess-net.com dial-peer voice voip 0 sig-protocol sip voip-coder-profile 0 no shutdown exit voice-routing route 1 dial-peer pots-group 0 ua-sip sip-authentication remote Digest username and password for prefix 301 length 3 Authentication purpose about Register prefix-type outgoing called last and Invite methods. exit route 2 dial-peer voip 0 prefix 300 length 3 prefix-type outgoing called last exit sip-gateway outbound-proxy reg-dns-add oneaccess-net.com prox-dns-add oneaccess-net.com gw-interface fastethernet 0/0 intrusive device-host-name oneaccess-net.com uri-contact ip-address no shutdown exit Register and Invite methods including 40x challenge (2)
U n i t e d N e t w o r k i n g 15 1-Src Addr: ( ), Dst Addr: ( ) Request-Line: REGISTER sip:oneaccess-net.com:5060 SIP/2.0 Message Header Call-ID: 4 Contact: CSeq: 13 REGISTER Expires: 1800 From: ;tag=3E49 To: Via: SIP/2.0/UDP :5060;branch=z9hG4bK-70C8-D 2-Src Addr: ( ), Dst Addr: ( ) Request-Line: REGISTER sip:oneaccess-net.com:5060 SIP/2.0 Message Header Call-ID: 5 Contact: CSeq: 14 REGISTER Expires: 1800 From: ;tag=6E81 To: Via: SIP/2.0/UDP :5060;branch=z9hG4bK-3E5D-E Content-Length: 0 3-Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Trying Message Header To: Call-ID: 4 CSeq: 13 REGISTER Register method including 401 challenge (3)
U n i t e d N e t w o r k i n g 16 4-Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Trying Message Header To: Call-ID: 5 CSeq: 14 REGISTER 5-Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Unauthorized Message Header To: ;tag= Call-ID: 4 CSeq: 13 REGISTER WWW-Authenticate: Digest realm="LLA009-FFG890J",nonce="4f9bcecd34f d2e7fcc1dd5f70bf6265" 6-Src Addr: ( ), Dst Addr: ( ) Request-Line: REGISTER sip:oneaccess-net.com:5060 SIP/2.0 Message Header Authorization: Digest username="isdn_call",realm="LLA009-FFG890J",nonce="4f9bcecd34f d2e7fcc1dd5f70bf6265", uri="oneaccess-net.com",response="df0963cf7aa95ad c65c56",nc= Call-ID: 4 CSeq: 15 REGISTER From: ;tag=4EC5 7-Src Addr: ( ), Dst Addr: ( ) Request-Line: REGISTER sip:oneaccess-net.com:5060 SIP/2.0 Message Header Authorization: Digest username=" ",realm="LLA009FFG890J",nonce="45a6856be7e33dcf40079dd59ba0fb7370bf6265", uri="oneaccess-net.com",response="db73863d0297b3e827cfdbfe9561eb2d",nc= Call-ID: 5 CSeq: 16 REGISTER From: ;tag=2EE5 Register method including 401 challenge (4)
U n i t e d N e t w o r k i n g 17 8-Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ OK Message Header To: ;tag= Call-ID: 4 CSeq: 15 REGISTER 9-Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Forbidden Message Header To: ;tag= Call-ID: 5 CSeq: 16 REGISTER Register method including 401 challenge (5)
U n i t e d N e t w o r k i n g Src Addr: ( ), Dst Addr: ( ) Request-Line: INVITE SIP/2.0 Message Header Call-ID: 10 Contact: CSeq: 47 INVITE From: ;tag=23E To: Via: SIP/2.0/UDP :5060;branch=z9hG4bK-67B-33 Message body Session Description Protocol Session Description Protocol Version (v): 0 Owner/Creator, Session Id (o): UserA IN IP Session Name (s): Session SDP Connection Information (c): IN IP Time Description, active time (t): 0 0 Media Description, name and address (m): audio RTP/AVP 8 Media Attribute (a): rtpmap:8 PCMA/ Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Trying Message Header Via: SIP/2.0/UDP :5060;branch=z9hG4bK-67B-33 From: ;tag=23E To: Call-ID: 10 CSeq: 47 INVITE Invite method including 407 challenge (6)
U n i t e d N e t w o r k i n g Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Proxy Authentication Required Message Header Via: SIP/2.0/UDP :5060;branch=z9hG4bK-67B-33 From: ;tag=23E To: ;tag= Call-ID: 10 CSeq: 47 INVITE Server: Brekeke OnDO SIP Server ( /144) Proxy-Authenticate: Digest realm="LLA009-FFG890J",nonce="2081e4ec87b4bfe157c e08a4f70bf6265« 4- Src Addr: ( ), Dst Addr: ( ) Request-Line: ACK SIP/2.0 Message Header Call-ID: 10 CSeq: 47 ACK From: ;tag=23E To: ;tag= Via: SIP/2.0/UDP :5060;branch=z9hG4bK-67B Src Addr: ( ), Dst Addr: ( ) Request-Line: INVITE SIP/2.0 Message Header Call-ID: 10 Contact: CSeq: 48 INVITE From: ;tag=23E Proxy-Authorization: Digest username="isdn_call2",realm="LLA009-FFG890J",nonce="2081e4ec87b4bfe157c e08a4f70bf6265", uri="oneaccess-net.com",response="e6f6da842a1ab64e06dc1bd621fa5fb1",nc= To: Via: SIP/2.0/UDP :5060;branch=z9hG4bK-49F9-34 Content-Length: 150 Message body : Session Description Protocol Invite method including 407 challenge (8)
U n i t e d N e t w o r k i n g Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Trying Message Header Via: SIP/2.0/UDP :5060;branch=z9hG4bK-49F9-34 From: ;tag=23E To: Call-ID: 10 CSeq: 48 INVITE 7- Src Addr: ( ), Dst Addr: ( ) Request-Line: INVITE SIP/2.0 Message Header Call-ID: 10 Contact: CSeq: 48 INVITE From: ;tag=23E Proxy-Authorization: Digest username="isdn_call2",realm="LLA009-FFG890J",nonce="2081e4ec87b4bfe157c e08a4f70bf6265", uri="oneaccess-net.com",response="e6f6da842a1ab64e06dc1bd621fa5fb1",nc= To: Via: SIP/2.0/UDP :5060;branch=z9hG4bKd2ca Via: SIP/2.0/UDP :5060;branch=z9hG4bK-49F9-34 Record-Route: Content-Length: 150 Message body Session Description Protocol Session Description Protocol Version (v): 0 Owner/Creator, Session Id (o): UserA IN IP Session Name (s): Session SDP Connection Information (c): IN IP Time Description, active time (t): 0 0 Media Description, name and address (m): audio RTP/AVP 8 Media Attribute (a): rtpmap:8 PCMA/8000 Invite method including 407 challenge (9)
U n i t e d N e t w o r k i n g Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ trying Message Header Call-ID: 10 CSeq: 48 INVITE From: ;tag=23E Record-Route: To: Via: SIP/2.0/UDP :5060;received= ;branch=z9hG4bKd2ca ,SIP/2.0/UDP :5060;branch=z9hG4bK-49F Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Proceeding Message Header Call-ID: 10 CSeq: 48 INVITE From: ;tag=23E Record-Route: To: ;tag=1469 Via: SIP/2.0/UDP :5060;received= ;branch=z9hG4bKd2ca ,SIP/2.0/UDP :5060;branch=z9hG4bK-49F Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Proceeding Message Header Call-ID: 10 CSeq: 48 INVITE From: ;tag=23E Record-Route: To: ;tag=1469 Via: SIP/2.0/UDP :5060;branch=z9hG4bK-49F9-34 Invite method including 407 challenge (10)
U n i t e d N e t w o r k i n g Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Ringing Message Header Call-ID: 10 CSeq: 48 INVITE From: ;tag=23E Record-Route: To: ;tag=1469 Via: SIP/2.0/UDP :5060;received= ;branch=z9hG4bKd2ca ,SIP/2.0/UDP; :5060;branch=z9hG4bK49F9 12- Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ Ringing Message Header Call-ID: 10 CSeq: 48 INVITE From: ;tag=23E Record-Route: To: ;tag=1469 Via: SIP/2.0/UDP :5060;branch=z9hG4bK-49F9-34 Invite method including 407 challenge (11)
U n i t e d N e t w o r k i n g Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ OK Message Header Call-ID: 10 Contact: Content-Type: application/sdp CSeq: 48 INVITE From: ;tag=23E Record-Route: To: ;tag=1469 Via: SIP/2.0/UDP :5060;received= ;branch=z9hG4bKd2ca ,SIP/2.0/UDP :5060;branch=z9hG4bK-49 Message body: Session Description Protocol Session Description Protocol Version (v): 0 Owner/Creator, Session Id (o): UserA IN IP Session Name (s): Session SDP Connection Information (c): IN IP Time Description, active time (t): 0 0 Media Description, name and address (m): audio RTP/AVP 8 Media Attribute (a): rtpmap:8 PCMA/ Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ OK Message Header Call-ID: 10 Contact: CSeq: 48 INVITE From: ;tag=23E Record-Route: To: ;tag=1469 Via: SIP/2.0/UDP :5060;branch=z9hG4bK-49F9-34 Message body: Session Description Protocol Invite method including 401 challenge (12)
U n i t e d N e t w o r k i n g Src Addr: ( ), Dst Addr: ( ) Request-Line: ACK SIP/2.0 Message Header Call-ID: 10 CSeq: 48 ACK From: ;tag=23E Route: To: ;tag=1469 Via: SIP/2.0/UDP :5060;branch=z9hG4bK-5B7E Src Addr: ( ), Dst Addr: ( ) Request-Line: ACK SIP/2.0 Message Header Call-ID: 10 CSeq: 48 ACK From: ;tag=23E To: ;tag=1469 Via: SIP/2.0/UDP :5060;branch=z9hG4bK bf Via: SIP/2.0/UDP :5060;branch=z9hG4bK-5B7E-35 Record-Route: 17- Src Addr: ( ), Dst Addr: ( ) Request-Line: BYE SIP/ Src Addr: ( ), Dst Addr: ( ) Request-Line: BYE SIP/ Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ OK 20- Src Addr: ( ), Dst Addr: ( ) Status-Line: SIP/ OK Invite method including 401 challenge (13)
U n i t e d N e t w o r k i n g /24.2 MAIN_SITE REMOTE_SITE.69.2 Proxy/registrar /24 IP network PABX BRI 5/0 #300 # /22 BRI 5/1 # REFER SIP service transaction (1).25 Sip phone # 103
U n i t e d N e t w o r k i n g 26 hostname MAIN_SITE Ip host oneaccess-net.com dial-peer voice voip 0 sig-protocol sip voip-coder-profile 0 no shutdown exit voice-routing route 1 dial-peer pots-group 0 ua-sip sip-authentication isdn_call1 300 prefix 300 length 3 prefix-type outgoing called last exit route 2 dial-peer pots-group 1 ua-sip sip-authentication isdn_call2 O prefix length 10 prefix-type outgoing called last exit route 3 dial-peer voip 0 prefix. Timer -> this allows to route any other outgoing call to VoIP prefix-type outgoing called last exit sip-gateway reg-dns-add oneaccess-net.com prox-dns-add oneaccess-net.com gw-interface fastethernet 0/0 intrusive bye-on-refer -> To support Refer SIP service no shutdown exit REFER SIP service transaction (2)
U n i t e d N e t w o r k i n g 27 Phone # 301 calls Sip phone # 103 (who offhook). Then, SIP phone decides to transfert (without consultation) the call to phone # 301 located at Remote_site No. Source Destination Info oneaccess-net.com Request: INVITE with sdp 2 oneaccess-net.com Status: 100 Trying oneaccess-net.com Status: 100 Trying oneaccess-net.com Status: 180 Ringing 6 oneaccess-net.com Status: 180 Ringing oneaccess-net.com Status: 200 OK, with session description 8 oneaccess-net.com Status: 200 OK, with session description oneaccess-net.com Request: ACK 10 oneaccess-net.com Request: ACK oneaccess-net.com Request: REFER 12 oneaccess-net.com Request: REFER oneaccess-net.com Status: 202 ACCEPTED 14 oneaccess-net.com Status: 202 ACCEPTED oneaccess-net.com Request: NOTIFY 16 oneaccess-net.com Request: NOTIFY with Sipfrag(v=0...) oneaccess-net.com Status: 200 OK 18 oneaccess-net.com Status: 200 OK oneaccess-net.com Request: BYE TO CLOSE THE FIRST CALL 20 oneaccess-net.com Request: BYE oneaccess-net.com Status: 200 OK 22 oneaccess-net.com Status: 200 OK oneaccess-net.com Request: INVITE with sdp 24 oneaccess-net.com Status: 100 Trying 25 oneaccess-net.com Request: INVITE with sdp oneaccess-net.com Status: 100 trying oneaccess-net.com Status: 183 Proceeding 28 oneaccess-net.com Status: 183 Proceeding oneaccess-net.com Status: 180 Ringing 30 oneaccess-net.com Status: 180 Ringing oneaccess-net.com Status: 200 OK, with session description 32 oneaccess-net.com Status: 200 OK, with session description oneaccess-net.com Request: ACK 34 oneaccess-net.com Request: ACK REFER SIP service transaction (3) Unattended Transfert global call flow
U n i t e d N e t w o r k i n g 28 The next Messages are proxied by SIP proxy server (oneaccess-net.com, IP address ). 1- Message from (SIP phone) to indicate a call transfert from 103 to 301(Unattended Transfert to phone 301). REFER SIP/2.0 Via: SIP/2.0/UDP :5060;branch=z9hG4bKd9e6cb01abe12.3 Via: SIP/2.0/UDP ;branch=z9hG4bKb15a9e22d64b4bc2 From: ;tag= a3cdbb To: ;tag=3D0 Contact: Supported: replaces Refer-To: -> Form of Refer-To is like Contact header field Referred-By: -> Form of Referred-By is like Contact Call-ID: 12 header field CSeq: REFER User-Agent: Grandstream BT Max-Forwards: 69 Allow: INVITE,AC K,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE Record-Route: Content-Length: 0 REFER SIP service transaction (4) Unattended Transfert, Refer/Notify method
U n i t e d N e t w o r k i n g Message from to acknowledge REFER request SIP/ ACCEPTED Call-ID: 12 CSeq: REFER From: ;tag= a3cdbb Record-Route: To: ;tag=3D0 Via: SIP/2.0/UDP :5060;received= ;branch=z9hG4bKd9e6cb01abe12.3,SIP/2.0/UDP ;branch=z9hG4bKb15a9e22d64b4bc2 Content-Length: 0 3- Message from to inform « REFER » the sender of the status of the reference (To, From, Call-ID) NOTIFY :5060;user=phone SIP/2.0 Call-ID: 12 Contact: Content-Type: message/sipfrag -> this header field is mandatory (like that) CSeq: 45 NOTIFY Event: refer -> Refer event package must be subscribed. From: ;tag=3D0 Route: Subscription-State: terminated;reason=noresource -> This is the final Notify to the To: ;tag= a3cdbb REFER Request Via: SIP/2.0/UDP :5060;branch=z9hG4bK-7922 Content-Length: 150 SDP REFER SIP service transaction (5) Unattended Transfert, Refer/Notify method
U n i t e d N e t w o r k i n g /24.2 MAIN_SITE REMOTE_SITE.69.2 Proxy/registrar /24 IP network PABX BRI 5/0 #300 # /22 BRI 5/1 # Voice-routing: Backup scenarios (1) ISDN Network BRI 5/
U n i t e d N e t w o r k i n g 31 Based on the voice-routing configuration, this is possible to re route any outgoing SIP call to an alternate ISDN interface (ISDN call, not SIP) This may be applied to backup the « uplink » which may be a fast Ethernet, ATM, E1 interface.(1) This may be applied to backup any failure in the IP network, ATM pvc failure, routing…(2) This may be applied to « backup » SIP server failure (3) Voice-routing: Backup scenarios (2)
U n i t e d N e t w o r k i n g 32 Voice-routing: Backup scenarios (3) CONFIGURATION : voice-routing route 1 dial-peer voip 2 prefix x length 10 prefix-type outgoing called backup if the primary route is not reachable exit Backup allows to jump to next entry route 2 matching dialled prefix dial-peer pots-group 0 prefix length 10 prefix-type outgoing called last exit. route 4 dial-peer pots-group 2 prefix length 10 prefix-type outgoing called last exit
U n i t e d N e t w o r k i n g 33 Voice-routing: Backup scenarios (4) -Info vox voip controlplan 3 Incoming call on local port: 5/1, calling: , called: , call-id: 2. -Error vox voip controlplan 1 Incoming call failure on local port: 5/1, cause: (38)[Network out of order], call-id: 2. -Info vox voip controlplan 3 Backup Process Dialing port: 5/1, number: , call-id: 2 -Info vox voip controlplan 3 Outgoing call on local port: 5/2, calling: , called: , call-id: 2. -Info vox voip controlplan 3 Alert received, call-id: 2.
U n i t e d N e t w o r k i n g 34 Sip-Gateway statistics : Gateway state up Registration state registered Registrar server :5060 Bandwidth used/unused 0 / bps Max Bandwidth exceeded 0 Registration errors 0 Registered endpoints 2 Current call 0 Authentication Rejects 0 Sip-Gateway statistics : Gateway state up Registration state registered Registrar server :5060 Bandwidth used/unused 0 / bps Max Bandwidth exceeded 0 Registration errors 0 Registered endpoints 2 Current call 0 Authentication Rejects 0 SIP Gateway Statistics CLI# show voice sip-gateway SIP Statistics
U n i t e d N e t w o r k i n g 35 phone 1 : State : registered Number : SIP-id : Registration timeout : 105s/120s phone 2 : State : registered Number : SIP-id : Registration timeout : 18s/120s phone 1 : State : registered Number : SIP-id : Registration timeout : 105s/120s phone 2 : State : registered Number : SIP-id : Registration timeout : 18s/120s SIP Gateway Statistics CLI# show voice sip-gateway endpoints SIP Statistics
U n i t e d N e t w o r k i n g 36 Events CLI# event filter add vox voip all show 00:04: Info vox voip controlplan 3 FXS port 5/4 event: off-hook, pots: 2. 00:04: Info vox voip controlplan 3 FXS port 5/4 event: on-hook, pots: 2. SIP Statistics
U n i t e d N e t w o r k i n g 37 Debug CLI#debug sip [registrar | signalling | all] - default: all level [1..3] - default: 1 CLI#debug sip registrar level 3 07:07: UAC [ :5060] -> UAS [ :5060] REGISTER (UDP) REGISTER sip: :5060;user=ip SIP/2.0 Call-ID: Contact: CSeq: 124 REGISTER Expires: 1800 From: ;tag=401A Max-Forwards: 70 Privacy: none Supported: path To: Via: SIP/2.0/UDP :5060;branch=z9hG4bK-2D40-70 Content-Length: 0 CLI#debug sip registrar (about direction, method & call-id) CLI#debug sip sig l 2 (about direction, method, call-id & sdp) CLI#debug sip signalling level 3 (all details) SIP Statistics
Copyright © OneAccess Networks – All rights reserved United Networking 2 June, 2015 Thank You for your attention !