[Asterisk-Users] Broadvoice Patch

Nihal nihal at claim.md
Tue Dec 21 19:04:43 MST 2004


I'm trying to get the Broadvoice patch to work, and hoped that someone else might be able to shed some light for me.

The patch appeared to go all fine, except when I turn on sip debug I see my asterisk server REGISTERing to broadvoice every 30seconds or so.
asterisk*CLI> sip debug

Reliably Transmitting:
REGISTER sip:sip.broadvoice.com SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=
...
Sip read:
SIP/2.0 200 OK
...

OK so here's what I did to install the patch. I downloaded a fresh copy of Asterisk from CVS.
Then I downloaded: http://edvina.net/broadvoice/broadvoicesip.txt

and I ran:
[root at asterisk asterisk]#  patch -i broadvoicesip.txt

It asked me:
can't find file to patch at input line 8
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: channels/chan_sip.c
|===================================================================
|RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
|retrieving revision 1.564
|diff -u -r1.564 chan_sip.c
|--- channels/chan_sip.c        14 Nov 2004 15:13:13 -0000      1.564
|+++ channels/chan_sip.c        14 Nov 2004 20:57:20 -0000
--------------------------
File to patch:_


And I typed:
channels/chan_sip.c

And it said, "YAY YOU'RE DONE"

Then I did a:
make clean;make install;


What did I do wrong?

Thanks for the help!



More information about the asterisk-users mailing list