Forum: SIP

Here is a forum space for Integration: SIP.

194. SIP instructions, end to end?

I found another SIP document.
https://dev.proptt2.com/servers-standard-sipgw1.html

I am sort of confused as to how to set up users and how to make a call

Is it possible to have more detailed instructions?


For example:
<accounts>
            <account>
                <id>6001</id>
                <password>12345678</password>   
            </account>
        </accounts>

Does 6001 need or not need to be in the regular user database?

I want to do a push to talk so that everybody on a channel hears me.

<call>
                <account>6001</account>
                <peer>6002</peer>
                <userId>user2@ourcompany.com</userId>   
                <channelId>2</channelId>    
                <lock>#</lock>
                <unlock>*</unlock>
                <lockDetect>sipinfo</lockDetect>
                <lockSend>sipinfo</lockSend>
            </call


What goes into this call parameter?

So basically, what I am asking. 
1. To register a user, what goes into the ProPTT2 GUI and what information goes into the XML file.
2. To make a call to a channel, rather than a user, what goes into the XML file to set that up?
3. Is the peer setup as a user in the ProPTT2 GUi?

As much detail as you can provide would be very much appreciated. 

I am really blocked.

Dec 1 '20 at 20:32 (GMT0) created by Mike

 
Dear Mike,

https://dev.proptt2.com/servers-standard-sipgw1.html
It is a hidden page. How can you find it?
It is not available.

1. To register a user, what goes into the ProPTT2 GUI and what information goes into the XML file.
2. To make a call to a channel, rather than a user, what goes into the XML file to set that up?
3. Is the peer setup as a user in the ProPTT2 GUi?
Please use https://dev.proptt2.com/servers-standard-sipgw.html

Thanks,
ProPTT2

Dec 2 '20 at 00:51 (GMT0) created by ProPTT2 dev

 
 
Both of These pages came up with a search for proptt2 and sip. 

https://dev.proptt2.com/servers-standard-sipgw.html
https://dev.proptt2.com/servers-standard-sipgw1.html

As far as sip goes:
I have only been able to successfully register a user when I have the
account information in the XML file, like below:
<accounts>
  <account>
     <id>6001</id>
  <password>12345678</password>   
  </account>
</accounts>

If I don't have this in the XML file, I can never get a successful registration.
What could I be doing wrong?

Could possibly you make a demonstration with this sip command-line tool??
https://github.com/guisousanunes/sipcmd2

As you might recall, we are trying to play audio from a Linux application.  The audio through the normal linux sdk is garbled and it was suggested that we try SIP.   I have not been able to get SIP to work. I am really needing help. Thank you.






Dec 2 '20 at 01:12 (GMT0) created by Mike

 
 
Please use https://dev.proptt2.com/servers-standard-sipgw.html
To add a SIP account, please refer to chapter 4.1
The adminWeb is a web interface of ProPTT2 server.
Unfortunatly we don't use the tool(sipcmd2).
Thanks,
ProPTT2

Dec 2 '20 at 06:46 (GMT0) created by ProPTT2 dev