Koozali.org: home of the SME Server

CalledID with spaces stops SIP call but now AIX

jmatos

CalledID with spaces stops SIP call but now AIX
« on: July 17, 2007, 02:48:10 PM »
Hello,

I've found a strange behaviour in SME 7.1.3 with Selintra 2.1.15-483.
If I change an extension's callerid from say "5020" to "IT dep", the SIP calls from that extension to outside VOIP provider stops working. Inside calls still wok.

If I remove the space from the callerid to "ITdep" it works again to outside calls.

If I do the same test in an AIX extension it works both ways.

Any ideas?

Thx.

JM

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
CalledID with spaces stops SIP call but now AIX
« Reply #1 on: July 18, 2007, 12:33:44 PM »
Nope, but we will try to recreate it here.

What do you see on the logs o the failing call?

Best

S

jmatos

CalledID with spaces stops SIP call but now AIX
« Reply #2 on: July 18, 2007, 01:24:23 PM »
Hello,

I've added a space to the CallerID name and then executed asterisk -vvvr and I got:

...
-- SIP/3GNTW-OUT-L1-09050230 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
...

If I remove the space everything works.

By the way, is there a log file where I can get the same information without executing asterisk -vvvr ?

Thx.

JM[/img]

jmatos

CalledID with spaces stops SIP call but now AIX
« Reply #3 on: July 18, 2007, 01:59:28 PM »
Hello,

I think I may I've found the bug.
Check the end of this topic.
http://forums.contribs.org/index.php?topic=34375.msg148205#msg148205

Was this fixed for CalledID?

JM

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
CalledID with spaces stops SIP call but now AIX
« Reply #4 on: July 18, 2007, 02:44:26 PM »
Hello

Yes, you are quite correct.  I just ran a small test on one of our systems here and it is treating the space as a newline character.

I believed this had been fixed but clearly not within the SIP generator.

Thanks for your input, we will put this on the todo list for the next SAIL release.  In the meantime, don't use spaces.

Best

S