I know what this bug likely is. It is likely the directory scanning issue I fixed for 0.6.5. You could either use that, the latest cvs, or just launch your script by itself, as in "bayonne --trace sip ... siptest.scr"...

Alexandre BOULANGER wrote:
Hi David,


Thanks for your answer, it did the trick. Here's what I got after
Bayonne and my UA have registered:

bayonne:5070 --------------- linphone:5070
 =IP_A                        =IP_B
  +
partysip:5060


# strace /usr/local/lib/bayonne-0.6/bayonne.bin -trace
sip /root/scripts/test.scr

[...]
sip msgport starting
register sip:[EMAIL PROTECTED]:5070 as sip:[EMAIL PROTECTED] to sip:localhost
compiled test; 4 steps
apps scanning /etc/bayonne
sip driver started; 2 timeslot(s) used
sip: event 0001; cid=0, did=0, rid=1
[...]
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
rt_sigaction(SIGINT, {0x804dd00, [ALRM], SA_RESTART}, {0x804dd00,
[ALRM], SA_RESTART}, 8) = 0
rt_sigaction(SIGHUP, {0x804dd00, [ALRM], SA_RESTART}, {0x804dd00,
[ALRM], SA_RESTART}, 8) = 0
rt_sigaction(SIGTERM, {0x804dd00, [ALRM], SA_RESTART}, {0x804dd00,
[ALRM], SA_RESTART}, 8) = 0
rt_sigaction(SIGABRT, {0x804dd00, [ALRM], SA_RESTART}, {0x804dd00,
[ALRM], SA_RESTART}, 8) = 0
unlink("/var/run/bayonne/bayonne.ctrl") = 0
mknod("/var/run/bayonne/bayonne.ctrl", S_IFIFO|0770) = 0
open("/var/run/bayonne/bayonne.ctrl", O_RDWR) = 11
read(11, sip: event 0001; cid=0, did=0, rid=1
registration for sip:[EMAIL PROTECTED]:5070 confirmed
sip: event 000d; cid=1, did=2, rid=0
sip: invited sip:[EMAIL PROTECTED]:5070 from sip:[EMAIL PROTECTED]
sip: starting test on timeslot 0; connecting IP_A:5072 to IP_B:7078
sip/0: state=idle, event=200, seq=1
sip/0: state=pickup, event=100, seq=1
0xbffff8f0, 1)                 = ? ERESTARTSYS (To be restarted)
+++ killed by SIGSEGV +++
shell_prompt# libexec exiting; server lost


test.scr is just like:
        register.sip proxy=localhost uri=sip:[EMAIL PROTECTED]
        echo "HELLO"
        exit

^1
        echo "1"
        exit



Linphone is last version with libOSIP 2.2
I've used the most recent version of each component, maybe it's too much
bleeding edge?

I'll try tomorrow with earlier versions


begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Telephony
adr:;;;;;;USA
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
url:http://www.gnutelephony.org
version:2.1
end:vcard

_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel

Reply via email to