SIP trunk between Cisco Call manager (CUCM) 7 and Trixbox

rc7200
Posts: 6
Member Since:
2008-11-06

Hi guys,

I see lot of posts related to CUCM to TB sip trunks. I tried those. but still no luck. i think this may be something to do with new Cisco call manager config. :-)

From the X-lite softphone which is registered with TB can make calls to Cisco end without any error. But when Cisco phone dials to the TB its getting fast busy.

my TB ix trixbox CE 2.6.2.2 .

TB ip - 192.168.1.4

CUCM - 192.168.1.201

this is my Trixbox Trunk setting.

[From_CUCM]
host=192.168.1.4
type=peer
context=from-internal
disallow=all
allow=ulaw
allow=alaw
nat=no
canreinvite=yes
qualify=yes

[To_CCUM]
host=192.168.1.201
type=peer
context=from-internal
disallow=all
allow=ulaw
allow=alaw
nat=no
canreinvite=yes
qualify=yes

=============================

from the CUCM to TB end and i have create new security sip trunk profile with UDP and i have apply that to the trunk.

here is the Sip Debug for the reference

===============================
Cisco phone ip - 192.168.1.3

X-lite phone ip - 192.168.1.2

===============================

Reliably Transmitting (no NAT) to 192.168.1.4:5060:
OPTIONS sip:192.168.1.4 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bK644ab17b;rport
From: "Unknown" ;tag=as1f9d4dde
To:
Contact:
Call-ID: 073241933d852ebf1f23dfa566e7549c@192.168.1.4
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 24 May 2009 17:28:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0

---


OPTIONS sip:192.168.1.4 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bK644ab17b;rport
From: "Unknown" ;tag=as1f9d4dde
To:
Contact:
Call-ID: 073241933d852ebf1f23dfa566e7549c@192.168.1.4
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Sun, 24 May 2009 17:28:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


--- (13 headers 0 lines) ---
Looking for s in from-sip-external (domain 192.168.1.4)


SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bK644ab17b;received=192.168.1.4;rport=5060
From: "Unknown" ;tag=as1f9d4dde
To: ;tag=as1f9d4dde
Call-ID: 073241933d852ebf1f23dfa566e7549c@192.168.1.4
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact:
Accept: application/sdp
Content-Length: 0


SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bK644ab17b;received=192.168.1.4;rport=5060
From: "Unknown" ;tag=as1f9d4dde
To: ;tag=as1f9d4dde
Call-ID: 073241933d852ebf1f23dfa566e7549c@192.168.1.4
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact:
Accept: application/sdp
Content-Length: 0


--- (12 headers 0 lines) ---
Really destroying SIP dialog '073241933d852ebf1f23dfa566e7549c@192.168.1.4' Method: OPTIONS

is it something to do with CUCM config. im really confuse about this sip:Unknown@192.168.1.4. why trixbox sending SIP msgs as unknown.

Please help me out. thanks guys



sblurton
Posts: 51
Member Since:
2006-07-03
Here is the link for UCM 6.1.3b

rc7200
Posts: 6
Member Since:
2008-11-06
it works yay !!! Now i can

it works yay !!!

Now i can make calls to X-lite clients that are registered with the trixbox from CUCM end. vise versa.

But i have a sip trunk with the service provider to trixbox. and from the CUCM i have add a route pattern to TB end.

But i cant make calls to the PSTN,

any idea......



SkykingOH
Posts: 9681
Member Since:
2007-12-17
What context is the trunk in

What context is the trunk in that is accepting the call?

Can you send us a short call trace and what happens when it is rejected?

--

Scott

aka "Skyking"



rc7200
Posts: 6
Member Since:
2008-11-06
Hi Scot.. Thanks for the

Hi Scot..

Thanks for the reply.

I have one sip trunk from TB to the service provider end. in that trunk there is no context defined. it just configured directing it to the remote peer. its having only the ip of the remote host and type = peer.

user context user details everything blank.

Cisco trunk is having the from-internal context.

One more thing PSTN calls are not getting rejected those are directly hitting to the IVR. that's the action that i have specified to any DID/CID incoming route.

this is the scenario

Cisco ip phone --> Call manager ------------------------------>TRIXBOX------------------------>SP SIP trunk

so when i dial pstn number it direct to the IVR.....its not putting my call to the SP sip trunk.

any idea guys ?



jleung
Posts: 6
Member Since:
2010-02-15
Hi was wondering how you

Hi was wondering how you fixed the fast busy issue for incoming. I checked out the link above and followed that config.. but I still can't get it to work.

Thanks.



Comment viewing options

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