Fix error in parsing SIP registry strings from ASTdb.
authorMark Michelson <mmichelson@digium.com>
Fri, 9 Jul 2010 20:58:52 +0000 (20:58 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 9 Jul 2010 20:58:52 +0000 (20:58 +0000)
commit7b1e28c6a138c68e0526ddfb86ee2b1c37354e01
tree57f9455e9d52b56120ff44044184edbec67cedd7
parent2fdf43f9fcd55fd9b309c6c361ef4ed13c6707e7
Fix error in parsing SIP registry strings from ASTdb.

It was essentially an off-by-one error. The easiest way
to fix this was to use the handy-dandy AST_NONSTANDARD_RAW_ARGS
macro to parse the pieces of the registration string out. Tested
and it works wonderfully.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@275385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c