Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
About Codec
Author Message
LeeFrederick
Brekeke Member


Joined: 07 Mar 2011
Posts: 23

PostPosted: Mon Nov 04, 2013 2:25 am    Post subject: About Codec Reply with quote

1. Brekeke Product Name and Version:
Version 3.2.4.3 Standard
Version 2.4.7.3 Standard

2. Java version:6

3. OS type and the version:win2003

4. UA (phone), gateway or other hardware/software involved:yealink

5. Your problem:
I have two sip servers, Server A's version is 2.4.7.3,Server B's version is 3.2.4.3.

I add the dailplan in Server A:
Matching Patterns
$request = ^INVITE
To = sip:(1[0-9]{10})@
$geturi(From) = (.+)

Deploy Patterns
From = "%1"<%2>
To = sip:%1@192.168.66.30:5060

All phones register to Server A.And 192.168.66.30 is server B's ip address.

And I add the dailplan in Server B:
Matching Patterns
$request = ^INVITE
To = sip:(139[0-9]{8})@
$geturi(From) = (.+)

Deploy Patterns
$auth = false
&net.rtp.audio.payloadtype = 18
From = "%1"<%2>
To = sip:%1@192.168.2.10:2080

192.168.2.10 is a gateway of E1's ip address.And Server B' B2B-UA mode is on.

Most of time the call can reach the gateway and dail out.But about 10% calls can not call out.At this time,I view the Active Sessions and see the session's detail,I found under these circumstances the payload's values is empty,and in the log,the failure call's error code is 500 or 617 or 603.How do I change the setting?

Thanks you!
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Mon Nov 04, 2013 11:25 am    Post subject: Reply with quote

> &net.rtp.audio.payloadtype = 18

Do you know what it means?
The payload type 18 means G729.

Both UA support G729 audio codec?
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Mon Nov 04, 2013 2:13 pm    Post subject: Reply with quote

Which gateway product are you using??

If the caller (UAC) or callee (UAS) does't support G729, a call will not be established.

Use WireShark to check who sent an error response such as 500, 617 and 603.
Back to top
View user's profile
LeeFrederick
Brekeke Member


Joined: 07 Mar 2011
Posts: 23

PostPosted: Mon Nov 04, 2013 4:32 pm    Post subject: Reply with quote

janP wrote:
> &net.rtp.audio.payloadtype = 18

Do you know what it means?
The payload type 18 means G729.

Both UA support G729 audio codec?


Thank for your reply.
I didn't add &net.rtp.audio.payloadtype = 18 at first,But when 617 error appears,I try to add it.
Both UA support G729,if not,all calls will fail,But now only 10% calls fail,and I have checked the concurrent number of G729 of the gateway,It's enough.
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Mon Nov 04, 2013 5:21 pm    Post subject: Reply with quote

Which gateway product is it?
Back to top
View user's profile
LeeFrederick
Brekeke Member


Joined: 07 Mar 2011
Posts: 23

PostPosted: Mon Nov 04, 2013 7:23 pm    Post subject: Reply with quote

janP wrote:
Which gateway product are you using??

If the caller (UAC) or callee (UAS) does't support G729, a call will not be established.

Use WireShark to check who sent an error response such as 500, 617 and 603.


The codec error message is sent from gateway.
Back to top
View user's profile
LeeFrederick
Brekeke Member


Joined: 07 Mar 2011
Posts: 23

PostPosted: Mon Nov 04, 2013 7:37 pm    Post subject: Reply with quote

janP wrote:
Which gateway product is it?

a 8 E1 gateway, ALLYWLL ETG3008
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Mon Nov 04, 2013 8:14 pm    Post subject: Reply with quote

> The codec error message is sent from gateway.

It will be the gateway's issue.
Contact the gateway's manufacturer.
Back to top
View user's profile
LeeFrederick
Brekeke Member


Joined: 07 Mar 2011
Posts: 23

PostPosted: Tue Nov 05, 2013 5:52 am    Post subject: Reply with quote

janP wrote:
> The codec error message is sent from gateway.

It will be the gateway's issue.
Contact the gateway's manufacturer.


Thanks for your reply Very Happy ,I will contact the manufacturer.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1