General Category > Yate users hangout place

Unable to connect yate to SIP server (Grandstream ucm6208)

(1/2) > >>

anindya:
Hello,
 
 I am trying to connect yate NiPC to grandstream IP PBX (Asterisk based) . I am getting 404 error. I have attached the pcap file in this post .. please take a look guys, I want to make outbound and inbound calls. I just have one more queiry i.e what must be the username and password for sip configuration in yatebts. Maybe I am doing this wrong so please tell me if this will be the username and password of the sip server or not.

Thanks
Anindya

Monica Tepelus:
Hi.

Did you configure the NiPC  Outbound connection? Please check the status of the registration:
Telnet to yate console and type "status accfile". If outbound connection is up you shoud see: outbound=set_username in below line

yate-sdr@ybts-UNCONFIG> status accfile
name=accfile,type=misc;users=2;outbound=1291121

anindya:
Hello, 

 I have made some progress from this but not completely successful ... Yes I did get the trunk registered in peer as well as registered mode but the problem is I am unable to set routes from inside the Yate network to the PBX server.

    I have edited the regexroute.conf file to enter  a route (which might be wrong)

^.*$=sip/sip:\910501664@192.168.2.1:5060

910501664 is the local Yate number from which I am trying to call to the PBX numbers .. Calls from the PBX to the Yate numbers is successful.. Please help me with this.

Thanks
Anindya

Monica Tepelus:
If the Outbound connection is up, then all calls that can't be routed inside the network (defined subscribers phone numbers - msisdns  or their short numbers) will be routed to the outbound connection.

The regexroute is wrong. You should not need to define anything in regexroute to get calls to go to the outbound connection.

Can you post a log with "sniffer on" and "debug sip level 9" from telnet?
http://docs.yate.ro/wiki/Debugging_and,_or_Investigation_of_messages

anindya:
Actually, I am not using defined users. I am using  " .* "  in the regex to allow users to connect to the box and they automatically get numbers assigned to them. Can you please tell me how do I define the outbound rule if should not use the regexroute. Moreover, I am getting 405 "METHOD NOT ALLOWED"  errors.

Navigation

[0] Message Index

[#] Next page

Go to full version