Cisco trunk

kpatel
Posts: 12
Member Since:
2010-08-23

Hi,
Please help me with trunk setup.
I have setup trunk with trixbox ce 2.6 to cisco, where cisco router is connected to legacy pbx through t1 card, and its working fine one way.
But I have the same configuration on CE 2.8 and its not working somehow.
Here is my Trunk config, please shed some light here. Thanks,

context=from-internal
host=1.1.1.1
insecure=port
secret=cisco
type=friend
user=cisco
username=cisco

i have also tried the following with no success.

allow=g729&alaw&ulaw
context=from-internal
host=1.1.1.1
insecure=port
nat=no
secret=cisco
type=friend
username=cisco



SkykingOH
Posts: 9541
Member Since:
2007-12-17
You need to run a SIP debug

You need to run a SIP debug on either box (it's debug ccsip calls on the Cisco)

I bet it's a CODEC issue.

If the IP of the Cisco is fixed why do you need secret and usernames in the peer?

--

Scott

aka "Skyking"



kpatel
Posts: 12
Member Since:
2010-08-23
You bet....

Thanks for your reply and yes you are right, it seems to be a CODEC issue.
Here are the output from debug. please suggest.

Apr 3 16:53:11.244: The Call Setup Information is :
Call Control Block (CCB) : 0x83A404C4
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 500
Called Number : 851
Number of Media Streams : 2

Apr 3 16:53:11.244: Media Stream 1
Negotiated Codec : g729r8
Negotiated Codec Bytes : 0
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 0.0.0.0
Source IP Port (Media): 0
Destn IP Address (Media): 0.0.0.0
Destn IP Port (Media): 17892

Apr 3 16:53:11.244: Orig Destn IP Address:Port (Media): 0.0.0.0:0

Apr 3 16:53:11.244: Media Stream 2
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 0.0.0.0
Source IP Port (Media): 0
Destn IP Address (Media): 0.0.0.0
Destn IP Port (Media): 0

Apr 3 16:53:11.244: Orig Destn IP Address:Port (Media): 0.0.0.0:0

Apr 3 16:53:11.244:
Source IP Address (Sig ): 192.32.200.200
Destn SIP Req Addr:Port : 192.32.200.146:0
Destn SIP Resp Addr:Port : 192.32.200.146:5060
Destination Name : 192.32.200.146

Apr 3 16:53:11.248:
Disconnect Cause (CC) : 16
Disconnect Cause (SIP) : 200

Apr 3 16:53:11.324: The Call Setup Information is :
Call Control Block (CCB) : 0x83A41430
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 500
Called Number : 851
Number of Media Streams : 2

Apr 3 16:53:11.324: Media Stream 1
Negotiated Codec : g729r8
Negotiated Codec Bytes : 0
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 0.0.0.0
Source IP Port (Media): 0
Destn IP Address (Media): 0.0.0.0
Destn IP Port (Media): 12864

Apr 3 16:53:11.324: Orig Destn IP Address:Port (Media): 0.0.0.0:0

Apr 3 16:53:11.324: Media Stream 2
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 0.0.0.0
Source IP Port (Media): 0
Destn IP Address (Media): 0.0.0.0
Destn IP Port (Media): 0

Apr 3 16:53:11.328: Orig Destn IP Address:Port (Media): 0.0.0.0:0

Apr 3 16:53:11.328:
Source IP Address (Sig ): 192.32.200.200
Destn SIP Req Addr:Port : 192.32.200.146:0
Destn SIP Resp Addr:Port : 192.32.200.146:5060
Destination Name : 192.32.200.146

Apr 3 16:53:11.328:
Disconnect Cause (CC) : 16
Disconnect Cause (SIP) : 200

-------

Apr 3 16:53:11.244: The Call Setup Information is :
Call Control Block (CCB) : 0x83A404C4
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 500
Called Number : 851
Number of Media Streams : 2

Apr 3 16:53:11.244: Media Stream 1
Negotiated Codec : g729r8
Negotiated Codec Bytes : 0
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 0.0.0.0
Source IP Port (Media): 0
Destn IP Address (Media): 0.0.0.0
Destn IP Port (Media): 17892

Apr 3 16:53:11.244: Orig Destn IP Address:Port (Media): 0.0.0.0:0

Apr 3 16:53:11.244: Media Stream 2
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 0.0.0.0
Source IP Port (Media): 0
Destn IP Address (Media): 0.0.0.0
Destn IP Port (Media): 0

Apr 3 16:53:11.244: Orig Destn IP Address:Port (Media): 0.0.0.0:0

Apr 3 16:53:11.244:
Source IP Address (Sig ): 192.32.200.200
Destn SIP Req Addr:Port : 192.32.200.146:0
Destn SIP Resp Addr:Port : 192.32.200.146:5060
Destination Name : 192.32.200.146

Apr 3 16:53:11.248:
Disconnect Cause (CC) : 16
Disconnect Cause (SIP) : 200

Apr 3 16:53:11.324: The Call Setup Information is :
Call Control Block (CCB) : 0x83A41430
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 500
Called Number : 851
Number of Media Streams : 2

Apr 3 16:53:11.324: Media Stream 1
Negotiated Codec : g729r8
Negotiated Codec Bytes : 0
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 0.0.0.0
Source IP Port (Media): 0
Destn IP Address (Media): 0.0.0.0
Destn IP Port (Media): 12864

Apr 3 16:53:11.324: Orig Destn IP Address:Port (Media): 0.0.0.0:0

Apr 3 16:53:11.324: Media Stream 2
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 0.0.0.0
Source IP Port (Media): 0
Destn IP Address (Media): 0.0.0.0
Destn IP Port (Media): 0

Apr 3 16:53:11.328: Orig Destn IP Address:Port (Media): 0.0.0.0:0

Apr 3 16:53:11.328:
Source IP Address (Sig ): 192.32.200.200
Destn SIP Req Addr:Port : 192.32.200.146:0
Destn SIP Resp Addr:Port : 192.32.200.146:5060
Destination Name : 192.32.200.146

Apr 3 16:53:11.328:
Disconnect Cause (CC) : 16
Disconnect Cause (SIP) : 200

Following is the debug output for Media Stream for another working trixbox.
Apr 3 17:13:50.776: Media Stream 1
Negotiated Codec : g729r8
Negotiated Codec Bytes : 20
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 192.32.200.200
Source IP Port (Media): 16882
Destn IP Address (Media): 192.32.200.145
Destn IP Port (Media): 15924



kpatel
Posts: 12
Member Since:
2010-08-23
Got it working...

Scott,
Thank you for your direction. I got it working now, the problem was with the codec, I was using ast14 on a new trixbox instead of ast16.

Thanks a lot for your help..



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Glad you got it working

Scott

aka "Skyking"

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.