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:address@hidden:5070 as sip:address@hidden 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:address@hidden:5070 confirmed
sip: event 000d; cid=1, did=2, rid=0
sip: invited sip:address@hidden:5070 from sip:address@hidden
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:address@hidden
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