Skip to content

Fax over a SIP Trunk through a CUBE router

May 19, 2011

must be using G711 codec.
– Configure cube
– configure dial peer
– configure sip trunk
– configure route group, route list, route patter
– create a partition and assign it to the route pattern

voice service voip
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol pass-through g711ulaw
h323
sip
early-offer forced
midcall-signaling passthru
!
!
voice class codec 2
codec preference 1 g711ulaw
codec preference 2 g729r8

dial-peer voice 120 voip
description ** OUTBOUND FAX @ G7.11 **
translation-profile outgoing STRIP+1
destination-pattern 91[2-9]..[2-9]……$
voice-class codec 2
voice-class sip early-offer forced
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte sip-notify
no vad
!

voice translation-rule 1
rule 1 /^91/ /+1/
!
!
voice translation-profile STRIP+1
translate called 1

sip-ua
set pstn-cause 1 sip-status 604
set pstn-cause 102 sip-status 503
retry invite 2
retry bye 2
retry cancel 2
retry options 1
sip-server ipv4:XX.XX.XX.XX

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: