LinuxMCE Forums

General => Developers => Topic started by: felpouse on October 17, 2009, 08:15:40 pm

Title: New VoIP SIP Provider added
Post by: felpouse on October 17, 2009, 08:15:40 pm
Dear all,

I would like to tell all, that following the wiki page "How to properly add support for SIP providers", now I have a new Voip Provider in the list using the web admin pages.

This VoIP Provider can give you the possibility to call and receive with sip protocols and also give you a real phone number for Italy to receive phone calls from the rest of the phone systems.

I have compiled the provider_list.txt and create a new .pl script from one of the other.
During my procedures to test all, I found to little bugs also in the create_pluto_dialplan.pl script that is called during the web procedure.

What is the correct procedure to give all the files corrected or added to the devel staff for an improvement to the next updates ?

Best regards

Luke
Title: Re: New VoIP SIP Provider added
Post by: tschak909 on October 17, 2009, 08:34:21 pm
Thank you so much, Luke.

Create a bug in trac, and attach the output of svn diff to it, so we can apply it as a patch.

If you modified these files in your existing installation, do a checkout of the source tree, copy the files into their appropriate places on the source tree, and run svn diff from the top of it.

We need it done this way, specifically, so we can keep track of precisely what changed.

Again, Thank you.

-Thom
Title: Re: New VoIP SIP Provider added
Post by: felpouse on October 17, 2009, 08:46:43 pm
Hi Thom,

thanks for your appreciation.
Actually I'm completed new to all the part of svn diffing and so on. If it possible to you to give me some info about it could be great. I'm reachable also on the chat.

If not the only possible solution in an immediate time is create a track and append a zip file.

Let me know.

BS

Luke

P.S. : I would like to start in understanding all the SQLcvs process, and then I can contribute using it. With my little possibility. I'm not a developer.  :-\
Title: Re: New VoIP SIP Provider added
Post by: tschak909 on October 17, 2009, 10:21:50 pm
as root, use sudo -i

Code: [Select]
apt-get install subversion
mkdir -p /home/src
cd /home/src
svn checkout http://svn.linuxmce.org/svn/branches/LinuxMCE-0810

find the relevant files in the tree downloaded. replace them with your new ones.

then...

Code: [Select]
cd /home/src
svn diff >give_a_descriptive_name_for_the_patch.diff

upload the resulting diff.

-Thom
Title: Re: New VoIP SIP Provider added
Post by: felpouse on October 18, 2009, 12:37:44 am
Hi Thom,

thanks for your explanation. I hope to have do it in a corect way, but this the first time.

I had also created two ticket on the svn, both with the correction of the files (.diff) post your support  8) :

http://svn.linuxmce.org/trac.cgi/ticket/373

http://svn.linuxmce.org/trac.cgi/ticket/374

One for the new script and the other for the correction of the pluto dialplan .

Hoping to continue in study svn "world" , that's it .

Best regards

Luke
Title: Re: New VoIP SIP Provider added
Post by: rages on October 19, 2009, 12:59:18 pm
Hello Luke,
if you want to implement even Eutelia as VoIP provider can give you a hand.
You come to visit us in the Italian community (www.linuxmce-it.com), I have already written a mini wiki on how to run Eutelia by FreePBX.

Emanuele
Title: Re: New VoIP SIP Provider added
Post by: tschak909 on October 19, 2009, 02:15:19 pm
rages, please try to add VOIP providers properly, nobody should ever touch FreePBX.

-Thom
Title: Re: New VoIP SIP Provider added
Post by: felpouse on October 19, 2009, 07:31:31 pm
Hi Emanuele,

I've already saw your mini wiki about Eutelia. With Messagenet was less difficult because is a free service.
I don't know about Eutelia service. But could be possible to try and add it to the VoIP list.

Regards

Luke
Title: Re: New VoIP SIP Provider added
Post by: felpouse on October 19, 2009, 07:36:04 pm
Hi Thom, your suggestion is completely correct.

Infact my messagenet addiction was based on one of the actually present scripts starting from another VoIP service provider.

Did you saw my not completely perfect tickets creation about the VoIP addiction ?

Regards

Luke

P.S. : if you want I can send you, for only this time, the files in another format. Tell me  ;)
Title: Re: New VoIP SIP Provider added
Post by: rages on October 19, 2009, 08:24:23 pm
   
hi,
 I modified the felpouse script for use with  Eutelia, this is a first version, I do not know if it works.
I do not know if I understood how it works 100%

Tomorrow I'll try with better, in the meantime if someone can give us a review.

I create a new ticket http://svn.linuxmce.org/trac.cgi/ticket/381

