background image

4.

Technical Data

4.1.4    PBX → GUEST

REGISTER sip: 

xxx.xxx.xxx.xxx

SIP/2.0

Via: SIP/2.0/UDP 

000.000.000.000

:5060;branch=z9hG4bK1db71efa;rport 

From: <sip: 

0000123456

@

xxx.xxx.xxx.xxx 

>;tag=as2031f6e2

From: <sip: 

0000123456

@

xxx.xxx.xxx.xxx 

>;tag=as2031f6e2

To: <sip: 

0000123456

@

xxx.xxx.xxx.xxx 

>

Call-ID: [email protected] CSeq: 1750 REGISTER
User-Agent: Asterisk PBX Max-Forwards: 70
Authorization: Digest username="

0000123456

", realm="

xxx.xxx.xxx.xxx

", algorithm=MD5, 

uri="sip: 

xxx.xxx.xxx.xxx

", nonce="3deff552", response="bace343abbe8362868dba84e58d7e056", opaque=""

Expires: 120
Contact: <sip: 

0000123456

@

000.000.000.000

> Event: registration

Contact: <sip: 

0000123456

@

000.000.000.000

> Event: registration

Content-Length: 0

4.1.5    GUEST → PBX

SIP/2.0 100 Trying
Via:SIP/2.0/UDP 

000.000.000.000

:5060;branch=z9hG4bK1db71efa;received=

000.000.000.000

;rport=5060 

Via:SIP/2.0/UDP 

000.000.000.000

:5060;branch=z9hG4bK1db71efa;received=

000.000.000.000

;rport=5060 

From: <sip: 

0000123456

@

xxx.xxx.xxx.xxx 

>;tag=as2031f6e2

To: <sip: 

0000123456

@

xxx.xxx.xxx.xxx 

>

Call-ID: [email protected] CSeq: 1750 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip: 

0000123456

@

xxx.xxx.xxx.xxx 

>

Contact: <sip: 

0000123456

@

xxx.xxx.xxx.xxx 

>

Content-Length: 0

4.1.6   GUEST → PBX

SIP/2.0 200 OK

SIP/2.0 200 OK
Via: SIP/2.0/UDP 

000.000.000.000

:5060;branch=z9hG4bK1db71efa;received=

000.000.000.000

;rport=5060 

From: <sip: 

0000123456

@

xxx.xxx.xxx.xxx 

>;tag=as2031f6e2

To: <sip: 

0000123456

@

xxx.xxx.xxx.xxx 

>;tag=as245298a3 

Call-ID: [email protected]
CSeq: 1750 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces

Supported: replaces
Expires: 120
Contact: <sip: 

0000123456

@

000.000.000.000

>;expires=120 

Date: Mon, 05 Jul 2010 04:20:13 GMT
Content-Length: 0

28

Summary of Contents for Trunk 2

Page 1: ...SIP Trunk 2 IP PBX User Guide Asterisk Ver1 1 1 2017 11 21...

Page 2: ...Index 1 SIP Trunk 2 Overview 3 2 Purchase Settings in Web Portal 5 3 Configuration Example of your IP PBX 12 4 Technical Data 24 2...

Page 3: ...P Address and Password CPS Call Per Second has been significantly improved from normal SIP trunk Our Cloud PBX Recording Option is currently not supported by SIP trunk 2 If you need the recording opti...

Page 4: ...prefix 0120 0800 and 0570 you should set its background number showing in Phone Number List of the web portal ex A number enclosed in parentheses is its background number number 0120 03 Customers who...

Page 5: ...xx Caller ID must be set From header for outgoing call See section 4 Technical Data for more details Your IP PBX 0000 0000 0000 0000 Ext 200 Ext 201 DID 0312123434 DID 0312345678 Ext 200 Ext 201 Image...

Page 6: ...r more simultaneous external calls Buy additional SIP trunk channel for 2 or more simultaneous external calls SIP Trunk 2 Purchase Screen Select Purchase at the top menu and choose Purchase Unique in...

Page 7: ...runk Phone Number Purchase Screen Phone Number Purchase Screen Select Purchase at the top menu and choose Purchase Phone Number in Circle Management Page Purchase Phone Number in Circle Management Pag...

Page 8: ...lect SIP Trunk List to open all your SIP trunk account Select the icon under Detail for detailed settings of SIP Trunk See next page Your unique is used as client user ID of your user PBX end Your uni...

Page 9: ...d In case you use Free Call or Navi Dial number please designate format of incoming number configured on your SIP server Checked Please configure 0ABJ number Unchecked Please configure Free Call or Na...

Page 10: ...l if ticked If unticked it will work only for outgoing calls In case you use Free Call or Navi Dial number please designate format of incoming number configured on your SIP server Checked Please confi...

Page 11: ...IP address a port number of your IP PBX You can add multiple IP addresses ports from Insert button In case you use Free Call or Navi Dial number please designate format of incoming number configured o...

