Schahzad, Thanks for those logs.
I think the issue is that the IBCF node is not recognizing itself in the Route header (which reads "<sip:ibcf:5058;transport=TCP;lr>") and so it's doing what a proxy should, and forwarding on to "ibcf" - this turns out to be itself). The solution is to tell the IBCF node that "ibcf" is (one of) its names. The easiest way to do this is to set it in the public_hostname field in /etc/clearwater/config, i.e. "public_hostname=ibcf" - just on the IBCF node. Please can you try that, and let me know how you get on? Incidentally, your top-level Clearwater domain should normally resolve to bono. This allows clients to connect to the service (via bono) without needing any manual proxy configuration. See https://github.com/Metaswitch/clearwater-docs/wiki/Clearwater-DNS-Usage for more information. (Note that this shouldn't be causing any problems with your deployment - it might just make things simpler.) Thanks, Matt From: Schahzad Zafar [mailto:[email protected]] Sent: 07 April 2014 08:34 To: Matt Williams; [email protected] Subject: Fwd: [Clearwater] Sip truking Hi Matt, Thanks for respose, currently when i dial out from my local cleint connected to bono following is happening my local number is 6505550045<tel:6505550045> my outgoing number is 03219001131 ( on asterisk via sip trunk with ibcf) my sip trunk ip is 192.168.31.34 ibcf -----192.168.31.34 trunk ----> asterisk when i dial from sip client 03219001131 IBCF runs logs lot of logs like loop and sip client generate request timeout when i dial [email protected]<mailto:[email protected]> my remote sip client start ringing. at sprout my eneum.json is { "number_blocks" : [ { "name" : "Clearwater external number 03219001131", "prefix" : "03219001131", "regex" : "!(^.*$)!sip:\\[email protected]<mailto:[email protected]>!" }, { "name" : "Clearwater internal numbers", "prefix" : "650555", "regex" : "!(^.*$)!sip:\\[email protected]<mailto:[email protected]>!" }, { "name" : "Clearwater external number 0300", "prefix" : "0300", "regex" : "!(^.*$)!sip:\\[email protected]<mailto:[email protected]>!" }, { "name" : "Clearwater external number 0321", "prefix" : "0321", "regex" : "!(^.*$)!sip:\\[email protected]<mailto:[email protected]>!" } ] } My bgcf.json at sprout is { "routes" : [ { "name" : "outside net", "domain" : "192.168.31.34", "route" : ["ibcf:5058"] } ] } My IP Scheme 192.168.9.96 BONO 192.168.9.97 SPROUTE 192.168.9.94 IBCF SIP trunk 192.168.31.34 my clearwater domain is ef.net<http://ef.net> ( not sure to which node ef.net<http://ef.net> should resolve so currently its pointing to sproute) Please find attached IBCF call logs(tried to keep it a single call) ############################################################################################### Best Regards Schahzad On Sat, Apr 5, 2014 at 3:58 AM, Matt Williams <[email protected]<mailto:[email protected]>> wrote: No problem - thanks for signing up! Matt On 4 Apr 2014 23:07, Shahzad Zafar <[email protected]<mailto:[email protected]>> wrote: Hi Matt I have already sign up my qery main just send some minutes earlier i got confirmation mail from list admin sorry for that Sent from my iPad > On 05-Apr-2014, at 2:58 am, Matt Williams > <[email protected]<mailto:[email protected]>> wrote: > > Shazad, > > Please can you sign up to the mailing list at > http://lists.projectclearwater.org/listinfo/clearwater? Then you're > guaranteed to see any responses people send, and you'll also be able to see > if anyone asks any other questions that are relevant to what you're doing. > > (I'll reply to your questions on the mailing list itself.) > > Thanks! > > Matt > > -----Original Message----- > From: > [email protected]<mailto:[email protected]> > [mailto:[email protected]] On Behalf Of Shahzad > Zafar > Sent: 04 April 2014 22:25 > To: > [email protected]<mailto:[email protected]> > Subject: [Clearwater] Sip truking > > Hi every one > I am trying to setup sip trunk to external network. > > I have set up bgcf.json and enum ( via fix enum.json file)is doing fine. I > can dial from my external network to my bone clients, call land on ibcf and > reaches fine to bone sip clients. > > But when itry to call from my sip client to external clients i saw different > errors > > My understanding is call flow is below > > Sip client --> bono --> sproute ( enum lookup only required here)-->ibcf > where trunk is confiugred and other end shows trunk is active and reachable > When sproute send call to ibcf , ibcf show error that call received from > sproute on port 5060 which is not a trust port and forbidden message is > generated. > > During playing i changed bgcf.json at sproute to have ibcf as ibcf:5058. > Assuming it ll be trust port then ibcf started to throw huge logs like some > loop is happening. > > During list search i found --trusted-port switch to bono at ibcf node i tried > to add port 5060 to trust port but ibcf dont start then. > > My config is simple > I have 6550555* series at local net and 0234* numbers are at remote net via > sip trunk. > > Cann you please let me know config files of enum.json bgcf.json and what to > configure in ibcf. > > My user_setting at ibcf has one line of trusted peer = sip truk ip Best > regards > > Shahzad > _______________________________________________ > Clearwater mailing list > [email protected]<mailto:[email protected]> > http://lists.projectclearwater.org/listinfo/clearwater -- Best Regards Schahzad Z. Choudhry 0092 - 321 -9001131<tel:321%20-9001131> Never argue with an idiot, they will just drag you down to their level and beat you with experience.
_______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