Emanuele
Title: Re: New VoIP SIP Provider added
Post by: rages on October 24, 2009, 08:52:31 pm
Hi,
my script don't work  :-\

but I don't understand where is the error ... anyone can give me some help?

Emanuele
Title: Re: New VoIP SIP Provider added
Post by: felpouse on October 25, 2009, 08:14:11 pm
Hi Emanuele,

I have checked your script, but I think the problem is related to the outbound rule that is created using the script perl at line 174,  $LOCAL_PREFIX1 .

If you used my script for Messagenet, you had to change and adeguate to Eutelia outgoing rules necessity.

Best regards

Luke

P.S. : this is the only think I had noted , but I don't have an account to debug. U can try it and let us know whats going.....  ::)
Title: Re: New VoIP SIP Provider added
Post by: felpouse on October 26, 2009, 01:21:51 pm
Hi Emanuele,

I forgot to tell you to check also this ticket on the svn web site :

http://trac.linuxmce.org/trac.cgi/attachment/ticket/374/pluto_dialplan.diff

I had to correct two syntax error on that script because when I complete all the data web form and submit it nothing happens ?

Regards,

Luke
Title: Re: New VoIP SIP Provider added
Post by: dlewis on October 26, 2009, 05:07:55 pm
felpouse, since this seems to be a fix, this can be added to the next beta build. I've asked Thom to commit this later today. Please add this ticket to the beta2 site:

http://wiki.linuxmce.org/index.php/LinuxMCE-0810_beta

Under the "After beta2..." section.
Title: Re: New VoIP SIP Provider added
Post by: felpouse on October 27, 2009, 07:23:32 pm
Hi all,

I've added the references about the fixing.
Thanks also to Thom, I had noticed the modification on the svn.

Best regards to all.

Luke
Title: Re: New VoIP SIP Provider added
Post by: rages on October 27, 2009, 08:11:08 pm
Hi,

very good, how I can install this upgrade for testing my Eutelia script?


Emanuele
Title: Re: New VoIP SIP Provider added
Post by: felpouse on October 28, 2009, 08:34:10 am
Hi Emanuele,

for the moment you can check this track on the svn and correct by hand the related script :

http://svn.linuxmce.org/trac.cgi/changeset/22412

Or wait for the release of the new package updated.

Regards

Luke
Title: Re: New VoIP SIP Provider added
Post by: dlewis on October 28, 2009, 02:50:06 pm
We've committed this patch and it should be in the next beta (beta3).
Title: Re: New VoIP SIP Provider added
Post by: felpouse on October 28, 2009, 03:19:06 pm
Perfect !   ;)
Title: Re: New VoIP SIP Provider added
Post by: wierdbeard65 on October 28, 2009, 04:14:23 pm
We've committed this patch and it should be in the next beta (beta3).
Does that mean Beta2 is now out?
Title: Re: New VoIP SIP Provider added
Post by: dlewis on October 28, 2009, 04:37:00 pm
Not yet. We will announce beta2 soon.
Title: Re: New VoIP SIP Provider added
Post by: ladekribs on November 08, 2009, 12:31:46 pm
Hi all,

I modified the broadvoice script to work with my SIP provider bredband2telefoni (who sadly not seems to want to expand anymore).

I got outgoing to work, but incoming gets stuck with "the number you have dialed is not in service", and when i check inbound route,
I have the phone number in "DID Number" and set destination is set to "Custom APP:custom-linuxmce,102,1 witch looks right to me.

what did i miss to do?

Best Regards Stefan.
Title: New VoIP SIP Provider added
Post by: D.plaut on November 09, 2009, 12:49:40 pm
Just one tiny thing I would like to see added to the developers edition which would, for me, make life complete.  That is the ability to set groups transparency through the api.

Is it possible that this can be added?
Title: Re: New VoIP SIP Provider added
Post by: felpouse on December 06, 2009, 11:26:41 am
Hi all,

I would like to tell that the last release of 0810 beta2 with the Messagenet SIP provider integrated had a little bug in the perl script "create_amp_Messagenet.pl" , with the CR at the end of all the lines.

Please see the above ticket that I'd reopen to signal this, and uploaded the new one corrected I hope.

http://svn.linuxmce.org/trac.cgi/ticket/373

Sorry for the inconvenient  ;)

Best regards

Luke
Title: Re: New VoIP SIP Provider added
Post by: felpouse on December 07, 2009, 09:07:11 am
Hi all,

thanks to jdecker, the commitment is already active with the correction. See there :

http://svn.linuxmce.org/trac.cgi/changeset/22568

Regards

Like