Page 12: ...r outbound call 1 This would mean that the selected unique will have Allowed Outbound Calls 4 Allowed Inbound Calls 3 If Multiple call count 4 If Channel reservation for outbound call 4 This would mea...

Page 13: ...nbound channel reservation Using both outbound and inbound channel reservation If Multiple call count 4 If Channel reservation for outbound call 3 If Channel reservation for inbound call 1 This would...

Page 14: ...tal Select phone number s you desire to assign to SIP Trunk 2 Phone Number List Phone Number List Click Phone Number List to open your Phone Number List Select SIP Trunk 2 unique for phone number s yo...

Page 15: ...is to be called with CallerID 0312123434 sip conf for either password or IP address with password authentication sip conf for either password or IP address with password authentication general allowgu...

Page 16: ...or IP address with password authentication 200 200 type friend username 200 secret 200pass host dynamic context outbound 1 201 201 type friend username 201 secret 201pass host dynamic context outbound...

Page 17: ...low all allow ulaw qualify yes nat yes please add nat force_rport comedia instead of nat yes in case your asterisk is above ver 11 peer1 type friend type friend context inbound Host xxx xxx xxx xxx na...

Page 18: ...Dial SIP EXTEN siptr 120 T exten _0 3 Congestion exten _0 3 Congestion exten _0 104 Busy exten _1 1 Set CALLERID num 0312345678 exten _1 2 Dial SIP EXTEN siptr 120 T exten _1 3 Congestion exten _1 10...

Page 19: ...ALLERID num 0312123434 exten _1 2 Dial SIP EXTEN siptr 120 T exten _1 3 Congestion exten _1 104 Busy prefix 1xx is for special external phone numbers such as 117 177 and so on prefix 1xx is for specia...

Page 20: ...2 Group Extensions 301 302 Phone Numbers 03 1212 3434 sip conf for either password or IP address with password authentication general allowguest no maxexpirey 3600 defaultexpirey 3600 context extd po...

Page 21: ...secret password host dynamic 202 type friend context group1_outbound username 202 secret password host dynamic Group 2 301 type friend context group2_outbound username 301 secret password secret passw...

Page 22: ...te no host xxx xxx xxx xxx insecure port invite insecure port invite disallow all allow ulaw qualify yes nat yes please add nat force_rport comedia instead of nat yes in case your asterisk is above ve...

Page 23: ...1_outbound username 201 secret password host dynamic 202 202 type friend context group1_outbound username 202 secret password host dynamic Group 2 301 type friend context group2_outbound username 301...

Page 24: ...8 6 Dial SIP 201 SIP 202 120 exten 0312345678 6 Dial SIP 201 SIP 202 120 exten 0312345678 7 Congestion exten 0312345678 106 Busy Group 2 exten 0312123434 1 NoOp EXTEN EXTEN exten 0312123434 2 Set GROU...

Page 25: ...3456 120 exten _1 8 Congestion exten _0 106 Busy exten _ XXX 1 Dial SIP EXTEN 120 T exten _ XXX 2 Congestion exten _ XXX 102 Busy Group 2 Group 2 group2_outbound exten _0 1 Set CALLERID num 0312123434...

Page 26: ...x tag as04bc6a95 To sip 0000123456 xxx xxx xxx xxx tag as245298a3 Call ID 34d61b985ef9d9c12d819a9c5549471f 127 0 0 1 3 REGISTER with credential information From sip 0000123456 xxx xxx xxx xxx tag as20...

Page 27: ...xx xxx tag as04bc6a95 To sip 0000123456 xxx xxx xxx xxx Call ID 34d61b985ef9d9c12d819a9c5549471f 127 0 0 1 CSeq 1749 REGISTER User Agent Asterisk PBX Allow INVITE ACK CANCEL OPTIONS BYE REFER SUBSCRIB...

Page 28: ...rport 5060 Via SIP 2 0 UDP 000 000 000 000 5060 branch z9hG4bK1db71efa received 000 000 000 000 rport 5060 From sip 0000123456 xxx xxx xxx xxx tag as2031f6e2 To sip 0000123456 xxx xxx xxx xxx Call ID...

Page 29: ...000 000 000 000 tag as5dd4eaee To sip 080AAAAXXXX xxx xxx xxx xxx Call ID 6426c31c421e503b72515b46569f2ee0 xxx xxx xxx xxx 3 4 180 Ringing From aiueo PBX sip 0312123434 000 000 000 000 tag as5dd4eaee...

Page 30: ...2 IN IP4 000 000 000 000 s session c IN IP4 000 000 000 000 t 0 0 m audio 18572 RTP AVP 0 8 3 101 m audio 18572 RTP AVP 0 8 3 101 a rtpmap 0 PCMU 8000 a rtpmap 8 PCMA 8000 a rtpmap 3 GSM 8000 a rtpmap...

Page 31: ...d4eaee To sip 080AAAAXXXX xxx xxx xxx xxx To sip 080AAAAXXXX xxx xxx xxx xxx Contact sip 0312123434 000 000 000 000 Call ID 6426c31c421e503b72515b46569f2ee0 xxx xxx xxx xxx CSeq 103 INVITE User Agent...

Page 32: ...s Contact sip 080AAAAXXXX xxx xxx xxx xxx Contact sip 080AAAAXXXX xxx xxx xxx xxx Content Length 0 4 2 6 GUEST PBX SIP 2 0 180 Ringing Via SIP 2 0 UDP 000 000 000 000 5060 branch z9hG4bK4fc267d7 recei...

Page 33: ...s54380085 Call ID 6426c31c421e503b72515b46569f2ee0 xxx xxx xxx xxx CSeq 103 INVITE User Agent Asterisk PBX Allow INVITE ACK CANCEL OPTIONS BYE REFER SUBSCRIBE NOTIFY Supported replaces Supported repla...

Page 34: ...t Type application sdp Content Length 242 v 0 o root 4414 4415 IN IP4 xxx xxx xxx xxx s session c IN IP4 xxx xxx xxx xxx c IN IP4 xxx xxx xxx xxx t 0 0 m audio 18922 RTP AVP 0 101 a rtpmap 0 PCMU 8000...

Page 35: ...ent Asterisk PBX Max Forwards 70 Content Length 0 4 2 11 PBX GUEST SIP 2 0 200 OK Via SIP 2 0 UDP xxx xxx xxx xxx 5060 branch z9hG4bK166bf514 received xxx xxx xxx xxx rport 5060 From sip 080AAAAXXXX x...

Page 36: ...ca90 Call ID 1443bb69616709ff719769cc61d28ce0 xxx xxx xxx xxx INVITE with authentication information From aiueo PBX sip 0312123434 000 000 000 000 tag as48ac6d56 4 5 From aiueo PBX sip 0312123434 000...

Page 37: ...oot 22702 22702 IN IP4 000 000 000 000 s session c IN IP4 000 000 000 000 t 0 0 m audio 14646 RTP AVP 0 8 3 101 m audio 14646 RTP AVP 0 8 3 101 a rtpmap 0 PCMU 8000 a rtpmap 8 PCMA 8000 a rtpmap 3 GSM...

Page 38: ...xxx xxx xxx xxx To sip 080AAAAXXXX xxx xxx xxx xxx Contact sip 0312123434 000 000 000 000 Call ID 1443bb69616709ff719769cc61d28ce0 xxx xxx xxx xxx CSeq 103 INVITE User Agent Asterisk PBX Max Forwards...

Page 39: ...5060 branch z9hG4bK1c6e5fcc received 000 000 000 000 rport 5060 From aiueo PBX sip 0312123434 000 000 000 000 tag as48ac6d56 From aiueo PBX sip 0312123434 000 000 000 000 tag as48ac6d56 To sip 080AAAA...

Page 40: ...0e49cf2141339f0007e5ce47d80dd1 xxx xxx xxx xxx IP address of SIP Trunk 2 server 3 200 OK From 080AAAAXXXX sip 080AAAAXXXX xxx xxx xxx xxx tag as1dddca7a To sip 0312345678 000 000 000 000 tag as577af7c...

Page 41: ...0008 X Asterisk Guest Uniqueid 1278049293 36 Alert info 0312345678 Content Type application sdp Content Length 242 v 0 v 0 o root 4414 4414 IN IP4 xxx xxx xxx xxx s session c IN IP4 xxx xxx xxx xxx t...

Page 42: ...sip 0312345678 000 000 000 000 Content Type application sdp Content Length 220 v 0 o root 22702 22702 IN IP4 000 000 000 000 s session c IN IP4 000 000 000 000 t 0 0 t 0 0 m audio 18182 RTP AVP 0 101...

Page 43: ...Agent Asterisk PBX Max Forwards 70 Content Length 0 4 4 6 GUEST PBX SIP 2 0 200 OK Via SIP 2 0 UDP 000 000 000 000 5060 branch z9hG4bK5b3130a7 received 000 000 000 000 rport 5060 From sip 0312345678 0...

Page 44: ...f474d958b0 xxx xxx xxx xxx 100 Trying From 080AAAAXXXX sip 080AAAAXXXX xxx xxx xxx xxx tag as0f1a5f0c To sip 0312345678 000 000 000 000 Call ID 1aa4d60711e0817d731834f474d958b0 xxx xxx xxx xxx 3 486 B...

Page 45: ...est Uniqueid 1278642466 508 Alert info 0312345678 Content Type application sdp Content Length 242 v 0 o root 4414 4414 IN IP4 xxx xxx xxx xxx s session c IN IP4 xxx xxx xxx xxx t 0 0 m audio 10408 RTP...

Page 46: ...xx xxx CSeq 102 INVITE Contact sip 0312345678 000 000 000 000 Content Length 0 4 5 4 GUEST PBX Transmitting NAT to GUEST ACK sip 0312345678 xxx xxx xxx xxx SIP 2 0 Via SIP 2 0 UDP xxx xxx xxx xxx 5060...

Reviews:

Related manuals for Trunk 2