Asterisk core dump chan_sip.c

Home » Asterisk Users » Asterisk core dump chan_sip.c
Asterisk Users No Comments


I’m testing with asterisk and come across this:

Call from one extension to another with:

[macro-internal-call] ;ARG1=extension to call
exten => s,1,Set(TOCALL=${DB(SIP/${ARG1})})
exten => s,2,Dial(SIP/${TOCALL},60,tT)

As I had no entry in the asteriskdb, so the SIP uri was empty, and
asterisk core dumped with:
gdb output:
#0 0xb7c7db33 in strchr () from /lib/

Maybe someone can reproduce that behaviour.