cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
zorper
New Contributor

Can I use the 3430 eSBC to change the codec of an outgoing INVITE based on the TN in the FROM header?

Jump to solution

I've got a PBX type that can't send different codec preferences based on individual telephone numbers.  This becomes a problem when I have to fax.  I want all other numbers on the PBX to INVITE with g729 first, but I want one or two fax numbers to INVITE with g711 only.  Can I do this with HMRs in the eSBC in the 3430?

adtran_control_codec_16dec14.png

0 Kudos
1 Solution

Accepted Solutions
Anonymous
Not applicable

Re: Can I use the 3430 eSBC to change the codec of an outgoing INVITE based on the TN in the FROM header?

Jump to solution

The best way to handle this would be with SABR for outbound calls from the PBX and then to have two trunks inbound to the PBX and do normal routing inbound.

So, something like this, using 256-555-1212 and 256-555-1213 as the FAX numbers...

voice codec-list G711

  codec g711ulaw

!

voice codec-list G729First

  codec g729

  codec g711ulaw

!

!

voice ani-list ALLANI

  ani $

!

voice ani-list FaxNumbers

  ani 2565551212

  ani 2565551213

!

!

voice trunk T01 type sip

  codec-list G729First both

!

voice trunk T02 type sip

  codec-list G711 both

!

voice trunk T11 type sip

  codec-list G729First both

!

voice trunk T12 type sip

  codec-list G711 both

!

!

voice grouped-trunk PROVIDER-NORMAL

  trunk T01

  accept NXX-NXX-XXXX cost 0

  accept 1-NXX-NXX-XXXX cost 0

  accept 011-$ cost 0

  accept 411 cost 0

  accept 611 cost 0

  accept 911 cost 0

  deny list FaxNumbers

  permit list ALLANI

  !deny all other trunks

  !deny all other ani

!

!

voice grouped-trunk PROVIDER-FAX

  trunk T02

  trunk T01

  accept NXX-NXX-XXXX cost 0

  accept 1-NXX-NXX-XXXX cost 0

  accept 011-$ cost 0

  accept 411 cost 0

  accept 611 cost 0

  accept 911 cost 0

  permit list FaxNumbers

  !deny all other trunks

  !deny all other ani

!

!

voice grouped-trunk PBX-NORMAL

  trunk T11

  accept $ cost 0

!

!

voice grouped-trunk PBX-FAX

  trunk T12

  accept 2565551212 cost 0

  accept 2565551213 cost 0

!

!

View solution in original post

0 Kudos
3 Replies
Anonymous
Not applicable

Re: Can I use the 3430 eSBC to change the codec of an outgoing INVITE based on the TN in the FROM header?

Jump to solution

The best way to handle this would be with SABR for outbound calls from the PBX and then to have two trunks inbound to the PBX and do normal routing inbound.

So, something like this, using 256-555-1212 and 256-555-1213 as the FAX numbers...

voice codec-list G711

  codec g711ulaw

!

voice codec-list G729First

  codec g729

  codec g711ulaw

!

!

voice ani-list ALLANI

  ani $

!

voice ani-list FaxNumbers

  ani 2565551212

  ani 2565551213

!

!

voice trunk T01 type sip

  codec-list G729First both

!

voice trunk T02 type sip

  codec-list G711 both

!

voice trunk T11 type sip

  codec-list G729First both

!

voice trunk T12 type sip

  codec-list G711 both

!

!

voice grouped-trunk PROVIDER-NORMAL

  trunk T01

  accept NXX-NXX-XXXX cost 0

  accept 1-NXX-NXX-XXXX cost 0

  accept 011-$ cost 0

  accept 411 cost 0

  accept 611 cost 0

  accept 911 cost 0

  deny list FaxNumbers

  permit list ALLANI

  !deny all other trunks

  !deny all other ani

!

!

voice grouped-trunk PROVIDER-FAX

  trunk T02

  trunk T01

  accept NXX-NXX-XXXX cost 0

  accept 1-NXX-NXX-XXXX cost 0

  accept 011-$ cost 0

  accept 411 cost 0

  accept 611 cost 0

  accept 911 cost 0

  permit list FaxNumbers

  !deny all other trunks

  !deny all other ani

!

!

voice grouped-trunk PBX-NORMAL

  trunk T11

  accept $ cost 0

!

!

voice grouped-trunk PBX-FAX

  trunk T12

  accept 2565551212 cost 0

  accept 2565551213 cost 0

!

!

0 Kudos
zorper
New Contributor

Re: Can I use the 3430 eSBC to change the codec of an outgoing INVITE based on the TN in the FROM header?

Jump to solution

Thanks Eric.  I'll give that a try.

zorper
New Contributor

Re: Can I use the 3430 eSBC to change the codec of an outgoing INVITE based on the TN in the FROM header?

Jump to solution

Note:  Eric and I determined that:

voice grouped-trunk PROVIDER-FAX

  trunk T02

  trunk T01

...

Should be:

voice grouped-trunk PROVIDER-FAX

  trunk T02

...